mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 22:17:49 +00:00
[Common UI] Add skeleton specs
Add skeleton specs for bundle platform/commonUI/general. WTD-574.
This commit is contained in:
parent
f6850ffc4f
commit
b026e313be
18
platform/commonUI/general/test/ActionGroupControllerSpec.js
Normal file
18
platform/commonUI/general/test/ActionGroupControllerSpec.js
Normal file
@ -0,0 +1,18 @@
|
||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||
|
||||
define(
|
||||
["../src/ActionGroupController"],
|
||||
function (ActionGroupController) {
|
||||
"use strict";
|
||||
|
||||
describe("The domain object provider", function () {
|
||||
var mockScope,
|
||||
controller;
|
||||
|
||||
beforeEach(function () {
|
||||
mockScope = jasmine.createSpyObj("$scope", ["$watch"]);
|
||||
controller = new ActionGroupController(mockScope);
|
||||
});
|
||||
});
|
||||
}
|
||||
);
|
11
platform/commonUI/general/test/ClickAwayControllerSpec.js
Normal file
11
platform/commonUI/general/test/ClickAwayControllerSpec.js
Normal file
@ -0,0 +1,11 @@
|
||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||
|
||||
define(
|
||||
["../src/ClickAwayController"],
|
||||
function (ClickAwayController) {
|
||||
"use strict";
|
||||
|
||||
describe("The domain object provider", function () {
|
||||
});
|
||||
}
|
||||
);
|
11
platform/commonUI/general/test/ContextMenuControllerSpec.js
Normal file
11
platform/commonUI/general/test/ContextMenuControllerSpec.js
Normal file
@ -0,0 +1,11 @@
|
||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||
|
||||
define(
|
||||
["../src/ContextMenuController"],
|
||||
function (ContextMenuController) {
|
||||
"use strict";
|
||||
|
||||
describe("The domain object provider", function () {
|
||||
});
|
||||
}
|
||||
);
|
11
platform/commonUI/general/test/MCTContainerSpec.js
Normal file
11
platform/commonUI/general/test/MCTContainerSpec.js
Normal file
@ -0,0 +1,11 @@
|
||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||
|
||||
define(
|
||||
["../src/MCTContainer"],
|
||||
function (MCTContainer) {
|
||||
"use strict";
|
||||
|
||||
describe("The mct-container directive", function () {
|
||||
});
|
||||
}
|
||||
);
|
11
platform/commonUI/general/test/ToggleControllerSpec.js
Normal file
11
platform/commonUI/general/test/ToggleControllerSpec.js
Normal file
@ -0,0 +1,11 @@
|
||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||
|
||||
define(
|
||||
["../src/ToggleController"],
|
||||
function (ToggleController) {
|
||||
"use strict";
|
||||
|
||||
describe("The toggle controller", function () {
|
||||
});
|
||||
}
|
||||
);
|
12
platform/commonUI/general/test/TreeNodeControllerSpec.js
Normal file
12
platform/commonUI/general/test/TreeNodeControllerSpec.js
Normal file
@ -0,0 +1,12 @@
|
||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||
|
||||
define(
|
||||
["../src/TreeNodeController"],
|
||||
function (TreeNodeController) {
|
||||
"use strict";
|
||||
|
||||
describe("The tree node controller", function () {
|
||||
|
||||
});
|
||||
}
|
||||
);
|
8
platform/commonUI/general/test/suite.json
Normal file
8
platform/commonUI/general/test/suite.json
Normal file
@ -0,0 +1,8 @@
|
||||
[
|
||||
"ActionGroupController",
|
||||
"ClickAwayController",
|
||||
"ContextMenuController",
|
||||
"MCTContainer",
|
||||
"ToggleController",
|
||||
"TreeNodeController"
|
||||
]
|
Loading…
Reference in New Issue
Block a user