mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-17 08:46:22 +10:00
[임대현] [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:
@@ -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');
|
||||
}));
|
||||
});
|
||||
@@ -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);
|
||||
});
|
||||
|
||||
});
|
||||
@@ -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);
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user