From 4da924ff6568edd56fec86296bb3e58162f68cf2 Mon Sep 17 00:00:00 2001 From: Denny Lim Date: Mon, 27 Jan 2014 07:50:55 +0000 Subject: [PATCH] =?UTF-8?q?[=EC=9E=84=EB=8C=80=ED=98=84]=20[NOBTS]=20test?= =?UTF-8?q?=20scripts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-web/trunk@3216 84d0f5b1-2673-498c-a247-62c4ff18d310 --- src/test/webapp/directives/helixchart.js | 20 ++++++++++++++++++++ src/test/webapp/directives/sidebartitle.js | 20 ++++++++++++++++++++ src/test/webapp/services/filterconfig.js | 18 ++++++++++++++++++ src/test/webapp/services/filteredmaputil.js | 18 ++++++++++++++++++ src/test/webapp/services/helixchartvo.js | 18 ++++++++++++++++++ src/test/webapp/services/sidebartitlevo.js | 18 ++++++++++++++++++ 6 files changed, 112 insertions(+) create mode 100644 src/test/webapp/directives/helixchart.js create mode 100644 src/test/webapp/directives/sidebartitle.js create mode 100644 src/test/webapp/services/filterconfig.js create mode 100644 src/test/webapp/services/filteredmaputil.js create mode 100644 src/test/webapp/services/helixchartvo.js create mode 100644 src/test/webapp/services/sidebartitlevo.js diff --git a/src/test/webapp/directives/helixchart.js b/src/test/webapp/directives/helixchart.js new file mode 100644 index 000000000..82e368818 --- /dev/null +++ b/src/test/webapp/directives/helixchart.js @@ -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(''); + element = $compile(element)(scope); + expect(element.text()).toBe('this is the helixChart directive'); + })); +}); diff --git a/src/test/webapp/directives/sidebartitle.js b/src/test/webapp/directives/sidebartitle.js new file mode 100644 index 000000000..b9428240c --- /dev/null +++ b/src/test/webapp/directives/sidebartitle.js @@ -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(''); + element = $compile(element)(scope); + expect(element.text()).toBe('this is the sidebarTitle directive'); + })); +}); diff --git a/src/test/webapp/services/filterconfig.js b/src/test/webapp/services/filterconfig.js new file mode 100644 index 000000000..451c17b0a --- /dev/null +++ b/src/test/webapp/services/filterconfig.js @@ -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); + }); + +}); diff --git a/src/test/webapp/services/filteredmaputil.js b/src/test/webapp/services/filteredmaputil.js new file mode 100644 index 000000000..716aede0d --- /dev/null +++ b/src/test/webapp/services/filteredmaputil.js @@ -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); + }); + +}); diff --git a/src/test/webapp/services/helixchartvo.js b/src/test/webapp/services/helixchartvo.js new file mode 100644 index 000000000..76eb61135 --- /dev/null +++ b/src/test/webapp/services/helixchartvo.js @@ -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); + }); + +}); diff --git a/src/test/webapp/services/sidebartitlevo.js b/src/test/webapp/services/sidebartitlevo.js new file mode 100644 index 000000000..9be65e3ec --- /dev/null +++ b/src/test/webapp/services/sidebartitlevo.js @@ -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); + }); + +});