Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Simon Hunt
2015-02-03 20:47:29 -0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5064c2223ec235740166d126017ef33cf3f37bb9
5064c222
1 parent
ac4c6f73
GUI -- fixed broken unit tests.
Change-Id: I6563d9965d1d4fd47b0302b090f09431eb25a49a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
web/gui/src/main/webapp/tests/app/fw/svg/svgUtil-spec.js
web/gui/src/main/webapp/tests/app/view/topo/topoForce-spec.js
web/gui/src/main/webapp/tests/app/view/topo/topoInst-spec.js
web/gui/src/main/webapp/tests/app/fw/svg/svgUtil-spec.js
View file @
5064c22
...
...
@@ -41,7 +41,7 @@ describe('factory: fw/svg/svgUtil.js', function() {
it
(
'should define api functions'
,
function
()
{
expect
(
fs
.
areFunctions
(
sus
,
[
'createDragBehavior'
,
'loadGlow'
,
'cat7'
,
'translate'
,
'stripPx'
,
'makeVisible'
'makeVisible'
,
'safeId'
])).
toBeTruthy
();
});
...
...
web/gui/src/main/webapp/tests/app/view/topo/topoForce-spec.js
View file @
5064c22
...
...
@@ -20,7 +20,7 @@
describe
(
'factory: view/topo/topoForce.js'
,
function
()
{
var
$log
,
fs
,
tfs
;
beforeEach
(
module
(
'ovTopo'
,
'onosUtil'
));
beforeEach
(
module
(
'ovTopo'
,
'onosUtil'
,
'onosLayer'
));
beforeEach
(
inject
(
function
(
_$log_
,
FnService
,
TopoForceService
)
{
$log
=
_$log_
;
...
...
@@ -34,7 +34,8 @@ describe('factory: view/topo/topoForce.js', function() {
it
(
'should define api functions'
,
function
()
{
expect
(
fs
.
areFunctions
(
tfs
,
[
'initForce'
,
'resize'
'initForce'
,
'resize'
,
'updateDeviceColors'
,
'addDevice'
,
'updateDevice'
])).
toBeTruthy
();
});
...
...
web/gui/src/main/webapp/tests/app/view/topo/topoInst-spec.js
View file @
5064c22
...
...
@@ -35,7 +35,8 @@ describe('factory: view/topo/topoInst.js', function() {
it
(
'should define api functions'
,
function
()
{
expect
(
fs
.
areFunctions
(
tis
,
[
'initInst'
,
'destroyInst'
,
'addInstance'
,
'updateInstance'
,
'removeInstance'
'addInstance'
,
'updateInstance'
,
'removeInstance'
,
'isVisible'
,
'show'
,
'hide'
])).
toBeTruthy
();
});
...
...
Please
register
or
login
to post a comment