Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jimenezzz committed May 11, 2022
1 parent a5d6703 commit ffc1968
Show file tree
Hide file tree
Showing 19 changed files with 312 additions and 4 deletions.
28 changes: 24 additions & 4 deletions reports/ut_report.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,30 @@
<testExecutions version="1">
<file path="src/app/seguros/seguros.component.spec.ts">
<testCase name="ProveedorDetalleComponent should create" duration="2"/>
</file>
<file path="src/app/app.component.spec.ts">
<testCase name="AppComponent should have as title 'museums-front'" duration="116"/>
<testCase name="AppComponent should create the app" duration="13"/>
<testCase name="AppComponent should render title" duration="29"/>
<testCase name="AppComponent should render title" duration="58"/>
<testCase name="AppComponent should have as title 'museums-front'" duration="8"/>
<testCase name="AppComponent should create the app" duration="5"/>
</file>
<file path="src/app/proveedor-detalle/proveedor-detalle.component.spec.ts">
<file path="src/app/seguros/seguros.component.spec.ts">
<testCase name="ProveedorDetalleComponent should create" duration="1"/>
<testCase name="ProveedorDetalleComponent should create" duration="1"/>
<testCase name="ProveedorDetalleComponent should create" duration="1"/>
<testCase name="ProveedorDetalleComponent should create" duration="1"/>
<testCase name="ProveedorDetalleComponent should create" duration="1"/>
<testCase name="ProveedorDetalleComponent should create" duration="1"/>
<testCase name="ProveedorDetalleComponent should create" duration="1"/>
<testCase name="ProveedorDetalleComponent should create" duration="1"/>
<testCase name="ProveedorDetalleComponent should create" duration="1"/>
<testCase name="ProveedorDetalleComponent should create" duration="1"/>
<testCase name="ProveedorDetalleComponent should create" duration="1"/>
<testCase name="ProveedorDetalleComponent should create" duration="1"/>
<testCase name="ProveedorDetalleComponent should create" duration="1"/>
<testCase name="ProveedorDetalleComponent should create" duration="1"/>
<testCase name="ProveedorDetalleComponent should create" duration="1"/>
<testCase name="ProveedorDetalleComponent should create" duration="1"/>
<testCase name="ProveedorDetalleComponent should create" duration="1"/>
<testCase name="ProveedorDetalleComponent should create" duration="1"/>
</file>
</testExecutions>
Original file line number Diff line number Diff line change
@@ -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();
});

});
16 changes: 16 additions & 0 deletions src/app/components/clientes-lista/clientes-lista.component.spec.ts
Original file line number Diff line number Diff line change
@@ -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();
});

});
Original file line number Diff line number Diff line change
@@ -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();
});

});
Original file line number Diff line number Diff line change
@@ -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();
});

});
Original file line number Diff line number Diff line change
@@ -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();
});

});
Original file line number Diff line number Diff line change
@@ -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();
});

});
16 changes: 16 additions & 0 deletions src/app/components/filtro/filtro.component.spec.ts
Original file line number Diff line number Diff line change
@@ -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();
});

});
16 changes: 16 additions & 0 deletions src/app/components/mapa-card/mapa-card.component.spec.ts
Original file line number Diff line number Diff line change
@@ -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();
});

});
16 changes: 16 additions & 0 deletions src/app/components/proveedor-card/proveedor-card.component.spec.ts
Original file line number Diff line number Diff line change
@@ -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();
});

});
16 changes: 16 additions & 0 deletions src/app/components/seguro-card/seguro-card.component.spec.ts
Original file line number Diff line number Diff line change
@@ -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();
});

});
16 changes: 16 additions & 0 deletions src/app/expedicion-detalle/expedicion-detalle.component.spec.ts
Original file line number Diff line number Diff line change
@@ -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();
});

});
16 changes: 16 additions & 0 deletions src/app/expediciones/expediciones.component.spec.ts
Original file line number Diff line number Diff line change
@@ -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();
});

});
16 changes: 16 additions & 0 deletions src/app/home/home.component.spec.ts
Original file line number Diff line number Diff line change
@@ -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();
});

});
16 changes: 16 additions & 0 deletions src/app/itinerario-detalle/itinerario-detalle.component.spec.ts
Original file line number Diff line number Diff line change
@@ -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();
});

});
16 changes: 16 additions & 0 deletions src/app/proveedores/proveedores.component.spec.ts
Original file line number Diff line number Diff line change
@@ -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();
});

});
Original file line number Diff line number Diff line change
@@ -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();
});

});
16 changes: 16 additions & 0 deletions src/app/seguro-detalle/seguro-detalle.component.spec.ts
Original file line number Diff line number Diff line change
@@ -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();
});

});
16 changes: 16 additions & 0 deletions src/app/seguros/seguros.component.spec.ts
Original file line number Diff line number Diff line change
@@ -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();
});

});

0 comments on commit ffc1968

Please sign in to comment.