From 8ce693af0ad78fb30afd97c6c0bb4af4e9802f49 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Tue, 16 Dec 2014 13:47:25 -0800 Subject: [PATCH] [Indicators] Add skeleton specs Add skeleton specs for the bottom bar controller (introduced to handle display of indicators introduced as extensions) and the Couch indicator (introduced to exercise the above, and to report connection status relative to the Couch database.) WTD-608. --- .../general/test/BottomBarControllerSpec.js | 13 +++++++++++++ platform/commonUI/general/test/suite.json | 1 + platform/persistence/test/CouchIndicatorSpec.js | 12 ++++++++++++ platform/persistence/test/suite.json | 1 + 4 files changed, 27 insertions(+) create mode 100644 platform/commonUI/general/test/BottomBarControllerSpec.js create mode 100644 platform/persistence/test/CouchIndicatorSpec.js diff --git a/platform/commonUI/general/test/BottomBarControllerSpec.js b/platform/commonUI/general/test/BottomBarControllerSpec.js new file mode 100644 index 0000000000..1f228e0628 --- /dev/null +++ b/platform/commonUI/general/test/BottomBarControllerSpec.js @@ -0,0 +1,13 @@ +/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/ + +define( + ["../src/BottomBarController"], + function (BottomBarController) { + "use strict"; + + describe("The bottom bar controller", function () { + var testIndicators, + controller; + }); + } +); \ No newline at end of file diff --git a/platform/commonUI/general/test/suite.json b/platform/commonUI/general/test/suite.json index 7d1f773796..590628ed91 100644 --- a/platform/commonUI/general/test/suite.json +++ b/platform/commonUI/general/test/suite.json @@ -1,5 +1,6 @@ [ "ActionGroupController", + "BottomBarController", "ClickAwayController", "ContextMenuController", "MCTContainer", diff --git a/platform/persistence/test/CouchIndicatorSpec.js b/platform/persistence/test/CouchIndicatorSpec.js new file mode 100644 index 0000000000..855e20c892 --- /dev/null +++ b/platform/persistence/test/CouchIndicatorSpec.js @@ -0,0 +1,12 @@ +/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/ + +define( + ["../src/CouchIndicator"], + function (CouchIndicator) { + "use strict"; + + describe("The CouchDB status indicator", function () { + + }); + } +); \ No newline at end of file diff --git a/platform/persistence/test/suite.json b/platform/persistence/test/suite.json index 9df76a4c55..9a5621116d 100644 --- a/platform/persistence/test/suite.json +++ b/platform/persistence/test/suite.json @@ -1,4 +1,5 @@ [ "CouchDocument", + "CouchIndicator", "CouchPersistenceProvider" ] \ No newline at end of file