blob: 53a7ecc73b30656d0e1f3fcef50a3dcb57ef62c4 [file] [log] [blame]
Sean Condon83775682018-05-27 18:59:59 +01001/*
2 * Copyright 2018-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 */
16import { async, ComponentFixture, TestBed } from '@angular/core/testing';
17import { ConsoleLoggerService } from '../../../../../app/consolelogger.service';
18import { LogService } from '../../../../../app/log.service';
19import { FlashComponent } from '../../../../../app/fw/layer/flash/flash.component';
20
21/**
22 * ONOS GUI -- Layer -- Flash Component - Unit Tests
23 */
24describe('FlashComponent', () => {
25 let log: LogService;
26
27 beforeEach(() => {
28 log = new ConsoleLoggerService();
29 TestBed.configureTestingModule({
30 declarations: [ FlashComponent ],
31 providers: [
32 { provide: LogService, useValue: log },
33 ]
34 });
35 });
36
37
38 it('should create', () => {
39 const fixture = TestBed.createComponent(FlashComponent);
40 const component = fixture.componentInstance;
41 expect(component).toBeTruthy();
42 });
43});