From f11f26d23dabde24b0bcd67ac81b094aa89eb6c9 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Fri, 10 Nov 2017 15:43:35 -0800 Subject: Remove 'utils/test' Directory and update INFO utils/test has been migrated to the releng-testresults repo Change-Id: If14a30e6abed1424d1e00b0fae048b7d869ec99b Signed-off-by: Trevor Bramwell --- utils/test/reporting/pages/test/.jshintrc | 18 ----- utils/test/reporting/pages/test/karma.conf.js | 89 ---------------------- .../reporting/pages/test/spec/controllers/main.js | 23 ------ .../pages/test/spec/directives/mydirective.js | 20 ----- 4 files changed, 150 deletions(-) delete mode 100644 utils/test/reporting/pages/test/.jshintrc delete mode 100644 utils/test/reporting/pages/test/karma.conf.js delete mode 100644 utils/test/reporting/pages/test/spec/controllers/main.js delete mode 100644 utils/test/reporting/pages/test/spec/directives/mydirective.js (limited to 'utils/test/reporting/pages/test') diff --git a/utils/test/reporting/pages/test/.jshintrc b/utils/test/reporting/pages/test/.jshintrc deleted file mode 100644 index b2ce4eff4..000000000 --- a/utils/test/reporting/pages/test/.jshintrc +++ /dev/null @@ -1,18 +0,0 @@ -{ - "bitwise": true, - "browser": true, - "curly": true, - "eqeqeq": true, - "esnext": true, - "jasmine": true, - "latedef": true, - "noarg": true, - "node": true, - "strict": true, - "undef": true, - "unused": true, - "globals": { - "angular": false, - "inject": false - } -} diff --git a/utils/test/reporting/pages/test/karma.conf.js b/utils/test/reporting/pages/test/karma.conf.js deleted file mode 100644 index 5c2e79b9f..000000000 --- a/utils/test/reporting/pages/test/karma.conf.js +++ /dev/null @@ -1,89 +0,0 @@ -// Karma configuration -// Generated on 2016-12-19 - -module.exports = function(config) { - 'use strict'; - - config.set({ - // enable / disable watching file and executing tests whenever any file changes - autoWatch: true, - - // base path, that will be used to resolve files and exclude - basePath: '../', - - // testing framework to use (jasmine/mocha/qunit/...) - // as well as any additional frameworks (requirejs/chai/sinon/...) - frameworks: [ - 'jasmine' - ], - - // list of files / patterns to load in the browser - files: [ - // bower:js - 'bower_components/jquery/dist/jquery.js', - 'bower_components/angular/angular.js', - 'bower_components/bootstrap/dist/js/bootstrap.js', - 'bower_components/angular-animate/angular-animate.js', - 'bower_components/jquery-slimscroll/jquery.slimscroll.js', - 'bower_components/jquery-slimscroll/jquery.slimscroll.min.js', - 'bower_components/metisMenu/dist/metisMenu.js', - 'bower_components/chosen/chosen.jquery.js', - 'bower_components/oclazyload/dist/ocLazyLoad.js', - 'bower_components/angular-bootstrap/ui-bootstrap-tpls.js', - 'bower_components/angular-ui-router/release/angular-ui-router.js', - 'bower_components/angular-resource/angular-resource.js', - 'bower_components/sifter/sifter.js', - 'bower_components/microplugin/src/microplugin.js', - 'bower_components/selectize/dist/js/selectize.js', - 'bower_components/angular-selectize2/dist/angular-selectize.js', - 'bower_components/angular-tooltips/dist/angular-tooltips.min.js', - 'bower_components/angular-mocks/angular-mocks.js', - // endbower - 'app/scripts/**/*.js', - 'test/mock/**/*.js', - 'test/spec/**/*.js' - ], - - // list of files / patterns to exclude - exclude: [ - ], - - // web server port - port: 8080, - - // Start these browsers, currently available: - // - Chrome - // - ChromeCanary - // - Firefox - // - Opera - // - Safari (only Mac) - // - PhantomJS - // - IE (only Windows) - browsers: [ - 'PhantomJS' - ], - - // Which plugins to enable - plugins: [ - 'karma-phantomjs-launcher', - 'karma-jasmine' - ], - - // Continuous Integration mode - // if true, it capture browsers, run tests and exit - singleRun: false, - - colors: true, - - // level of logging - // possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG - logLevel: config.LOG_INFO, - - // Uncomment the following lines if you are using grunt's server to run the tests - // proxies: { - // '/': 'http://localhost:9000/' - // }, - // URL root prevent conflicts with the site root - // urlRoot: '_karma_' - }); -}; diff --git a/utils/test/reporting/pages/test/spec/controllers/main.js b/utils/test/reporting/pages/test/spec/controllers/main.js deleted file mode 100644 index b92366db6..000000000 --- a/utils/test/reporting/pages/test/spec/controllers/main.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -describe('Controller: MainCtrl', function () { - - // load the controller's module - beforeEach(module('opnfvApp')); - - var MainCtrl, - scope; - - // Initialize the controller and a mock scope - beforeEach(inject(function ($controller, $rootScope) { - scope = $rootScope.$new(); - MainCtrl = $controller('MainCtrl', { - $scope: scope - // place here mocked dependencies - }); - })); - - it('should attach a list of awesomeThings to the scope', function () { - expect(MainCtrl.awesomeThings.length).toBe(3); - }); -}); diff --git a/utils/test/reporting/pages/test/spec/directives/mydirective.js b/utils/test/reporting/pages/test/spec/directives/mydirective.js deleted file mode 100644 index 598c9de4d..000000000 --- a/utils/test/reporting/pages/test/spec/directives/mydirective.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -describe('Directive: myDirective', function () { - - // load the directive's module - beforeEach(module('opnfvApp')); - - 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 myDirective directive'); - })); -}); -- cgit 1.2.3-korg