refactored DockerfilePathSelectComponent

This commit is contained in:
alecmerdler 2017-02-17 15:46:43 -08:00 committed by Joseph Schorr
parent 389a4cb1c4
commit 38e40665a7
8 changed files with 151 additions and 90 deletions

View file

@ -0,0 +1,59 @@
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", () => {
});
});
});