From ffc1968ebeabcdd264510b3ac73f1c420541c7f2 Mon Sep 17 00:00:00 2001 From: jimenezzz Date: Tue, 10 May 2022 23:36:08 -0500 Subject: [PATCH] tests --- reports/ut_report.xml | 28 ++++++++++++++++--- .../caracteristicas-lista.component.spec.ts | 16 +++++++++++ .../clientes-lista.component.spec.ts | 16 +++++++++++ .../condiciones-lista.component.spec.ts | 16 +++++++++++ .../expedicion-card.component.spec.ts | 16 +++++++++++ .../expedicion-galeria.component.spec.ts | 16 +++++++++++ .../expedicion-lista.component.spec.ts | 16 +++++++++++ .../filtro/filtro.component.spec.ts | 16 +++++++++++ .../mapa-card/mapa-card.component.spec.ts | 16 +++++++++++ .../proveedor-card.component.spec.ts | 16 +++++++++++ .../seguro-card/seguro-card.component.spec.ts | 16 +++++++++++ .../expedicion-detalle.component.spec.ts | 16 +++++++++++ .../expediciones.component.spec.ts | 16 +++++++++++ src/app/home/home.component.spec.ts | 16 +++++++++++ .../itinerario-detalle.component.spec.ts | 16 +++++++++++ .../proveedores/proveedores.component.spec.ts | 16 +++++++++++ .../recomendacion-detalle.component.spec.ts | 16 +++++++++++ .../seguro-detalle.component.spec.ts | 16 +++++++++++ src/app/seguros/seguros.component.spec.ts | 16 +++++++++++ 19 files changed, 312 insertions(+), 4 deletions(-) create mode 100644 src/app/components/caracteristicas-lista/caracteristicas-lista.component.spec.ts create mode 100644 src/app/components/clientes-lista/clientes-lista.component.spec.ts create mode 100644 src/app/components/condiciones-lista/condiciones-lista.component.spec.ts create mode 100644 src/app/components/expedicion-card/expedicion-card.component.spec.ts create mode 100644 src/app/components/expedicion-galeria/expedicion-galeria.component.spec.ts create mode 100644 src/app/components/expedicion-lista/expedicion-lista.component.spec.ts create mode 100644 src/app/components/filtro/filtro.component.spec.ts create mode 100644 src/app/components/mapa-card/mapa-card.component.spec.ts create mode 100644 src/app/components/proveedor-card/proveedor-card.component.spec.ts create mode 100644 src/app/components/seguro-card/seguro-card.component.spec.ts create mode 100644 src/app/expedicion-detalle/expedicion-detalle.component.spec.ts create mode 100644 src/app/expediciones/expediciones.component.spec.ts create mode 100644 src/app/home/home.component.spec.ts create mode 100644 src/app/itinerario-detalle/itinerario-detalle.component.spec.ts create mode 100644 src/app/proveedores/proveedores.component.spec.ts create mode 100644 src/app/recomendacion-detalle/recomendacion-detalle.component.spec.ts create mode 100644 src/app/seguro-detalle/seguro-detalle.component.spec.ts create mode 100644 src/app/seguros/seguros.component.spec.ts diff --git a/reports/ut_report.xml b/reports/ut_report.xml index 1ff0f72..7c17fb2 100644 --- a/reports/ut_report.xml +++ b/reports/ut_report.xml @@ -1,10 +1,30 @@ + + + - - - + + + - + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/app/components/caracteristicas-lista/caracteristicas-lista.component.spec.ts b/src/app/components/caracteristicas-lista/caracteristicas-lista.component.spec.ts new file mode 100644 index 0000000..940a9fb --- /dev/null +++ b/src/app/components/caracteristicas-lista/caracteristicas-lista.component.spec.ts @@ -0,0 +1,16 @@ +import {TestBed } from '@angular/core/testing'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { CaracteristicasListaComponent } from './caracteristicas-lista.component'; + +describe('ProveedorDetalleComponent', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + }); + }); + + it('should create', () => { + expect(CaracteristicasListaComponent).toBeTruthy(); + }); + +}); diff --git a/src/app/components/clientes-lista/clientes-lista.component.spec.ts b/src/app/components/clientes-lista/clientes-lista.component.spec.ts new file mode 100644 index 0000000..4cf8526 --- /dev/null +++ b/src/app/components/clientes-lista/clientes-lista.component.spec.ts @@ -0,0 +1,16 @@ +import {TestBed } from '@angular/core/testing'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { ClientesListaComponent } from './clientes-lista.component'; + +describe('ProveedorDetalleComponent', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + }); + }); + + it('should create', () => { + expect(ClientesListaComponent).toBeTruthy(); + }); + +}); diff --git a/src/app/components/condiciones-lista/condiciones-lista.component.spec.ts b/src/app/components/condiciones-lista/condiciones-lista.component.spec.ts new file mode 100644 index 0000000..2a1d64d --- /dev/null +++ b/src/app/components/condiciones-lista/condiciones-lista.component.spec.ts @@ -0,0 +1,16 @@ +import {TestBed } from '@angular/core/testing'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { CondicionesListaComponent } from './condiciones-lista.component'; + +describe('ProveedorDetalleComponent', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + }); + }); + + it('should create', () => { + expect(CondicionesListaComponent).toBeTruthy(); + }); + +}); diff --git a/src/app/components/expedicion-card/expedicion-card.component.spec.ts b/src/app/components/expedicion-card/expedicion-card.component.spec.ts new file mode 100644 index 0000000..80a4e44 --- /dev/null +++ b/src/app/components/expedicion-card/expedicion-card.component.spec.ts @@ -0,0 +1,16 @@ +import {TestBed } from '@angular/core/testing'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { ExpedicionCardComponent } from './expedicion-card.component'; + +describe('ProveedorDetalleComponent', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + }); + }); + + it('should create', () => { + expect(ExpedicionCardComponent).toBeTruthy(); + }); + +}); diff --git a/src/app/components/expedicion-galeria/expedicion-galeria.component.spec.ts b/src/app/components/expedicion-galeria/expedicion-galeria.component.spec.ts new file mode 100644 index 0000000..2e62b77 --- /dev/null +++ b/src/app/components/expedicion-galeria/expedicion-galeria.component.spec.ts @@ -0,0 +1,16 @@ +import {TestBed } from '@angular/core/testing'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { ExpedicionGaleriaComponent } from './expedicion-galeria.component'; + +describe('ProveedorDetalleComponent', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + }); + }); + + it('should create', () => { + expect(ExpedicionGaleriaComponent).toBeTruthy(); + }); + +}); diff --git a/src/app/components/expedicion-lista/expedicion-lista.component.spec.ts b/src/app/components/expedicion-lista/expedicion-lista.component.spec.ts new file mode 100644 index 0000000..5555839 --- /dev/null +++ b/src/app/components/expedicion-lista/expedicion-lista.component.spec.ts @@ -0,0 +1,16 @@ +import {TestBed } from '@angular/core/testing'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { ExpedicionListaComponent } from './expedicion-lista.component'; + +describe('ProveedorDetalleComponent', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + }); + }); + + it('should create', () => { + expect(ExpedicionListaComponent).toBeTruthy(); + }); + +}); diff --git a/src/app/components/filtro/filtro.component.spec.ts b/src/app/components/filtro/filtro.component.spec.ts new file mode 100644 index 0000000..721e63a --- /dev/null +++ b/src/app/components/filtro/filtro.component.spec.ts @@ -0,0 +1,16 @@ +import {TestBed } from '@angular/core/testing'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { FiltroComponent } from './filtro.component'; + +describe('ProveedorDetalleComponent', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + }); + }); + + it('should create', () => { + expect(FiltroComponent).toBeTruthy(); + }); + +}); diff --git a/src/app/components/mapa-card/mapa-card.component.spec.ts b/src/app/components/mapa-card/mapa-card.component.spec.ts new file mode 100644 index 0000000..00474ba --- /dev/null +++ b/src/app/components/mapa-card/mapa-card.component.spec.ts @@ -0,0 +1,16 @@ +import {TestBed } from '@angular/core/testing'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { MapaCardComponent } from './mapa-card.component'; + +describe('ProveedorDetalleComponent', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + }); + }); + + it('should create', () => { + expect(MapaCardComponent).toBeTruthy(); + }); + +}); diff --git a/src/app/components/proveedor-card/proveedor-card.component.spec.ts b/src/app/components/proveedor-card/proveedor-card.component.spec.ts new file mode 100644 index 0000000..4c3f8b9 --- /dev/null +++ b/src/app/components/proveedor-card/proveedor-card.component.spec.ts @@ -0,0 +1,16 @@ +import {TestBed } from '@angular/core/testing'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { ProveedorCardComponent } from './proveedor-card.component'; + +describe('ProveedorDetalleComponent', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + }); + }); + + it('should create', () => { + expect(ProveedorCardComponent).toBeTruthy(); + }); + +}); diff --git a/src/app/components/seguro-card/seguro-card.component.spec.ts b/src/app/components/seguro-card/seguro-card.component.spec.ts new file mode 100644 index 0000000..742ccfa --- /dev/null +++ b/src/app/components/seguro-card/seguro-card.component.spec.ts @@ -0,0 +1,16 @@ +import {TestBed } from '@angular/core/testing'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { SeguroCardComponent } from './seguro-card.component'; + +describe('ProveedorDetalleComponent', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + }); + }); + + it('should create', () => { + expect(SeguroCardComponent).toBeTruthy(); + }); + +}); diff --git a/src/app/expedicion-detalle/expedicion-detalle.component.spec.ts b/src/app/expedicion-detalle/expedicion-detalle.component.spec.ts new file mode 100644 index 0000000..019f154 --- /dev/null +++ b/src/app/expedicion-detalle/expedicion-detalle.component.spec.ts @@ -0,0 +1,16 @@ +import {TestBed } from '@angular/core/testing'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { ExpedicionDetalleComponent } from './expedicion-detalle.component'; + +describe('ProveedorDetalleComponent', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + }); + }); + + it('should create', () => { + expect(ExpedicionDetalleComponent).toBeTruthy(); + }); + +}); diff --git a/src/app/expediciones/expediciones.component.spec.ts b/src/app/expediciones/expediciones.component.spec.ts new file mode 100644 index 0000000..541dedc --- /dev/null +++ b/src/app/expediciones/expediciones.component.spec.ts @@ -0,0 +1,16 @@ +import {TestBed } from '@angular/core/testing'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { ExpedicionesComponent } from './expediciones.component'; + +describe('ProveedorDetalleComponent', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + }); + }); + + it('should create', () => { + expect(ExpedicionesComponent).toBeTruthy(); + }); + +}); diff --git a/src/app/home/home.component.spec.ts b/src/app/home/home.component.spec.ts new file mode 100644 index 0000000..43c4686 --- /dev/null +++ b/src/app/home/home.component.spec.ts @@ -0,0 +1,16 @@ +import {TestBed } from '@angular/core/testing'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { HomeComponent } from './home.component'; + +describe('ProveedorDetalleComponent', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + }); + }); + + it('should create', () => { + expect(HomeComponent).toBeTruthy(); + }); + +}); diff --git a/src/app/itinerario-detalle/itinerario-detalle.component.spec.ts b/src/app/itinerario-detalle/itinerario-detalle.component.spec.ts new file mode 100644 index 0000000..f422b84 --- /dev/null +++ b/src/app/itinerario-detalle/itinerario-detalle.component.spec.ts @@ -0,0 +1,16 @@ +import {TestBed } from '@angular/core/testing'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { ItinerarioDetalleComponent } from './itinerario-detalle.component'; + +describe('ProveedorDetalleComponent', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + }); + }); + + it('should create', () => { + expect(ItinerarioDetalleComponent).toBeTruthy(); + }); + +}); diff --git a/src/app/proveedores/proveedores.component.spec.ts b/src/app/proveedores/proveedores.component.spec.ts new file mode 100644 index 0000000..9d06a96 --- /dev/null +++ b/src/app/proveedores/proveedores.component.spec.ts @@ -0,0 +1,16 @@ +import {TestBed } from '@angular/core/testing'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { ProveedoresComponent } from './proveedores.component'; + +describe('ProveedorDetalleComponent', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + }); + }); + + it('should create', () => { + expect(ProveedoresComponent).toBeTruthy(); + }); + +}); diff --git a/src/app/recomendacion-detalle/recomendacion-detalle.component.spec.ts b/src/app/recomendacion-detalle/recomendacion-detalle.component.spec.ts new file mode 100644 index 0000000..909cf5a --- /dev/null +++ b/src/app/recomendacion-detalle/recomendacion-detalle.component.spec.ts @@ -0,0 +1,16 @@ +import {TestBed } from '@angular/core/testing'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { RecomendacionDetalleComponent } from './recomendacion-detalle.component'; + +describe('ProveedorDetalleComponent', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + }); + }); + + it('should create', () => { + expect(RecomendacionDetalleComponent).toBeTruthy(); + }); + +}); diff --git a/src/app/seguro-detalle/seguro-detalle.component.spec.ts b/src/app/seguro-detalle/seguro-detalle.component.spec.ts new file mode 100644 index 0000000..7a74254 --- /dev/null +++ b/src/app/seguro-detalle/seguro-detalle.component.spec.ts @@ -0,0 +1,16 @@ +import {TestBed } from '@angular/core/testing'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { SeguroDetalleComponent } from './seguro-detalle.component'; + +describe('ProveedorDetalleComponent', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + }); + }); + + it('should create', () => { + expect(SeguroDetalleComponent).toBeTruthy(); + }); + +}); diff --git a/src/app/seguros/seguros.component.spec.ts b/src/app/seguros/seguros.component.spec.ts new file mode 100644 index 0000000..250e3a5 --- /dev/null +++ b/src/app/seguros/seguros.component.spec.ts @@ -0,0 +1,16 @@ +import {TestBed } from '@angular/core/testing'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { SegurosComponent } from './seguros.component'; + +describe('ProveedorDetalleComponent', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + }); + }); + + it('should create', () => { + expect(SegurosComponent).toBeTruthy(); + }); + +});