[임대현] [NOBTS] test scripts

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-web/trunk@3216 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Denny Lim
2014-01-27 07:50:55 +00:00
parent e993f1edbd
commit 4da924ff65
6 changed files with 112 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
'use strict';
describe('Directive: helixChart', function () {
// load the directive's module
beforeEach(module('pinpointApp'));
var element,
scope;
beforeEach(inject(function ($rootScope) {
scope = $rootScope.$new();
}));
it('should make hidden element visible', inject(function ($compile) {
element = angular.element('<helix-chart></helix-chart>');
element = $compile(element)(scope);
expect(element.text()).toBe('this is the helixChart directive');
}));
});
@@ -0,0 +1,20 @@
'use strict';
describe('Directive: sidebarTitle', function () {
// load the directive's module
beforeEach(module('pinpointApp'));
var element,
scope;
beforeEach(inject(function ($rootScope) {
scope = $rootScope.$new();
}));
it('should make hidden element visible', inject(function ($compile) {
element = angular.element('<sidebar-title></sidebar-title>');
element = $compile(element)(scope);
expect(element.text()).toBe('this is the sidebarTitle directive');
}));
});
+18
View File
@@ -0,0 +1,18 @@
'use strict';
describe('Service: filterConfig', function () {
// load the service's module
beforeEach(module('pinpointApp'));
// instantiate service
var filterConfig;
beforeEach(inject(function (_filterConfig_) {
filterConfig = _filterConfig_;
}));
it('should do something', function () {
expect(!!filterConfig).toBe(true);
});
});
@@ -0,0 +1,18 @@
'use strict';
describe('Service: filteredMapUtil', function () {
// load the service's module
beforeEach(module('pinpointApp'));
// instantiate service
var filteredMapUtil;
beforeEach(inject(function (_filteredMapUtil_) {
filteredMapUtil = _filteredMapUtil_;
}));
it('should do something', function () {
expect(!!filteredMapUtil).toBe(true);
});
});
+18
View File
@@ -0,0 +1,18 @@
'use strict';
describe('Service: helixChartVo', function () {
// load the service's module
beforeEach(module('pinpointApp'));
// instantiate service
var helixChartVo;
beforeEach(inject(function (_helixChartVo_) {
helixChartVo = _helixChartVo_;
}));
it('should do something', function () {
expect(!!helixChartVo).toBe(true);
});
});
@@ -0,0 +1,18 @@
'use strict';
describe('Service: SidebarTitleVo', function () {
// load the service's module
beforeEach(module('pinpointApp'));
// instantiate service
var SidebarTitleVo;
beforeEach(inject(function (_SidebarTitleVo_) {
SidebarTitleVo = _SidebarTitleVo_;
}));
it('should do something', function () {
expect(!!SidebarTitleVo).toBe(true);
});
});