Compare commits
7 Commits
stripeServ
...
master
| Author | SHA1 | Date |
|---|---|---|
|
|
7f720461ac | |
|
|
7de61ab179 | |
|
|
2c219e2fa5 | |
|
|
5b16970477 | |
|
|
cba4454dae | |
|
|
131196f3fd | |
|
|
6fac8ae22a |
|
|
@ -24,6 +24,7 @@ Any value defined here will override the pom.xml file value but is only applicab
|
||||||
<org-netbeans-modules-css-prep.less_2e_compiler_2e_options/>
|
<org-netbeans-modules-css-prep.less_2e_compiler_2e_options/>
|
||||||
<org-netbeans-modules-css-prep.sass_2e_mappings>/scss:/css</org-netbeans-modules-css-prep.sass_2e_mappings>
|
<org-netbeans-modules-css-prep.sass_2e_mappings>/scss:/css</org-netbeans-modules-css-prep.sass_2e_mappings>
|
||||||
<org-netbeans-modules-web-clientproject-api.js_2e_libs_2e_folder>js/libs</org-netbeans-modules-web-clientproject-api.js_2e_libs_2e_folder>
|
<org-netbeans-modules-web-clientproject-api.js_2e_libs_2e_folder>js/libs</org-netbeans-modules-web-clientproject-api.js_2e_libs_2e_folder>
|
||||||
<org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>pfv3ee6</org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>
|
<org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>pfv5ee8</org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>
|
||||||
|
<org-netbeans-modules-javascript2-requirejs.enabled>true</org-netbeans-modules-javascript2-requirejs.enabled>
|
||||||
</properties>
|
</properties>
|
||||||
</project-shared-configuration>
|
</project-shared-configuration>
|
||||||
|
|
|
||||||
|
|
@ -142,6 +142,9 @@ public class AccionResource {
|
||||||
* @param entidad
|
* @param entidad
|
||||||
* @return
|
* @return
|
||||||
* @throws DominioExcepcion
|
* @throws DominioExcepcion
|
||||||
|
* @throws java.io.IOException
|
||||||
|
* @throws com.stripe.exception.StripeException
|
||||||
|
* @throws com.qsoft.dao.exception.DaoException
|
||||||
*/
|
*/
|
||||||
public SalidaAccion ejecutarAccion(EntradaAccion entrada, EntidadEnum entidad) throws DominioExcepcion, IOException, StripeException, DaoException {
|
public SalidaAccion ejecutarAccion(EntradaAccion entrada, EntidadEnum entidad) throws DominioExcepcion, IOException, StripeException, DaoException {
|
||||||
List<Object> resultado = accion.accionGenerica(entrada.getHeaderIn(), entidad, entrada.getBodyIn().getEntidades(), entrada.getBodyIn().getTipoAccion());
|
List<Object> resultado = accion.accionGenerica(entrada.getHeaderIn(), entidad, entrada.getBodyIn().getEntidades(), entrada.getBodyIn().getTipoAccion());
|
||||||
|
|
|
||||||
|
|
@ -84,9 +84,8 @@ public class ConsultaResource {
|
||||||
try {
|
try {
|
||||||
List resultado = null;
|
List resultado = null;
|
||||||
BodyEntradaConsulta body = entrada.getBodyIn();
|
BodyEntradaConsulta body = entrada.getBodyIn();
|
||||||
resultado = consulta.consultaGenerica(entrada.getHeaderIn(), entrada.getBodyIn().getEntidad(),
|
resultado = consulta.consultaGenerica(entrada.getHeaderIn(), entrada.getBodyIn().getEntidad(), body.getParametros(),
|
||||||
body.getParametros(), body.getMaximoRegistros(), body.getRegistroInicio(), body.getTipoConsulta());
|
body.getOrden(), body.getMaximoRegistros(), body.getRegistroInicio(), body.getTipoConsulta());
|
||||||
|
|
||||||
HeaderMS header = entrada.getHeaderIn();
|
HeaderMS header = entrada.getHeaderIn();
|
||||||
header.setFechaHora(DominioConstantes.getDateTime());
|
header.setFechaHora(DominioConstantes.getDateTime());
|
||||||
salida = ServiceUtil.crearSalidaConsultaOk(header, entrada.getBodyIn().getEntidad(), resultado);
|
salida = ServiceUtil.crearSalidaConsultaOk(header, entrada.getBodyIn().getEntidad(), resultado);
|
||||||
|
|
|
||||||
|
|
@ -15,10 +15,12 @@ import com.qsoft.erp.constantes.EntidadEnum;
|
||||||
import com.qsoft.erp.dominio.MultipartService;
|
import com.qsoft.erp.dominio.MultipartService;
|
||||||
import com.qsoft.erp.dominio.exception.DominioExcepcion;
|
import com.qsoft.erp.dominio.exception.DominioExcepcion;
|
||||||
import com.qsoft.erp.dominio.util.AuditoriaUtil;
|
import com.qsoft.erp.dominio.util.AuditoriaUtil;
|
||||||
|
import com.qsoft.erp.dominio.util.DominioUtil;
|
||||||
import com.qsoft.erp.dto.AuditoriaDTO;
|
import com.qsoft.erp.dto.AuditoriaDTO;
|
||||||
import com.qsoft.erp.dto.DocumentoDTO;
|
import com.qsoft.erp.dto.DocumentoDTO;
|
||||||
import com.qsoft.erp.dto.LiquidacionDTO;
|
import com.qsoft.erp.dto.LiquidacionDTO;
|
||||||
import com.qsoft.wmp.services.util.ServiceUtil;
|
import com.qsoft.wmp.services.util.ServiceUtil;
|
||||||
|
import com.qsoft.wmp.services.xsd.EntradaAccion;
|
||||||
import com.qsoft.wmp.services.xsd.EntradaLiquidacion;
|
import com.qsoft.wmp.services.xsd.EntradaLiquidacion;
|
||||||
import com.qsoft.wmp.services.xsd.SalidaConsulta;
|
import com.qsoft.wmp.services.xsd.SalidaConsulta;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
@ -58,6 +60,9 @@ public class MultipartResource {
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
private AuditoriaUtil auditoria;
|
private AuditoriaUtil auditoria;
|
||||||
|
|
||||||
|
@Inject
|
||||||
|
private DominioUtil dominioUtil;
|
||||||
|
|
||||||
@Context
|
@Context
|
||||||
private HttpServletRequest request;
|
private HttpServletRequest request;
|
||||||
|
|
@ -130,7 +135,7 @@ public class MultipartResource {
|
||||||
"Uno o mas documentos enviados son nulos por favor verifique la informacion");
|
"Uno o mas documentos enviados son nulos por favor verifique la informacion");
|
||||||
}
|
}
|
||||||
EntidadEnum entidad = Enum.valueOf(EntidadEnum.class, entrada.getBodyIn().getEntidad());
|
EntidadEnum entidad = Enum.valueOf(EntidadEnum.class, entrada.getBodyIn().getEntidad());
|
||||||
data = this.multipart.multipartGenerico(entrada.getHeaderIn(), entidad,
|
data = this.multipart.multipartLiquidacion(entrada.getHeaderIn(), entidad,
|
||||||
entrada.getBodyIn().getParametros(), entrada.getBodyIn().getTipoConsulta());
|
entrada.getBodyIn().getParametros(), entrada.getBodyIn().getTipoConsulta());
|
||||||
HeaderMS header = entrada.getHeaderIn();
|
HeaderMS header = entrada.getHeaderIn();
|
||||||
header.setFechaHora(DominioConstantes.getDateTime());
|
header.setFechaHora(DominioConstantes.getDateTime());
|
||||||
|
|
@ -156,6 +161,100 @@ public class MultipartResource {
|
||||||
return salida;
|
return salida;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@POST
|
||||||
|
@Path("documento")
|
||||||
|
@Consumes(MediaType.MULTIPART_FORM_DATA)
|
||||||
|
@Produces(MediaType.APPLICATION_JSON)
|
||||||
|
public SalidaConsulta postDocumento(FormDataMultiPart input) {
|
||||||
|
SalidaConsulta salida = null;
|
||||||
|
EntradaAccion entrada = null;
|
||||||
|
Long time = System.currentTimeMillis();
|
||||||
|
if (input != null) {
|
||||||
|
List<Object> data = new ArrayList<>();
|
||||||
|
Map<String, List<FormDataBodyPart>> parts = input.getFields();
|
||||||
|
int i = 0;
|
||||||
|
try {
|
||||||
|
List<DocumentoDTO> documentoDTOs = new ArrayList<>();
|
||||||
|
for (List<FormDataBodyPart> p : parts.values()) {
|
||||||
|
System.out.println("FormDataBodyPart p.get(0) =>: " + p.get(0));
|
||||||
|
FormDataBodyPart bodyPart = p.get(0);
|
||||||
|
if (i == 0) {
|
||||||
|
entrada = getEntradaAccion(bodyPart);
|
||||||
|
if (entrada != null && entrada.getBodyIn() != null) {
|
||||||
|
AuditoriaDTO dto = ServiceUtil.crearAuditoria(entrada.getHeaderIn(), entrada.getBodyIn().getEntidad(),
|
||||||
|
super.getClass().getName() + ".posFile", request.getRequestURL().toString(),
|
||||||
|
MultipartService.class.getName() + ".multipartGenerico", ServiceUtil.REQUEST,
|
||||||
|
"" + entrada.getBodyIn().getTipoAccion(), 0, ServiceUtil.getJson(entrada));
|
||||||
|
this.auditoria.AddAuditoria(dto);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
InputStream in = bodyPart.getValueAs(InputStream.class);
|
||||||
|
try {
|
||||||
|
if (in != null && entrada != null && entrada.getBodyIn().getEntidades() != null) {
|
||||||
|
System.out.println("===== Entro a la condicion =====");
|
||||||
|
DocumentoDTO doc = (DocumentoDTO) this.dominioUtil.crearObjeto(DocumentoDTO.class, entrada.getBodyIn().getEntidades().get(i - 1));
|
||||||
|
doc.setData(in.readAllBytes());
|
||||||
|
documentoDTOs.add(doc);
|
||||||
|
}
|
||||||
|
} catch (IOException ex) {
|
||||||
|
System.out.println("ERROR CARGANDO ARCHIVO " + ex);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
i++;
|
||||||
|
}
|
||||||
|
if (!validarEntrada(entrada, documentoDTOs)) {
|
||||||
|
throw new DominioExcepcion(ErrorTipo.ERROR, CodigoRespuesta.CODIGO_VALOR_NULO,
|
||||||
|
"Uno o mas documentos enviados son nulos por favor verifique la informacion");
|
||||||
|
}
|
||||||
|
EntidadEnum entidad = Enum.valueOf(EntidadEnum.class, entrada.getBodyIn().getEntidad());
|
||||||
|
data = this.multipart.multipartGenerico(entrada.getHeaderIn(), entidad,
|
||||||
|
entrada.getBodyIn().getEntidades(), entrada.getBodyIn().getTipoAccion(), documentoDTOs);
|
||||||
|
HeaderMS header = entrada.getHeaderIn();
|
||||||
|
header.setFechaHora(DominioConstantes.getDateTime());
|
||||||
|
salida = ServiceUtil.crearSalidaConsultaOk(header, entrada.getBodyIn().getEntidad(), data);
|
||||||
|
} catch (DominioExcepcion ex) {
|
||||||
|
salida = ServiceUtil.crearSalidaConsultaError(ex.getCodigo(), ex.getMensaje());
|
||||||
|
ex.printStackTrace();
|
||||||
|
} catch (Exception ex) {
|
||||||
|
salida = ServiceUtil.crearSalidaConsultaError(CodigoRespuesta.CODIGO_ERROR_GENERICO, ex.toString());
|
||||||
|
ex.printStackTrace();
|
||||||
|
}
|
||||||
|
|
||||||
|
} else {
|
||||||
|
ServiceUtil.crearSalidaConsultaError(CodigoRespuesta.CODIGO_VALOR_NULO, "ERROR. La entrada no puede ser nula");
|
||||||
|
}
|
||||||
|
time = System.currentTimeMillis() - time;
|
||||||
|
AuditoriaDTO dto = ServiceUtil.crearAuditoria(salida.getHeaderOut(), salida.getBodyOut().getEntidad(),
|
||||||
|
super.getClass().getName() + ".posFile", request.getRequestURL().toString(),
|
||||||
|
MultipartService.class.getName() + ".multipartGenerico", ServiceUtil.RESPONSE,
|
||||||
|
"", time.intValue(), ServiceUtil.getJson(salida.getError()));
|
||||||
|
this.auditoria.AddAuditoria(dto);
|
||||||
|
|
||||||
|
return salida;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param entrada
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
private boolean validarEntrada(EntradaAccion entrada, List<DocumentoDTO> docs) {
|
||||||
|
boolean estado = true;
|
||||||
|
if (entrada == null || entrada.getBodyIn() == null || entrada.getBodyIn().getEntidades() == null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (entrada.getBodyIn() != null && entrada.getBodyIn().getEntidades() != null) {
|
||||||
|
for (DocumentoDTO docMap : docs) {
|
||||||
|
System.out.println("Docmap => " + docMap.toString());
|
||||||
|
if (docMap == null || docMap.getData() == null) {
|
||||||
|
estado = false;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return estado;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param entrada
|
* @param entrada
|
||||||
|
|
@ -181,6 +280,31 @@ public class MultipartResource {
|
||||||
return estado;
|
return estado;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Crea la entrada a partir de la consulta del servicio
|
||||||
|
*
|
||||||
|
* @param bp
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public EntradaAccion getEntradaAccion(FormDataBodyPart bp) throws DominioExcepcion {
|
||||||
|
EntradaAccion entrada = null;
|
||||||
|
System.out.println("=====> entrada");
|
||||||
|
InputStream in = bp.getValueAs(InputStream.class);
|
||||||
|
if (in != null) {
|
||||||
|
System.out.println("======> in: " + in.toString());
|
||||||
|
try {
|
||||||
|
String json = new String(in.readAllBytes());
|
||||||
|
ObjectMapper maper = new ObjectMapper();
|
||||||
|
maper.configure(JsonParser.Feature.ALLOW_UNQUOTED_FIELD_NAMES, true);
|
||||||
|
entrada = maper.readValue(json, EntradaAccion.class);
|
||||||
|
} catch (IOException ex) {
|
||||||
|
throw new DominioExcepcion(ErrorTipo.ERROR, CodigoRespuesta.CODIGO_VALOR_NULO, "No es posible convertir el JSON " + ex.toString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
System.out.println("CREO ENTRADA... " + entrada);
|
||||||
|
return entrada;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Crea la entrada a partir de la consulta del servicio
|
* Crea la entrada a partir de la consulta del servicio
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
*/
|
*/
|
||||||
package com.qsoft.wmp.services.xsd;
|
package com.qsoft.wmp.services.xsd;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -18,6 +19,7 @@ public class BodyEntradaConsulta {
|
||||||
private Integer registroInicio;
|
private Integer registroInicio;
|
||||||
private String entidad;
|
private String entidad;
|
||||||
private Map<String, Object> parametros;
|
private Map<String, Object> parametros;
|
||||||
|
private List<String> orden;
|
||||||
|
|
||||||
public Integer getTipoConsulta() {
|
public Integer getTipoConsulta() {
|
||||||
return tipoConsulta;
|
return tipoConsulta;
|
||||||
|
|
@ -57,6 +59,14 @@ public class BodyEntradaConsulta {
|
||||||
|
|
||||||
public void setRegistroInicio(Integer registroInicio) {
|
public void setRegistroInicio(Integer registroInicio) {
|
||||||
this.registroInicio = registroInicio;
|
this.registroInicio = registroInicio;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public List<String> getOrden() {
|
||||||
|
return orden;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setOrden(List<String> orden) {
|
||||||
|
this.orden = orden;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,96 +1,11 @@
|
||||||
{
|
[
|
||||||
"headerIn": {
|
{
|
||||||
"dispositivo": "james-laptop001",
|
"acceso": "Acceso norte 1",
|
||||||
"canal": null,
|
"fecha": "14/04/2020 16:55:22"
|
||||||
"medio": null,
|
|
||||||
"aplicacion": "WeERPV1.0",
|
|
||||||
"tipoTransaccion": "0101150",
|
|
||||||
"usuario": "james",
|
|
||||||
"uuid": "2e25aed60f2d4c63e33864a638b906f2df987a9b37ce3f8dafde7b565b2a6c41",
|
|
||||||
"fechaHora": "20/05/2020 23:55:36",
|
|
||||||
"idioma": "ES",
|
|
||||||
"empresa": "Enigma-Lovers",
|
|
||||||
"geolocalizacion": null
|
|
||||||
},
|
},
|
||||||
"bodyIn": {
|
{
|
||||||
"tipoAccion": 1,
|
"acceso": "Salida peatonal sur",
|
||||||
"entidad": "DetalleLiquidacion",
|
"fecha": "14/04/2020 22:55:22"
|
||||||
"entidades": [
|
|
||||||
{
|
|
||||||
"favCodigo": null,
|
|
||||||
"favEstablecimiento": "001",
|
|
||||||
"favPtoEmision": "001",
|
|
||||||
"favSecuencial": "00000095",
|
|
||||||
"favReferencia": null,
|
|
||||||
"favClaveAcceso": null,
|
|
||||||
"favAutorizacion": null,
|
|
||||||
"favFechaRegistro": null,
|
|
||||||
"favFechaAutorizacion": null,
|
|
||||||
"favTotalImpuestos": null,
|
|
||||||
"favTotalDescuentos": null,
|
|
||||||
"favAdelanto": null,
|
|
||||||
"favPendiente": null,
|
|
||||||
"favTotalOtros": null,
|
|
||||||
"favPropina": null,
|
|
||||||
"favImporte": 50.2,
|
|
||||||
"favTotal": null,
|
|
||||||
"favDescripcion": null,
|
|
||||||
"favObservacion": "Factura de prueba",
|
|
||||||
"favDinamico": null,
|
|
||||||
"detEstado": null,
|
|
||||||
"detTipo": null,
|
|
||||||
"cliCodigo": 1,
|
|
||||||
"ejeCodigo": null,
|
|
||||||
"sucCodigo": null,
|
|
||||||
"usuCodigo": null,
|
|
||||||
"cliMailNotifica": "test@qsoftec.com",
|
|
||||||
"favFechaPago": null,
|
|
||||||
"favFechaEmision": "2020-07-12 13:19:16",
|
|
||||||
"detalle": [
|
|
||||||
{
|
|
||||||
"defOrden": null,
|
|
||||||
"defCantidad": null,
|
|
||||||
"defPrecioUnitario": null,
|
|
||||||
"defValorDescuentos": null,
|
|
||||||
"defValorImpuestos": null,
|
|
||||||
"defValorOtros": null,
|
|
||||||
"defDetalleAd": null,
|
|
||||||
"defImporte": null,
|
|
||||||
"defTotal": null,
|
|
||||||
"defDescripcion": null,
|
|
||||||
"artCodigo": null,
|
|
||||||
"impuesto": [
|
|
||||||
{
|
|
||||||
"imfValor": null,
|
|
||||||
"imfEstado": null,
|
|
||||||
"rubCodigo": null
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"descuento": [
|
|
||||||
{
|
|
||||||
"dsfValor": null,
|
|
||||||
"dsfEstado": null,
|
|
||||||
"rubCodigo": null
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"impuesto": [
|
|
||||||
{
|
|
||||||
"imfValor": null,
|
|
||||||
"imfEstado": null,
|
|
||||||
"rubCodigo": null
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"descuento": [
|
|
||||||
{
|
|
||||||
"dsfValor": null,
|
|
||||||
"dsfEstado": null,
|
|
||||||
"rubCodigo": null
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
]
|
||||||
|
|
||||||
|
|
@ -30,7 +30,8 @@ public class Tester {
|
||||||
|
|
||||||
public static void main(String[] args) throws IOException {
|
public static void main(String[] args) throws IOException {
|
||||||
System.out.println("TEST " + DominioConstantes.getDateTime());
|
System.out.println("TEST " + DominioConstantes.getDateTime());
|
||||||
testAccionService();
|
// testAccionService();
|
||||||
|
testConsultaService();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -38,6 +39,10 @@ public class Tester {
|
||||||
ObjectMapper maper = new ObjectMapper();
|
ObjectMapper maper = new ObjectMapper();
|
||||||
EntradaConsulta entrada = new EntradaConsulta();
|
EntradaConsulta entrada = new EntradaConsulta();
|
||||||
entrada.getBodyIn().setTipoConsulta(1);
|
entrada.getBodyIn().setTipoConsulta(1);
|
||||||
|
List<String> ord = new ArrayList<>();
|
||||||
|
ord.add("CAMPO");
|
||||||
|
ord.add("ASC");
|
||||||
|
entrada.getBodyIn().setOrden(ord);
|
||||||
entrada.getBodyIn().setEntidad(EntidadEnum.Agendamiento.name());
|
entrada.getBodyIn().setEntidad(EntidadEnum.Agendamiento.name());
|
||||||
|
|
||||||
AgendamientoDTO dto = new AgendamientoDTO();
|
AgendamientoDTO dto = new AgendamientoDTO();
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
|
||||||
|
{
|
||||||
|
"contacto": ["Sr don daviik"],
|
||||||
|
"contactoContable": ["Contador demo"],
|
||||||
|
"emailContable": ["facturas@test.com"],
|
||||||
|
"teléfonoContable": [],
|
||||||
|
"telefono": ["02365487", "03569748", "0996852147"],
|
||||||
|
"telefonoContacto": ["0965479965"],
|
||||||
|
"email": ["email1@test.com", "email2@test.com"]
|
||||||
|
}
|
||||||
|
|
@ -1,13 +1,12 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
"headerIn": {
|
"headerIn": {
|
||||||
"dispositivo": "WeLaptop",
|
"dispositivo": "WeLaptop",
|
||||||
"canal": null,
|
"canal": null,
|
||||||
"medio": null,
|
"medio": null,
|
||||||
"aplicacion": "WeMedicalProV1.0",
|
"aplicacion": "WeMedicalProV1.0",
|
||||||
"tipoTransaccion": "0101114",
|
"tipoTransaccion": "0101116",
|
||||||
"usuario": "1715060073",
|
"usuario": "1715060073",
|
||||||
"uuid": "b5a66f87c713a14581ea",
|
"uuid": "sak8743892ur89w37493q3ure213098r320",
|
||||||
"fechaHora": null,
|
"fechaHora": null,
|
||||||
"idioma": null,
|
"idioma": null,
|
||||||
"empresa": null,
|
"empresa": null,
|
||||||
|
|
@ -15,40 +14,18 @@
|
||||||
},
|
},
|
||||||
"bodyIn": {
|
"bodyIn": {
|
||||||
"tipoAccion": 1,
|
"tipoAccion": 1,
|
||||||
"entidad": "Agendamiento",
|
"entidad": "Usuario",
|
||||||
"entidades": [
|
"entidades": [
|
||||||
{
|
{
|
||||||
"ageFechaAgenda": null,
|
"usuUsuario": "1722779285",
|
||||||
"ageFechaCita": null,
|
"usuNombre": "Diego Alejandro Panchi Ponce",
|
||||||
"ageFechaConfirma": null,
|
"usuDescripcion": "Usuario Diego Panchi suscripciones",
|
||||||
"ageSintomas": null,
|
"usuEmail": "suscripcion@segurosmedi.com",
|
||||||
"ageValor": null,
|
"usuPassword": "Diego@2020*",
|
||||||
"ageTelefono": null,
|
"usuEstado": 1,
|
||||||
"ageObservaciones": null,
|
"usuIdOrigen": "20423",
|
||||||
"ageNotificado": null,
|
"usuOrigen": "PERSONA"
|
||||||
"ageEspecialidad": null,
|
|
||||||
"ageMedico": null,
|
|
||||||
"ageDocumentos": null,
|
|
||||||
"ageAprobacion": null,
|
|
||||||
"ageExamenes": null,
|
|
||||||
"ageDiagnostico": null,
|
|
||||||
"agePreexistencia": null,
|
|
||||||
"ageIndicaciones": null,
|
|
||||||
"locCodigo": null,
|
|
||||||
"perBeneficiario": null,
|
|
||||||
"polCodigo": null,
|
|
||||||
"preCodigo": null,
|
|
||||||
"detTipo": null,
|
|
||||||
"usuCodigo": null,
|
|
||||||
"estado": [
|
|
||||||
{
|
|
||||||
"esaObservaciones": null,
|
|
||||||
"esaEstado": null,
|
|
||||||
"detEstado": null,
|
|
||||||
"usuCodigo": null
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 13 KiB |
|
|
@ -1,5 +0,0 @@
|
||||||
#Generated by Maven
|
|
||||||
#Tue Jul 28 11:32:06 ECT 2020
|
|
||||||
groupId=com.qsoft
|
|
||||||
artifactId=werp-services
|
|
||||||
version=1.0-SNAPSHOT
|
|
||||||
|
|
@ -1,20 +0,0 @@
|
||||||
com/qsoft/wmp/filter/CorsFilter.class
|
|
||||||
com/qsoft/wmp/services/xsd/BodyEntradaLiquidacion.class
|
|
||||||
com/qsoft/wmp/services/rest/FarmaenlaceResource.class
|
|
||||||
com/qsoft/wmp/services/rest/AccionResource.class
|
|
||||||
com/qsoft/wmp/services/xsd/EntradaLiquidacion.class
|
|
||||||
com/qsoft/wmp/services/xsd/BodyEntradaAccion.class
|
|
||||||
com/qsoft/wmp/services/xsd/EntradaConsulta.class
|
|
||||||
com/qsoft/wmp/services/rest/ConsultaResource.class
|
|
||||||
com/qsoft/wmp/services/rest/MultipartResource.class
|
|
||||||
com/qsoft/wmp/services/util/ServiceUtil.class
|
|
||||||
com/qsoft/wmp/services/xsd/BodySalidaConsulta.class
|
|
||||||
com/qsoft/wmp/services/xsd/EntradaAccion.class
|
|
||||||
com/qsoft/wmp/services/xsd/EntradaRecetas.class
|
|
||||||
com/qsoft/wmp/services/xsd/SalidaConsulta.class
|
|
||||||
com/qsoft/wmp/services/xsd/BodySalidaAccion.class
|
|
||||||
com/qsoft/wmp/services/xsd/BodyEntradaConsulta.class
|
|
||||||
com/qsoft/wmp/services/xsd/SalidaAccion.class
|
|
||||||
com/qsoft/wmp/services/xsd/SalidaAccionFarmaEnlace.class
|
|
||||||
com/qsoft/wmp/services/xsd/BodyRecetas.class
|
|
||||||
com/qsoft/wmp/services/rest/ApplicationConfig.class
|
|
||||||
|
|
@ -1,20 +0,0 @@
|
||||||
/home/christian/NetBeansProjects/werp-services/src/main/java/com/qsoft/wmp/services/xsd/EntradaLiquidacion.java
|
|
||||||
/home/christian/NetBeansProjects/werp-services/src/main/java/com/qsoft/wmp/services/xsd/EntradaConsulta.java
|
|
||||||
/home/christian/NetBeansProjects/werp-services/src/main/java/com/qsoft/wmp/services/xsd/SalidaAccionFarmaEnlace.java
|
|
||||||
/home/christian/NetBeansProjects/werp-services/src/main/java/com/qsoft/wmp/services/rest/FarmaenlaceResource.java
|
|
||||||
/home/christian/NetBeansProjects/werp-services/src/main/java/com/qsoft/wmp/services/util/ServiceUtil.java
|
|
||||||
/home/christian/NetBeansProjects/werp-services/src/main/java/com/qsoft/wmp/services/rest/ApplicationConfig.java
|
|
||||||
/home/christian/NetBeansProjects/werp-services/src/main/java/com/qsoft/wmp/services/xsd/SalidaConsulta.java
|
|
||||||
/home/christian/NetBeansProjects/werp-services/src/main/java/com/qsoft/wmp/services/xsd/SalidaAccion.java
|
|
||||||
/home/christian/NetBeansProjects/werp-services/src/main/java/com/qsoft/wmp/services/xsd/BodyEntradaLiquidacion.java
|
|
||||||
/home/christian/NetBeansProjects/werp-services/src/main/java/com/qsoft/wmp/services/xsd/BodyRecetas.java
|
|
||||||
/home/christian/NetBeansProjects/werp-services/src/main/java/com/qsoft/wmp/filter/CorsFilter.java
|
|
||||||
/home/christian/NetBeansProjects/werp-services/src/main/java/com/qsoft/wmp/services/xsd/BodyEntradaConsulta.java
|
|
||||||
/home/christian/NetBeansProjects/werp-services/src/main/java/com/qsoft/wmp/services/xsd/EntradaAccion.java
|
|
||||||
/home/christian/NetBeansProjects/werp-services/src/main/java/com/qsoft/wmp/services/rest/MultipartResource.java
|
|
||||||
/home/christian/NetBeansProjects/werp-services/src/main/java/com/qsoft/wmp/services/xsd/BodySalidaAccion.java
|
|
||||||
/home/christian/NetBeansProjects/werp-services/src/main/java/com/qsoft/wmp/services/rest/AccionResource.java
|
|
||||||
/home/christian/NetBeansProjects/werp-services/src/main/java/com/qsoft/wmp/services/xsd/BodyEntradaAccion.java
|
|
||||||
/home/christian/NetBeansProjects/werp-services/src/main/java/com/qsoft/wmp/services/xsd/EntradaRecetas.java
|
|
||||||
/home/christian/NetBeansProjects/werp-services/src/main/java/com/qsoft/wmp/services/xsd/BodySalidaConsulta.java
|
|
||||||
/home/christian/NetBeansProjects/werp-services/src/main/java/com/qsoft/wmp/services/rest/ConsultaResource.java
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
com/qsoft/test/Tester.class
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
/home/christian/NetBeansProjects/werp-services/src/test/java/com/qsoft/test/Tester.java
|
|
||||||
|
|
@ -1,65 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
|
||||||
<testsuite tests="0" failures="0" name="com.qsoft.test.Tester" time="0" errors="0" skipped="0">
|
|
||||||
<properties>
|
|
||||||
<property name="java.runtime.name" value="OpenJDK Runtime Environment"/>
|
|
||||||
<property name="java.vm.version" value="11.0.7+10-LTS"/>
|
|
||||||
<property name="sun.boot.library.path" value="/usr/lib/jvm/java-11-openjdk-11.0.7.10-1.el8_1.x86_64/lib"/>
|
|
||||||
<property name="maven.multiModuleProjectDirectory" value="/home/christian/NetBeansProjects/werp-services"/>
|
|
||||||
<property name="java.vm.vendor" value="Oracle Corporation"/>
|
|
||||||
<property name="java.vendor.url" value="http://java.oracle.com/"/>
|
|
||||||
<property name="guice.disable.misplaced.annotation.check" value="true"/>
|
|
||||||
<property name="path.separator" value=":"/>
|
|
||||||
<property name="java.vm.name" value="OpenJDK 64-Bit Server VM"/>
|
|
||||||
<property name="sun.os.patch.level" value="unknown"/>
|
|
||||||
<property name="user.country" value="EC"/>
|
|
||||||
<property name="sun.java.launcher" value="SUN_STANDARD"/>
|
|
||||||
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
|
|
||||||
<property name="user.dir" value="/home/christian/NetBeansProjects/werp-services"/>
|
|
||||||
<property name="java.vm.compressedOopsMode" value="Zero based"/>
|
|
||||||
<property name="java.runtime.version" value="11.0.7+10-LTS"/>
|
|
||||||
<property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/>
|
|
||||||
<property name="os.arch" value="amd64"/>
|
|
||||||
<property name="java.io.tmpdir" value="/tmp"/>
|
|
||||||
<property name="line.separator" value="
|
|
||||||
"/>
|
|
||||||
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
|
|
||||||
<property name="os.name" value="Linux"/>
|
|
||||||
<property name="maven.ext.class.path" value="/opt/netbeans/java/maven-nblib/netbeans-eventspy.jar"/>
|
|
||||||
<property name="classworlds.conf" value="/opt/apache-maven-3.6.3/apache-maven-3.6.3/bin/m2.conf"/>
|
|
||||||
<property name="sun.jnu.encoding" value="UTF-8"/>
|
|
||||||
<property name="java.library.path" value="/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib"/>
|
|
||||||
<property name="maven.conf" value="/opt/apache-maven-3.6.3/apache-maven-3.6.3/conf"/>
|
|
||||||
<property name="jdk.debug" value="release"/>
|
|
||||||
<property name="java.class.version" value="55.0"/>
|
|
||||||
<property name="java.specification.name" value="Java Platform API Specification"/>
|
|
||||||
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
|
|
||||||
<property name="os.version" value="4.18.0-147.8.1.el8_1.x86_64"/>
|
|
||||||
<property name="library.jansi.path" value="/opt/apache-maven-3.6.3/apache-maven-3.6.3/lib/jansi-native"/>
|
|
||||||
<property name="user.home" value="/home/christian"/>
|
|
||||||
<property name="user.timezone" value="America/Guayaquil"/>
|
|
||||||
<property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/>
|
|
||||||
<property name="file.encoding" value="UTF-8"/>
|
|
||||||
<property name="java.specification.version" value="11"/>
|
|
||||||
<property name="user.name" value="christian"/>
|
|
||||||
<property name="java.class.path" value="/opt/apache-maven-3.6.3/apache-maven-3.6.3/boot/plexus-classworlds-2.6.0.jar"/>
|
|
||||||
<property name="java.vm.specification.version" value="11"/>
|
|
||||||
<property name="sun.arch.data.model" value="64"/>
|
|
||||||
<property name="sun.java.command" value="org.codehaus.plexus.classworlds.launcher.Launcher -Dmaven.ext.class.path=/opt/netbeans/java/maven-nblib/netbeans-eventspy.jar clean install"/>
|
|
||||||
<property name="java.home" value="/usr/lib/jvm/java-11-openjdk-11.0.7.10-1.el8_1.x86_64"/>
|
|
||||||
<property name="user.language" value="es"/>
|
|
||||||
<property name="java.specification.vendor" value="Oracle Corporation"/>
|
|
||||||
<property name="awt.toolkit" value="sun.awt.X11.XToolkit"/>
|
|
||||||
<property name="java.vm.info" value="mixed mode, sharing"/>
|
|
||||||
<property name="java.version" value="11.0.7"/>
|
|
||||||
<property name="securerandom.source" value="file:/dev/./urandom"/>
|
|
||||||
<property name="java.vendor" value="Oracle Corporation"/>
|
|
||||||
<property name="maven.home" value="/opt/apache-maven-3.6.3/apache-maven-3.6.3"/>
|
|
||||||
<property name="file.separator" value="/"/>
|
|
||||||
<property name="java.version.date" value="2020-04-14"/>
|
|
||||||
<property name="java.vendor.url.bug" value="http://bugreport.java.com/bugreport/"/>
|
|
||||||
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
|
|
||||||
<property name="sun.cpu.endian" value="little"/>
|
|
||||||
<property name="java.vendor.version" value="18.9"/>
|
|
||||||
<property name="sun.cpu.isalist" value=""/>
|
|
||||||
</properties>
|
|
||||||
</testsuite>
|
|
||||||
|
Before Width: | Height: | Size: 356 B |
|
Before Width: | Height: | Size: 157 B |
|
|
@ -1,4 +0,0 @@
|
||||||
-------------------------------------------------------------------------------
|
|
||||||
Test set: com.qsoft.test.Tester
|
|
||||||
-------------------------------------------------------------------------------
|
|
||||||
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.681 sec
|
|
||||||
|
|
@ -57,9 +57,9 @@ function toggleAllBoxes() {
|
||||||
<tr>
|
<tr>
|
||||||
<td>Tests passed/Failed/Skipped:</td><td>0/0/0</td>
|
<td>Tests passed/Failed/Skipped:</td><td>0/0/0</td>
|
||||||
</tr><tr>
|
</tr><tr>
|
||||||
<td>Started on:</td><td>Tue Jul 28 11:32:00 ECT 2020</td>
|
<td>Started on:</td><td>Tue Jun 29 20:55:56 ECT 2021</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td>Total time:</td><td>0 seconds (7 ms)</td>
|
<tr><td>Total time:</td><td>0 seconds (6 ms)</td>
|
||||||
</tr><tr>
|
</tr><tr>
|
||||||
<td>Included groups:</td><td></td>
|
<td>Included groups:</td><td></td>
|
||||||
</tr><tr>
|
</tr><tr>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!-- Generated by org.testng.reporters.JUnitXMLReporter -->
|
<!-- Generated by org.testng.reporters.JUnitXMLReporter -->
|
||||||
<testsuite ignored="0" hostname="localhost.localdomain" failures="0" tests="0" time="0.007" errors="0" timestamp="28 jul. 2020 16:32:00 GMT">
|
<testsuite ignored="0" hostname="james-laptop001" failures="0" tests="0" time="0.006" errors="0" timestamp="30 jun. 2021 01:55:56 GMT">
|
||||||
</testsuite>
|
</testsuite>
|
||||||
|
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
|
|
||||||
<title>TestNG Report</title>
|
|
||||||
<style type="text/css">table {margin-bottom:10px;border-collapse:collapse;empty-cells:show}th,td {border:1px solid #009;padding:.25em .5em}th {vertical-align:bottom}td {vertical-align:top}table a {font-weight:bold}.stripe td {background-color: #E6EBF9}.num {text-align:right}.passedodd td {background-color: #3F3}.passedeven td {background-color: #0A0}.skippedodd td {background-color: #DDD}.skippedeven td {background-color: #CCC}.failedodd td,.attn {background-color: #F33}.failedeven td,.stripe .attn {background-color: #D00}.stacktrace {white-space:pre;font-family:monospace}.totop {font-size:85%;text-align:center;border-bottom:2px solid #000}.invisible {display:none}</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<table>
|
|
||||||
<tr><th>Test</th><th># Passed</th><th># Skipped</th><th># Failed</th><th>Time (ms)</th><th>Included Groups</th><th>Excluded Groups</th></tr>
|
|
||||||
<tr><th colspan="7">com.qsoft.test.Tester</th></tr>
|
|
||||||
<tr><td><a href="#t0">Command line test</a></td><td class="num">0</td><td class="num">0</td><td class="num">0</td><td class="num">7</td><td></td><td></td></tr>
|
|
||||||
</table>
|
|
||||||
<table id='summary'><thead><tr><th>Class</th><th>Method</th><th>Start</th><th>Time (ms)</th></tr></thead><tbody><tr><th colspan="4">com.qsoft.test.Tester</th></tr></tbody><tbody id="t0"><tr><th colspan="4" class="invisible"/></tr></tbody>
|
|
||||||
</table>
|
|
||||||
<h2>Command line test</h2></body>
|
|
||||||
</html>
|
|
||||||
|
Before Width: | Height: | Size: 977 B |
|
|
@ -1,191 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset='utf-8'>
|
|
||||||
<title>TestNG reports</title>
|
|
||||||
|
|
||||||
<link type="text/css" href="testng-reports.css" rel="stylesheet" />
|
|
||||||
<script type="text/javascript" src="jquery-1.7.1.min.js"></script>
|
|
||||||
<script type="text/javascript" src="testng-reports.js"></script>
|
|
||||||
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
|
|
||||||
<script type='text/javascript'>
|
|
||||||
google.load('visualization', '1', {packages:['table']});
|
|
||||||
google.setOnLoadCallback(drawTable);
|
|
||||||
var suiteTableInitFunctions = new Array();
|
|
||||||
var suiteTableData = new Array();
|
|
||||||
</script>
|
|
||||||
<!--
|
|
||||||
<script type="text/javascript" src="jquery-ui/js/jquery-ui-1.8.16.custom.min.js"></script>
|
|
||||||
-->
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div class="top-banner-root">
|
|
||||||
<span class="top-banner-title-font">Test results</span>
|
|
||||||
<br/>
|
|
||||||
<span class="top-banner-font-1">1 suite</span>
|
|
||||||
</div> <!-- top-banner-root -->
|
|
||||||
<div class="navigator-root">
|
|
||||||
<div class="navigator-suite-header">
|
|
||||||
<span>All suites</span>
|
|
||||||
<a href="#" title="Collapse/expand all the suites" class="collapse-all-link">
|
|
||||||
<img src="collapseall.gif" class="collapse-all-icon">
|
|
||||||
</img> <!-- collapse-all-icon -->
|
|
||||||
</a> <!-- collapse-all-link -->
|
|
||||||
</div> <!-- navigator-suite-header -->
|
|
||||||
<div class="suite">
|
|
||||||
<div class="rounded-window">
|
|
||||||
<div class="suite-header light-rounded-window-top">
|
|
||||||
<a href="#" panel-name="suite-com.qsoft.test.Tester" class="navigator-link">
|
|
||||||
<span class="suite-name border-passed">com.qsoft.test.Tester</span>
|
|
||||||
</a> <!-- navigator-link -->
|
|
||||||
</div> <!-- suite-header light-rounded-window-top -->
|
|
||||||
<div class="navigator-suite-content">
|
|
||||||
<div class="suite-section-title">
|
|
||||||
<span>Info</span>
|
|
||||||
</div> <!-- suite-section-title -->
|
|
||||||
<div class="suite-section-content">
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="#" panel-name="test-xml-com.qsoft.test.Tester" class="navigator-link ">
|
|
||||||
<span>[unset file name]</span>
|
|
||||||
</a> <!-- navigator-link -->
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="#" panel-name="testlist-com.qsoft.test.Tester" class="navigator-link ">
|
|
||||||
<span class="test-stats">1 test</span>
|
|
||||||
</a> <!-- navigator-link -->
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="#" panel-name="group-com.qsoft.test.Tester" class="navigator-link ">
|
|
||||||
<span>0 groups</span>
|
|
||||||
</a> <!-- navigator-link -->
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="#" panel-name="times-com.qsoft.test.Tester" class="navigator-link ">
|
|
||||||
<span>Times</span>
|
|
||||||
</a> <!-- navigator-link -->
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="#" panel-name="reporter-com.qsoft.test.Tester" class="navigator-link ">
|
|
||||||
<span>Reporter output</span>
|
|
||||||
</a> <!-- navigator-link -->
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="#" panel-name="ignored-methods-com.qsoft.test.Tester" class="navigator-link ">
|
|
||||||
<span>Ignored methods</span>
|
|
||||||
</a> <!-- navigator-link -->
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="#" panel-name="chronological-com.qsoft.test.Tester" class="navigator-link ">
|
|
||||||
<span>Chronological view</span>
|
|
||||||
</a> <!-- navigator-link -->
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div> <!-- suite-section-content -->
|
|
||||||
<div class="result-section">
|
|
||||||
<div class="suite-section-title">
|
|
||||||
<span>Results</span>
|
|
||||||
</div> <!-- suite-section-title -->
|
|
||||||
<div class="suite-section-content">
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<span class="method-stats">0 methods, </span>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div> <!-- suite-section-content -->
|
|
||||||
</div> <!-- result-section -->
|
|
||||||
</div> <!-- navigator-suite-content -->
|
|
||||||
</div> <!-- rounded-window -->
|
|
||||||
</div> <!-- suite -->
|
|
||||||
</div> <!-- navigator-root -->
|
|
||||||
<div class="wrapper">
|
|
||||||
<div class="main-panel-root">
|
|
||||||
<div panel-name="suite-com.qsoft.test.Tester" class="panel com.qsoft.test.Tester">
|
|
||||||
</div> <!-- panel com.qsoft.test.Tester -->
|
|
||||||
<div panel-name="test-xml-com.qsoft.test.Tester" class="panel">
|
|
||||||
<div class="main-panel-header rounded-window-top">
|
|
||||||
</div> <!-- main-panel-header rounded-window-top -->
|
|
||||||
<div class="main-panel-content rounded-window-bottom">
|
|
||||||
<pre>
|
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
|
|
||||||
<suite name="com.qsoft.test.Tester" verbose="0">
|
|
||||||
<test thread-count="5" name="Command line test" verbose="0">
|
|
||||||
<classes>
|
|
||||||
<class name="com.qsoft.test.Tester"/>
|
|
||||||
</classes>
|
|
||||||
</test> <!-- Command line test -->
|
|
||||||
</suite> <!-- com.qsoft.test.Tester -->
|
|
||||||
</pre>
|
|
||||||
</div> <!-- main-panel-content rounded-window-bottom -->
|
|
||||||
</div> <!-- panel -->
|
|
||||||
<div panel-name="testlist-com.qsoft.test.Tester" class="panel">
|
|
||||||
<div class="main-panel-header rounded-window-top">
|
|
||||||
<span class="header-content">Tests for com.qsoft.test.Tester</span>
|
|
||||||
</div> <!-- main-panel-header rounded-window-top -->
|
|
||||||
<div class="main-panel-content rounded-window-bottom">
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<span class="test-name">Command line test (1 class)</span>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div> <!-- main-panel-content rounded-window-bottom -->
|
|
||||||
</div> <!-- panel -->
|
|
||||||
<div panel-name="group-com.qsoft.test.Tester" class="panel">
|
|
||||||
<div class="main-panel-header rounded-window-top">
|
|
||||||
<span class="header-content">Groups for com.qsoft.test.Tester</span>
|
|
||||||
</div> <!-- main-panel-header rounded-window-top -->
|
|
||||||
<div class="main-panel-content rounded-window-bottom">
|
|
||||||
</div> <!-- main-panel-content rounded-window-bottom -->
|
|
||||||
</div> <!-- panel -->
|
|
||||||
<div panel-name="times-com.qsoft.test.Tester" class="panel">
|
|
||||||
<div class="main-panel-header rounded-window-top">
|
|
||||||
<span class="header-content">Times for com.qsoft.test.Tester</span>
|
|
||||||
</div> <!-- main-panel-header rounded-window-top -->
|
|
||||||
<div class="main-panel-content rounded-window-bottom">
|
|
||||||
<div class="times-div">
|
|
||||||
<script type="text/javascript">
|
|
||||||
suiteTableInitFunctions.push('tableData_com.qsoft.test.Tester');
|
|
||||||
function tableData_com.qsoft.test.Tester() {
|
|
||||||
var data = new google.visualization.DataTable();
|
|
||||||
data.addColumn('number', 'Number');
|
|
||||||
data.addColumn('string', 'Method');
|
|
||||||
data.addColumn('string', 'Class');
|
|
||||||
data.addColumn('number', 'Time (ms)');
|
|
||||||
data.addRows(0);
|
|
||||||
window.suiteTableData['com.qsoft.test.Tester']= { tableData: data, tableDiv: 'times-div-com.qsoft.test.Tester'}
|
|
||||||
return data;
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<div id="times-div-com.qsoft.test.Tester">
|
|
||||||
</div> <!-- times-div-com.qsoft.test.Tester -->
|
|
||||||
</div> <!-- times-div -->
|
|
||||||
</div> <!-- main-panel-content rounded-window-bottom -->
|
|
||||||
</div> <!-- panel -->
|
|
||||||
<div panel-name="reporter-com.qsoft.test.Tester" class="panel">
|
|
||||||
<div class="main-panel-header rounded-window-top">
|
|
||||||
<span class="header-content">Reporter output for com.qsoft.test.Tester</span>
|
|
||||||
</div> <!-- main-panel-header rounded-window-top -->
|
|
||||||
<div class="main-panel-content rounded-window-bottom">
|
|
||||||
</div> <!-- main-panel-content rounded-window-bottom -->
|
|
||||||
</div> <!-- panel -->
|
|
||||||
<div panel-name="ignored-methods-com.qsoft.test.Tester" class="panel">
|
|
||||||
<div class="main-panel-header rounded-window-top">
|
|
||||||
<span class="header-content">0 ignored methods</span>
|
|
||||||
</div> <!-- main-panel-header rounded-window-top -->
|
|
||||||
<div class="main-panel-content rounded-window-bottom">
|
|
||||||
</div> <!-- main-panel-content rounded-window-bottom -->
|
|
||||||
</div> <!-- panel -->
|
|
||||||
<div panel-name="chronological-com.qsoft.test.Tester" class="panel">
|
|
||||||
<div class="main-panel-header rounded-window-top">
|
|
||||||
<span class="header-content">Methods in chronological order</span>
|
|
||||||
</div> <!-- main-panel-header rounded-window-top -->
|
|
||||||
<div class="main-panel-content rounded-window-bottom">
|
|
||||||
</div> <!-- main-panel-content rounded-window-bottom -->
|
|
||||||
</div> <!-- panel -->
|
|
||||||
</div> <!-- main-panel-root -->
|
|
||||||
</div> <!-- wrapper -->
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
Before Width: | Height: | Size: 352 B |
|
|
@ -1 +0,0 @@
|
||||||
[SuiteResult context=Command line test]
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
<table border='1'>
|
|
||||||
<tr>
|
|
||||||
<th>Class name</th>
|
|
||||||
<th>Method name</th>
|
|
||||||
<th>Groups</th>
|
|
||||||
</tr></table>
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
<h2>Groups used for this test run</h2>
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
<html><head><title>Results for com.qsoft.test.Tester</title></head>
|
|
||||||
<frameset cols="26%,74%">
|
|
||||||
<frame src="toc.html" name="navFrame">
|
|
||||||
<frame src="main.html" name="mainFrame">
|
|
||||||
</frameset>
|
|
||||||
</html>
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
<html><head><title>Results for com.qsoft.test.Tester</title></head>
|
|
||||||
<body>Select a result on the left-hand pane.</body></html>
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>com.qsoft.test.Tester</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
|
|
||||||
</table>
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
<h2>Methods that were not run</h2><table>
|
|
||||||
</table>
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>com.qsoft.test.Tester</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
|
|
||||||
</table>
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
<h2>Reporter output</h2><table></table>
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>testng.xml for com.qsoft.test.Tester</title></head><body><tt><?xml version="1.0" encoding="UTF-8"?><br/><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"><br/><suite name="com.qsoft.test.Tester" verbose="0"><br/> <test thread-count="5" name="Command line test" verbose="0"><br/> <classes><br/> <class name="com.qsoft.test.Tester"/><br/> </classes><br/> </test> <!-- Command line test --><br/></suite> <!-- com.qsoft.test.Tester --><br/></tt></body></html>
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Results for com.qsoft.test.Tester</title>
|
|
||||||
<link href="../testng.css" rel="stylesheet" type="text/css" />
|
|
||||||
<link href="../my-testng.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h3><p align="center">Results for<br/><em>com.qsoft.test.Tester</em></p></h3>
|
|
||||||
<table border='1' width='100%'>
|
|
||||||
<tr valign='top'>
|
|
||||||
<td>1 test</td>
|
|
||||||
<td><a target='mainFrame' href='classes.html'>0 class</a></td>
|
|
||||||
<td>0 method:<br/>
|
|
||||||
<a target='mainFrame' href='methods.html'>chronological</a><br/>
|
|
||||||
<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>
|
|
||||||
<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a target='mainFrame' href='groups.html'>0 group</a></td>
|
|
||||||
<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>
|
|
||||||
<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>
|
|
||||||
</tr></table>
|
|
||||||
<table width='100%' class='test-failed'>
|
|
||||||
<tr><td>
|
|
||||||
<table style='width: 100%'><tr><td valign='top'>Command line test (0/0/0)</td><td valign='top' align='right'>
|
|
||||||
<a href='Command line test.html' target='mainFrame'>Results</a>
|
|
||||||
</td></tr></table>
|
|
||||||
</td></tr><p/>
|
|
||||||
</table>
|
|
||||||
</body></html>
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
<html>
|
|
||||||
<head><title></title><link href="./testng.css" rel="stylesheet" type="text/css" />
|
|
||||||
<link href="./my-testng.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head><body>
|
|
||||||
<h2><p align='center'>Test results</p></h2>
|
|
||||||
<table border='1' width='100%' class='main-page'><tr><th>Suite</th><th>Passed</th><th>Failed</th><th>Skipped</th><th>testng.xml</th></tr>
|
|
||||||
<tr align='center' class='invocation-failed'><td><em>Total</em></td><td><em>0</em></td><td><em>0</em></td><td><em>0</em></td><td> </td></tr>
|
|
||||||
<tr align='center' class='invocation-failed'><td><a href='com.qsoft.test.Tester/index.html'>com.qsoft.test.Tester</a></td>
|
|
||||||
<td>0</td><td>0</td><td>0</td><td><a href='com.qsoft.test.Tester/testng.xml.html'>Link</a></td></tr></table></body></html>
|
|
||||||
|
Before Width: | Height: | Size: 1019 B |
|
Before Width: | Height: | Size: 967 B |
|
|
@ -1,309 +0,0 @@
|
||||||
body {
|
|
||||||
margin: 0px 0px 5px 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul {
|
|
||||||
margin: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
li {
|
|
||||||
list-style-type: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navigator-selected {
|
|
||||||
background: #ffa500;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wrapper {
|
|
||||||
position: absolute;
|
|
||||||
top: 60px;
|
|
||||||
bottom: 0;
|
|
||||||
left: 400px;
|
|
||||||
right: 0;
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navigator-root {
|
|
||||||
position: absolute;
|
|
||||||
top: 60px;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 400px;
|
|
||||||
overflow-y: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.suite {
|
|
||||||
margin: 0px 10px 10px 0px;
|
|
||||||
background-color: #fff8dc;
|
|
||||||
}
|
|
||||||
|
|
||||||
.suite-name {
|
|
||||||
padding-left: 10px;
|
|
||||||
font-size: 25px;
|
|
||||||
font-family: Times;
|
|
||||||
}
|
|
||||||
|
|
||||||
.main-panel-header {
|
|
||||||
padding: 5px;
|
|
||||||
background-color: #9FB4D9; //afeeee;
|
|
||||||
font-family: monospace;
|
|
||||||
font-size: 18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.main-panel-content {
|
|
||||||
padding: 5px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
background-color: #DEE8FC; //d0ffff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.rounded-window {
|
|
||||||
border-radius: 10px;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.rounded-window-top {
|
|
||||||
border-top-right-radius: 10px 10px;
|
|
||||||
border-top-left-radius: 10px 10px;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 1px;
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.light-rounded-window-top {
|
|
||||||
border-top-right-radius: 10px 10px;
|
|
||||||
border-top-left-radius: 10px 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.rounded-window-bottom {
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 0px 1px 1px 1px;
|
|
||||||
border-bottom-right-radius: 10px 10px;
|
|
||||||
border-bottom-left-radius: 10px 10px;
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.method-name {
|
|
||||||
font-size: 12px;
|
|
||||||
font-family: monospace;
|
|
||||||
}
|
|
||||||
|
|
||||||
.method-content {
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 0px 0px 1px 0px;
|
|
||||||
margin-bottom: 10;
|
|
||||||
padding-bottom: 5px;
|
|
||||||
width: 80%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.parameters {
|
|
||||||
font-size: 14px;
|
|
||||||
font-family: monospace;
|
|
||||||
}
|
|
||||||
|
|
||||||
.stack-trace {
|
|
||||||
white-space: pre;
|
|
||||||
font-family: monospace;
|
|
||||||
font-size: 12px;
|
|
||||||
font-weight: bold;
|
|
||||||
margin-top: 0px;
|
|
||||||
margin-left: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.testng-xml {
|
|
||||||
font-family: monospace;
|
|
||||||
}
|
|
||||||
|
|
||||||
.method-list-content {
|
|
||||||
margin-left: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navigator-suite-content {
|
|
||||||
margin-left: 10px;
|
|
||||||
font: 12px 'Lucida Grande';
|
|
||||||
}
|
|
||||||
|
|
||||||
.suite-section-title {
|
|
||||||
margin-top: 10px;
|
|
||||||
width: 80%;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 1px 0px 0px 0px;
|
|
||||||
font-family: Times;
|
|
||||||
font-size: 18px;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.suite-section-content {
|
|
||||||
list-style-image: url(bullet_point.png);
|
|
||||||
}
|
|
||||||
|
|
||||||
.top-banner-root {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
height: 45px;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
padding: 5px;
|
|
||||||
margin: 0px 0px 5px 0px;
|
|
||||||
background-color: #0066ff;
|
|
||||||
font-family: Times;
|
|
||||||
color: #fff;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.top-banner-title-font {
|
|
||||||
font-size: 25px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.test-name {
|
|
||||||
font-family: 'Lucida Grande';
|
|
||||||
font-size: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.suite-icon {
|
|
||||||
padding: 5px;
|
|
||||||
float: right;
|
|
||||||
height: 20;
|
|
||||||
}
|
|
||||||
|
|
||||||
.test-group {
|
|
||||||
font: 20px 'Lucida Grande';
|
|
||||||
margin: 5px 5px 10px 5px;
|
|
||||||
border-width: 0px 0px 1px 0px;
|
|
||||||
border-style: solid;
|
|
||||||
padding: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.test-group-name {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.method-in-group {
|
|
||||||
font-size: 16px;
|
|
||||||
margin-left: 80px;
|
|
||||||
}
|
|
||||||
|
|
||||||
table.google-visualization-table-table {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reporter-method-name {
|
|
||||||
font-size: 14px;
|
|
||||||
font-family: monospace;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reporter-method-output-div {
|
|
||||||
padding: 5px;
|
|
||||||
margin: 0px 0px 5px 20px;
|
|
||||||
font-size: 12px;
|
|
||||||
font-family: monospace;
|
|
||||||
border-width: 0px 0px 0px 1px;
|
|
||||||
border-style: solid;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ignored-class-div {
|
|
||||||
font-size: 14px;
|
|
||||||
font-family: monospace;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ignored-methods-div {
|
|
||||||
padding: 5px;
|
|
||||||
margin: 0px 0px 5px 20px;
|
|
||||||
font-size: 12px;
|
|
||||||
font-family: monospace;
|
|
||||||
border-width: 0px 0px 0px 1px;
|
|
||||||
border-style: solid;
|
|
||||||
}
|
|
||||||
|
|
||||||
.border-failed {
|
|
||||||
border-top-left-radius: 10px 10px;
|
|
||||||
border-bottom-left-radius: 10px 10px;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 0px 0px 0px 10px;
|
|
||||||
border-color: #f00;
|
|
||||||
}
|
|
||||||
|
|
||||||
.border-skipped {
|
|
||||||
border-top-left-radius: 10px 10px;
|
|
||||||
border-bottom-left-radius: 10px 10px;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 0px 0px 0px 10px;
|
|
||||||
border-color: #edc600;
|
|
||||||
}
|
|
||||||
|
|
||||||
.border-passed {
|
|
||||||
border-top-left-radius: 10px 10px;
|
|
||||||
border-bottom-left-radius: 10px 10px;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 0px 0px 0px 10px;
|
|
||||||
border-color: #19f52d;
|
|
||||||
}
|
|
||||||
|
|
||||||
.times-div {
|
|
||||||
text-align: center;
|
|
||||||
padding: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.suite-total-time {
|
|
||||||
font: 16px 'Lucida Grande';
|
|
||||||
}
|
|
||||||
|
|
||||||
.configuration-suite {
|
|
||||||
margin-left: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.configuration-test {
|
|
||||||
margin-left: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.configuration-class {
|
|
||||||
margin-left: 60px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.configuration-method {
|
|
||||||
margin-left: 80px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.test-method {
|
|
||||||
margin-left: 100px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.chronological-class {
|
|
||||||
background-color: #0ccff;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 0px 0px 1px 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.method-start {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.chronological-class-name {
|
|
||||||
padding: 0px 0px 0px 5px;
|
|
||||||
color: #008;
|
|
||||||
}
|
|
||||||
|
|
||||||
.after, .before, .test-method {
|
|
||||||
font-family: monospace;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navigator-suite-header {
|
|
||||||
font-size: 22px;
|
|
||||||
margin: 0px 10px 5px 0px;
|
|
||||||
background-color: #deb887;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.collapse-all-icon {
|
|
||||||
padding: 5px;
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
@ -1,122 +0,0 @@
|
||||||
$(document).ready(function() {
|
|
||||||
$('a.navigator-link').click(function() {
|
|
||||||
// Extract the panel for this link
|
|
||||||
var panel = getPanelName($(this));
|
|
||||||
|
|
||||||
// Mark this link as currently selected
|
|
||||||
$('.navigator-link').parent().removeClass('navigator-selected');
|
|
||||||
$(this).parent().addClass('navigator-selected');
|
|
||||||
|
|
||||||
showPanel(panel);
|
|
||||||
});
|
|
||||||
|
|
||||||
installMethodHandlers('failed');
|
|
||||||
installMethodHandlers('skipped');
|
|
||||||
installMethodHandlers('passed', true); // hide passed methods by default
|
|
||||||
|
|
||||||
$('a.method').click(function() {
|
|
||||||
showMethod($(this));
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
|
|
||||||
// Hide all the panels and display the first one (do this last
|
|
||||||
// to make sure the click() will invoke the listeners)
|
|
||||||
$('.panel').hide();
|
|
||||||
$('.navigator-link').first().click();
|
|
||||||
|
|
||||||
// Collapse/expand the suites
|
|
||||||
$('a.collapse-all-link').click(function() {
|
|
||||||
var contents = $('.navigator-suite-content');
|
|
||||||
if (contents.css('display') == 'none') {
|
|
||||||
contents.show();
|
|
||||||
} else {
|
|
||||||
contents.hide();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
// The handlers that take care of showing/hiding the methods
|
|
||||||
function installMethodHandlers(name, hide) {
|
|
||||||
function getContent(t) {
|
|
||||||
return $('.method-list-content.' + name + "." + t.attr('panel-name'));
|
|
||||||
}
|
|
||||||
|
|
||||||
function getHideLink(t, name) {
|
|
||||||
var s = 'a.hide-methods.' + name + "." + t.attr('panel-name');
|
|
||||||
return $(s);
|
|
||||||
}
|
|
||||||
|
|
||||||
function getShowLink(t, name) {
|
|
||||||
return $('a.show-methods.' + name + "." + t.attr('panel-name'));
|
|
||||||
}
|
|
||||||
|
|
||||||
function getMethodPanelClassSel(element, name) {
|
|
||||||
var panelName = getPanelName(element);
|
|
||||||
var sel = '.' + panelName + "-class-" + name;
|
|
||||||
return $(sel);
|
|
||||||
}
|
|
||||||
|
|
||||||
$('a.hide-methods.' + name).click(function() {
|
|
||||||
var w = getContent($(this));
|
|
||||||
w.hide();
|
|
||||||
getHideLink($(this), name).hide();
|
|
||||||
getShowLink($(this), name).show();
|
|
||||||
getMethodPanelClassSel($(this), name).hide();
|
|
||||||
});
|
|
||||||
|
|
||||||
$('a.show-methods.' + name).click(function() {
|
|
||||||
var w = getContent($(this));
|
|
||||||
w.show();
|
|
||||||
getHideLink($(this), name).show();
|
|
||||||
getShowLink($(this), name).hide();
|
|
||||||
showPanel(getPanelName($(this)));
|
|
||||||
getMethodPanelClassSel($(this), name).show();
|
|
||||||
});
|
|
||||||
|
|
||||||
if (hide) {
|
|
||||||
$('a.hide-methods.' + name).click();
|
|
||||||
} else {
|
|
||||||
$('a.show-methods.' + name).click();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function getHashForMethod(element) {
|
|
||||||
return element.attr('hash-for-method');
|
|
||||||
}
|
|
||||||
|
|
||||||
function getPanelName(element) {
|
|
||||||
return element.attr('panel-name');
|
|
||||||
}
|
|
||||||
|
|
||||||
function showPanel(panelName) {
|
|
||||||
$('.panel').hide();
|
|
||||||
var panel = $('.panel[panel-name="' + panelName + '"]');
|
|
||||||
panel.show();
|
|
||||||
}
|
|
||||||
|
|
||||||
function showMethod(element) {
|
|
||||||
var hashTag = getHashForMethod(element);
|
|
||||||
var panelName = getPanelName(element);
|
|
||||||
showPanel(panelName);
|
|
||||||
var current = document.location.href;
|
|
||||||
var base = current.substring(0, current.indexOf('#'))
|
|
||||||
document.location.href = base + '#' + hashTag;
|
|
||||||
var newPosition = $(document).scrollTop() - 65;
|
|
||||||
$(document).scrollTop(newPosition);
|
|
||||||
}
|
|
||||||
|
|
||||||
function drawTable() {
|
|
||||||
for (var i = 0; i < suiteTableInitFunctions.length; i++) {
|
|
||||||
window[suiteTableInitFunctions[i]]();
|
|
||||||
}
|
|
||||||
|
|
||||||
for (var k in window.suiteTableData) {
|
|
||||||
var v = window.suiteTableData[k];
|
|
||||||
var div = v.tableDiv;
|
|
||||||
var data = v.tableData
|
|
||||||
var table = new google.visualization.Table(document.getElementById(div));
|
|
||||||
table.draw(data, {
|
|
||||||
showRowNumber : false
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -2,10 +2,10 @@
|
||||||
<testng-results ignored="0" total="0" passed="0" failed="0" skipped="0">
|
<testng-results ignored="0" total="0" passed="0" failed="0" skipped="0">
|
||||||
<reporter-output>
|
<reporter-output>
|
||||||
</reporter-output>
|
</reporter-output>
|
||||||
<suite started-at="2020-07-28T16:32:00Z" name="com.qsoft.test.Tester" finished-at="2020-07-28T16:32:00Z" duration-ms="7">
|
<suite started-at="2021-06-30T01:55:56Z" name="com.qsoft.test.Tester" finished-at="2021-06-30T01:55:56Z" duration-ms="6">
|
||||||
<groups>
|
<groups>
|
||||||
</groups>
|
</groups>
|
||||||
<test started-at="2020-07-28T16:32:00Z" name="Command line test" finished-at="2020-07-28T16:32:00Z" duration-ms="7">
|
<test started-at="2021-06-30T01:55:56Z" name="Command line test" finished-at="2021-06-30T01:55:56Z" duration-ms="6">
|
||||||
</test> <!-- Command line test -->
|
</test> <!-- Command line test -->
|
||||||
</suite> <!-- com.qsoft.test.Tester -->
|
</suite> <!-- com.qsoft.test.Tester -->
|
||||||
</testng-results>
|
</testng-results>
|
||||||
|
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
.invocation-failed, .test-failed { background-color: #DD0000; }
|
|
||||||
.invocation-percent, .test-percent { background-color: #006600; }
|
|
||||||
.invocation-passed, .test-passed { background-color: #00AA00; }
|
|
||||||
.invocation-skipped, .test-skipped { background-color: #CCCC00; }
|
|
||||||
|
|
||||||
.main-page {
|
|
||||||
font-size: x-large;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Context path="/erp-services"/>
|
|
||||||
|
Before Width: | Height: | Size: 13 KiB |
|
|
@ -1,8 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<jboss-deployment-structure>
|
|
||||||
<deployment>
|
|
||||||
<dependencies>
|
|
||||||
<module name="org.jboss.resteasy.resteasy-jackson2-provider" services="import"/>
|
|
||||||
</dependencies>
|
|
||||||
</deployment>
|
|
||||||
</jboss-deployment-structure>
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<jboss-web version="8.0" xmlns="http://www.jboss.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/schema/jbossas/jboss-web_8_0.xsd">
|
|
||||||
<context-root>/erp-services</context-root>
|
|
||||||
</jboss-web>
|
|
||||||