diff --git a/platform/commonUI/dialog/test/DialogServiceSpec.js b/platform/commonUI/dialog/test/DialogServiceSpec.js new file mode 100644 index 0000000000..98d91a618f --- /dev/null +++ b/platform/commonUI/dialog/test/DialogServiceSpec.js @@ -0,0 +1,31 @@ +/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/ + +/** + * MCTIncudeSpec. Created by vwoeltje on 11/6/14. + */ +define( + ["../src/DialogService"], + function (DialogService) { + "use strict"; + + describe("The dialog service", function () { + + it("adds an overlay when user input is requested", function () { + + }); + + it("allows user input to be canceled", function () { + + }); + + it("passes back the result of user input when confirmed", function () { + + }); + + it("logs a warning when a dialog is already showing", function () { + + }); + + }); + } +); \ No newline at end of file diff --git a/platform/commonUI/dialog/test/OverlayServiceSpec.js b/platform/commonUI/dialog/test/OverlayServiceSpec.js new file mode 100644 index 0000000000..ecfccb5937 --- /dev/null +++ b/platform/commonUI/dialog/test/OverlayServiceSpec.js @@ -0,0 +1,23 @@ +/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/ + +/** + * MCTIncudeSpec. Created by vwoeltje on 11/6/14. + */ +define( + ["../src/OverlayService"], + function (OverlayService) { + "use strict"; + + describe("The dialog service", function () { + + it("prepends an mct-include to create overlays", function () { + + }); + + it("removes the prepended element on request", function () { + + }); + + }); + } +); \ No newline at end of file diff --git a/platform/commonUI/dialog/test/suite.json b/platform/commonUI/dialog/test/suite.json new file mode 100644 index 0000000000..4cf37af9ae --- /dev/null +++ b/platform/commonUI/dialog/test/suite.json @@ -0,0 +1,4 @@ +[ + "DialogService", + "OverlayService" +] \ No newline at end of file