Skip to content

Commit af0a5a3

Browse files
committed
Agregar esqueleto de tests unitarios para nuevos paquetes
1 parent 9861ca2 commit af0a5a3

6 files changed

Lines changed: 108 additions & 0 deletions

File tree

test/database/install.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,19 @@ prompt
6161
@@packages/test_k_auditoria.pck
6262
@@packages/test_k_autenticacion.pck
6363
@@packages/test_k_autorizacion.pck
64+
@@packages/test_k_clave.pck
6465
@@packages/test_k_dato.pck
6566
@@packages/test_k_dispositivo.pck
67+
@@packages/test_k_dominio.pck
6668
@@packages/test_k_error.pck
6769
@@packages/test_k_html.pck
6870
@@packages/test_k_mensajeria.pck
71+
@@packages/test_k_modulo.pck
6972
@@packages/test_k_operacion.pck
7073
@@packages/test_k_reporte.pck
7174
@@packages/test_k_servicio.pck
7275
@@packages/test_k_sesion.pck
76+
@@packages/test_k_significado.pck
7377
@@packages/test_k_sistema.pck
7478
@@packages/test_k_trabajo.pck
7579
@@packages/test_k_usuario.pck
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
CREATE OR REPLACE PACKAGE test_k_clave IS
2+
3+
--%suite(Tests unitarios del paquete k_clave)
4+
--%tags(package)
5+
6+
--%context(Tests unitarios de 2)
7+
--%name(2)
8+
9+
--%test()
10+
PROCEDURE test;
11+
--%endcontext
12+
13+
END;
14+
/
15+
16+
CREATE OR REPLACE PACKAGE BODY test_k_clave IS
17+
18+
PROCEDURE test IS
19+
BEGIN
20+
NULL;
21+
END;
22+
23+
END;
24+
/
25+
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
CREATE OR REPLACE PACKAGE test_k_dominio IS
2+
3+
--%suite(Tests unitarios del paquete k_dominio)
4+
--%tags(package)
5+
6+
--%context(Tests unitarios de 2)
7+
--%name(2)
8+
9+
--%test()
10+
PROCEDURE test;
11+
--%endcontext
12+
13+
END;
14+
/
15+
16+
CREATE OR REPLACE PACKAGE BODY test_k_dominio IS
17+
18+
PROCEDURE test IS
19+
BEGIN
20+
NULL;
21+
END;
22+
23+
END;
24+
/
25+
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
CREATE OR REPLACE PACKAGE test_k_modulo IS
2+
3+
--%suite(Tests unitarios del paquete k_modulo)
4+
--%tags(package)
5+
6+
--%context(Tests unitarios de 2)
7+
--%name(2)
8+
9+
--%test()
10+
PROCEDURE test;
11+
--%endcontext
12+
13+
END;
14+
/
15+
16+
CREATE OR REPLACE PACKAGE BODY test_k_modulo IS
17+
18+
PROCEDURE test IS
19+
BEGIN
20+
NULL;
21+
END;
22+
23+
END;
24+
/
25+
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
CREATE OR REPLACE PACKAGE test_k_significado IS
2+
3+
--%suite(Tests unitarios del paquete k_significado)
4+
--%tags(package)
5+
6+
--%context(Tests unitarios de 2)
7+
--%name(2)
8+
9+
--%test()
10+
PROCEDURE test;
11+
--%endcontext
12+
13+
END;
14+
/
15+
16+
CREATE OR REPLACE PACKAGE BODY test_k_significado IS
17+
18+
PROCEDURE test IS
19+
BEGIN
20+
NULL;
21+
END;
22+
23+
END;
24+
/
25+

test/database/uninstall.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,19 @@ drop package test_k_archivo;
6060
drop package test_k_auditoria;
6161
drop package test_k_autenticacion;
6262
drop package test_k_autorizacion;
63+
drop package test_k_clave;
6364
drop package test_k_dato;
6465
drop package test_k_dispositivo;
66+
drop package test_k_dominio;
6567
drop package test_k_error;
6668
drop package test_k_html;
6769
drop package test_k_mensajeria;
70+
drop package test_k_modulo;
6871
drop package test_k_operacion;
6972
drop package test_k_reporte;
7073
drop package test_k_servicio;
7174
drop package test_k_sesion;
75+
drop package test_k_significado;
7276
drop package test_k_sistema;
7377
drop package test_k_trabajo;
7478
drop package test_k_usuario;

0 commit comments

Comments
 (0)