diff --git a/cmd/pippi/frontend/angular.json b/cmd/pippi/frontend/angular.json index a5746ee..13a64ef 100644 --- a/cmd/pippi/frontend/angular.json +++ b/cmd/pippi/frontend/angular.json @@ -5,7 +5,11 @@ "projects": { "my-app": { "projectType": "application", - "schematics": {}, + "schematics": { + "@schematics/angular:component": { + "spec": false + } + }, "root": "", "sourceRoot": "src", "prefix": "app", diff --git a/cmd/pippi/frontend/package.json.md5 b/cmd/pippi/frontend/package.json.md5 deleted file mode 100644 index d9f5270..0000000 --- a/cmd/pippi/frontend/package.json.md5 +++ /dev/null @@ -1 +0,0 @@ -352df879e7adbc58556a1c36e4277ec9 \ No newline at end of file diff --git a/cmd/pippi/frontend/src/app/app.component.spec.ts b/cmd/pippi/frontend/src/app/app.component.spec.ts deleted file mode 100644 index 3fe58ce..0000000 --- a/cmd/pippi/frontend/src/app/app.component.spec.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { TestBed, async } from '@angular/core/testing'; -import { RouterTestingModule } from '@angular/router/testing'; -import { AppComponent } from './app.component'; - -describe('AppComponent', () => { - beforeEach(async(() => { - TestBed.configureTestingModule({ - imports: [ - RouterTestingModule - ], - declarations: [ - AppComponent - ], - }).compileComponents(); - })); - - it('should create the app', () => { - const fixture = TestBed.createComponent(AppComponent); - const app = fixture.debugElement.componentInstance; - expect(app).toBeTruthy(); - }); - - it(`should have as title 'my-app'`, () => { - const fixture = TestBed.createComponent(AppComponent); - const app = fixture.debugElement.componentInstance; - expect(app.title).toEqual('my-app'); - }); - - it('should render title in a h1 tag', () => { - const fixture = TestBed.createComponent(AppComponent); - fixture.detectChanges(); - const compiled = fixture.debugElement.nativeElement; - expect(compiled.querySelector('h1').textContent).toContain('Welcome to my-app!'); - }); -}); diff --git a/cmd/pippi/frontend/src/app/binary.service.spec.ts b/cmd/pippi/frontend/src/app/binary.service.spec.ts deleted file mode 100644 index 95e4712..0000000 --- a/cmd/pippi/frontend/src/app/binary.service.spec.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { TestBed } from '@angular/core/testing'; - -import { BinaryService } from './binary.service'; - -describe('BinaryService', () => { - beforeEach(() => TestBed.configureTestingModule({})); - - it('should be created', () => { - const service: BinaryService = TestBed.get(BinaryService); - expect(service).toBeTruthy(); - }); -}); diff --git a/cmd/pippi/frontend/src/app/control-bar/control-bar.component.spec.ts b/cmd/pippi/frontend/src/app/control-bar/control-bar.component.spec.ts deleted file mode 100644 index 7c292e6..0000000 --- a/cmd/pippi/frontend/src/app/control-bar/control-bar.component.spec.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - -import { ControlBarComponent } from './control-bar.component'; - -describe('ControlBarComponent', () => { - let component: ControlBarComponent; - let fixture: ComponentFixture; - - beforeEach(async(() => { - TestBed.configureTestingModule({ - declarations: [ ControlBarComponent ] - }) - .compileComponents(); - })); - - beforeEach(() => { - fixture = TestBed.createComponent(ControlBarComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -}); diff --git a/cmd/pippi/frontend/src/app/disassembly.service.spec.ts b/cmd/pippi/frontend/src/app/disassembly.service.spec.ts deleted file mode 100644 index 80594ac..0000000 --- a/cmd/pippi/frontend/src/app/disassembly.service.spec.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { TestBed } from '@angular/core/testing'; - -import { DisassemblyService } from './disassembly.service'; - -describe('DisassemblyService', () => { - beforeEach(() => TestBed.configureTestingModule({})); - - it('should be created', () => { - const service: DisassemblyService = TestBed.get(DisassemblyService); - expect(service).toBeTruthy(); - }); -}); diff --git a/cmd/pippi/frontend/src/app/disassembly/disassembly.component.spec.ts b/cmd/pippi/frontend/src/app/disassembly/disassembly.component.spec.ts deleted file mode 100644 index 5b4878d..0000000 --- a/cmd/pippi/frontend/src/app/disassembly/disassembly.component.spec.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - -import { DisassemblyComponent } from './disassembly.component'; - -describe('DisassemblyComponent', () => { - let component: DisassemblyComponent; - let fixture: ComponentFixture; - - beforeEach(async(() => { - TestBed.configureTestingModule({ - declarations: [ DisassemblyComponent ] - }) - .compileComponents(); - })); - - beforeEach(() => { - fixture = TestBed.createComponent(DisassemblyComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -}); diff --git a/cmd/pippi/frontend/src/app/hexdump/hexdump.component.spec.ts b/cmd/pippi/frontend/src/app/hexdump/hexdump.component.spec.ts deleted file mode 100644 index 17b8118..0000000 --- a/cmd/pippi/frontend/src/app/hexdump/hexdump.component.spec.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - -import { HexdumpComponent } from './hexdump.component'; - -describe('HexdumpComponent', () => { - let component: HexdumpComponent; - let fixture: ComponentFixture; - - beforeEach(async(() => { - TestBed.configureTestingModule({ - declarations: [ HexdumpComponent ] - }) - .compileComponents(); - })); - - beforeEach(() => { - fixture = TestBed.createComponent(HexdumpComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -}); diff --git a/cmd/pippi/frontend/src/app/id.service.spec.ts b/cmd/pippi/frontend/src/app/id.service.spec.ts deleted file mode 100644 index 9a441d3..0000000 --- a/cmd/pippi/frontend/src/app/id.service.spec.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { TestBed } from '@angular/core/testing'; - -import { IdService } from './id.service'; - -describe('IdService', () => { - beforeEach(() => TestBed.configureTestingModule({})); - - it('should be created', () => { - const service: IdService = TestBed.get(IdService); - expect(service).toBeTruthy(); - }); -}); diff --git a/cmd/pippi/frontend/src/app/loader.service.spec.ts b/cmd/pippi/frontend/src/app/loader.service.spec.ts deleted file mode 100644 index ff3167a..0000000 --- a/cmd/pippi/frontend/src/app/loader.service.spec.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { TestBed } from '@angular/core/testing'; - -import { LoaderService } from './loader.service'; - -describe('LoaderService', () => { - beforeEach(() => TestBed.configureTestingModule({})); - - it('should be created', () => { - const service: LoaderService = TestBed.get(LoaderService); - expect(service).toBeTruthy(); - }); -}); diff --git a/cmd/pippi/frontend/src/app/loader/loader.component.spec.ts b/cmd/pippi/frontend/src/app/loader/loader.component.spec.ts deleted file mode 100644 index 35adf49..0000000 --- a/cmd/pippi/frontend/src/app/loader/loader.component.spec.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - -import { LoaderComponent } from './loader.component'; - -describe('LoaderComponent', () => { - let component: LoaderComponent; - let fixture: ComponentFixture; - - beforeEach(async(() => { - TestBed.configureTestingModule({ - declarations: [ LoaderComponent ] - }) - .compileComponents(); - })); - - beforeEach(() => { - fixture = TestBed.createComponent(LoaderComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -}); diff --git a/cmd/pippi/frontend/src/app/select-id/select-id.component.spec.ts b/cmd/pippi/frontend/src/app/select-id/select-id.component.spec.ts deleted file mode 100644 index 826ac3e..0000000 --- a/cmd/pippi/frontend/src/app/select-id/select-id.component.spec.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - -import { SelectIdComponent } from './select-id.component'; - -describe('SelectIdComponent', () => { - let component: SelectIdComponent; - let fixture: ComponentFixture; - - beforeEach(async(() => { - TestBed.configureTestingModule({ - declarations: [ SelectIdComponent ] - }) - .compileComponents(); - })); - - beforeEach(() => { - fixture = TestBed.createComponent(SelectIdComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -}); diff --git a/cmd/pippi/frontend/src/app/selection.service.spec.ts b/cmd/pippi/frontend/src/app/selection.service.spec.ts deleted file mode 100644 index c8b2bd5..0000000 --- a/cmd/pippi/frontend/src/app/selection.service.spec.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { TestBed } from '@angular/core/testing'; - -import { SelectionService } from './selection.service'; - -describe('SelectionService', () => { - beforeEach(() => TestBed.configureTestingModule({})); - - it('should be created', () => { - const service: SelectionService = TestBed.get(SelectionService); - expect(service).toBeTruthy(); - }); -}); diff --git a/cmd/pippi/frontend/src/app/selection.spec.ts b/cmd/pippi/frontend/src/app/selection.spec.ts deleted file mode 100644 index d62c211..0000000 --- a/cmd/pippi/frontend/src/app/selection.spec.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Selection } from './selection'; - -describe('Selection', () => { - it('should create an instance', () => { - expect(new Selection()).toBeTruthy(); - }); -}); diff --git a/cmd/pippi/frontend/src/app/strings.service.spec.ts b/cmd/pippi/frontend/src/app/strings.service.spec.ts deleted file mode 100644 index 848edeb..0000000 --- a/cmd/pippi/frontend/src/app/strings.service.spec.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { TestBed } from '@angular/core/testing'; - -import { StringsService } from './strings.service'; - -describe('StringsService', () => { - beforeEach(() => TestBed.configureTestingModule({})); - - it('should be created', () => { - const service: StringsService = TestBed.get(StringsService); - expect(service).toBeTruthy(); - }); -}); diff --git a/cmd/pippi/frontend/src/app/strings/strings.component.spec.ts b/cmd/pippi/frontend/src/app/strings/strings.component.spec.ts deleted file mode 100644 index aa117b8..0000000 --- a/cmd/pippi/frontend/src/app/strings/strings.component.spec.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - -import { StringsComponent } from './strings.component'; - -describe('StringsComponent', () => { - let component: StringsComponent; - let fixture: ComponentFixture; - - beforeEach(async(() => { - TestBed.configureTestingModule({ - declarations: [ StringsComponent ] - }) - .compileComponents(); - })); - - beforeEach(() => { - fixture = TestBed.createComponent(StringsComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -}); diff --git a/cmd/pippi/frontend/src/app/upload/upload.component.spec.ts b/cmd/pippi/frontend/src/app/upload/upload.component.spec.ts deleted file mode 100644 index 291982e..0000000 --- a/cmd/pippi/frontend/src/app/upload/upload.component.spec.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - -import { UploadComponent } from './upload.component'; - -describe('UploadComponent', () => { - let component: UploadComponent; - let fixture: ComponentFixture; - - beforeEach(async(() => { - TestBed.configureTestingModule({ - declarations: [ UploadComponent ] - }) - .compileComponents(); - })); - - beforeEach(() => { - fixture = TestBed.createComponent(UploadComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -});