59 lines
1.2 KiB
TypeScript
59 lines
1.2 KiB
TypeScript
|
import { DockerfilePathSelectComponent } from './dockerfile-path-select.component';
|
||
|
|
||
|
|
||
|
describe("DockerfilePathSelectComponent", () => {
|
||
|
var component: DockerfilePathSelectComponent;
|
||
|
var currentPath: string;
|
||
|
var isValidPath: boolean;
|
||
|
var paths: string[];
|
||
|
var supportsFullListing: boolean;
|
||
|
|
||
|
beforeEach(() => {
|
||
|
component = new DockerfilePathSelectComponent();
|
||
|
});
|
||
|
|
||
|
describe("$onChanges", () => {
|
||
|
|
||
|
it("sets valid path flag to true if current path is valid", () => {
|
||
|
|
||
|
});
|
||
|
|
||
|
it("sets valid path flag to false if current path is invalid", () => {
|
||
|
|
||
|
});
|
||
|
});
|
||
|
|
||
|
describe("setPath", () => {
|
||
|
|
||
|
it("sets current path to given path", () => {
|
||
|
|
||
|
});
|
||
|
|
||
|
it("sets selected path to null", () => {
|
||
|
|
||
|
});
|
||
|
|
||
|
it("sets valid path flag to true if given path is valid", () => {
|
||
|
|
||
|
});
|
||
|
|
||
|
it("sets valid path flag to false if given path is invalid", () => {
|
||
|
|
||
|
});
|
||
|
});
|
||
|
|
||
|
describe("setCurrentPath", () => {
|
||
|
|
||
|
it("sets current path and selected path to given path", () => {
|
||
|
|
||
|
});
|
||
|
|
||
|
it("sets valid path flag to true if given path is valid", () => {
|
||
|
|
||
|
});
|
||
|
|
||
|
it("sets valid path flag to false if given path is invalid", () => {
|
||
|
|
||
|
});
|
||
|
});
|
||
|
});
|