Steven Burrows | 202034f | 2017-08-11 12:08:01 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2017-present Open Networking Foundation |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | /* |
| 18 | ONOS GUI -- Settings Controller - Unit Tests |
| 19 | */ |
| 20 | describe('Controller: OvSettingsCtrl', function () { |
| 21 | |
| 22 | var $scope, $controller, createController; |
| 23 | |
| 24 | beforeEach(module('ovSettings', 'onosRemote', 'onosLayer', 'onosSvg', |
| 25 | 'onosNav', 'ngRoute', 'onosWidget', 'onosMast')); |
| 26 | |
| 27 | beforeEach(inject(function ($rootScope, _$controller_) { |
| 28 | $scope = $rootScope.$new(); |
| 29 | $controller = _$controller_; |
| 30 | |
| 31 | createController = function () { |
| 32 | return $controller('OvSettingsCtrl', { |
| 33 | '$scope': $scope, |
| 34 | }); |
| 35 | }; |
| 36 | })); |
| 37 | |
| 38 | it('should create controller', function () { |
| 39 | var controller = createController(); |
| 40 | }); |
| 41 | |
| 42 | }); |