error IOException

This commit is contained in:
Christian 2020-08-03 09:09:56 -05:00
parent b5ef6cffd8
commit 636b8a4a49
206 changed files with 947 additions and 1 deletions

View File

@ -17,6 +17,7 @@ import com.qsoft.erp.dto.AuditoriaDTO;
import com.qsoft.wmp.services.util.ServiceUtil;
import com.qsoft.wmp.services.xsd.EntradaAccion;
import com.qsoft.wmp.services.xsd.SalidaAccion;
import java.io.IOException;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.inject.Inject;
@ -140,7 +141,7 @@ public class AccionResource {
* @return
* @throws DominioExcepcion
*/
public SalidaAccion ejecutarAccion(EntradaAccion entrada, EntidadEnum entidad) throws DominioExcepcion {
public SalidaAccion ejecutarAccion(EntradaAccion entrada, EntidadEnum entidad) throws DominioExcepcion, IOException {
List<Object> resultado = accion.accionGenerica(entrada.getHeaderIn(), entidad, entrada.getBodyIn().getEntidades(), entrada.getBodyIn().getTipoAccion());
String msg = "A continuacion se muestra el resultado de la accion.";
HeaderMS header = entrada.getHeaderIn();

View File

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

View File

@ -0,0 +1,5 @@
#Generated by Maven
#Tue Jul 28 11:32:06 ECT 2020
groupId=com.qsoft
artifactId=werp-services
version=1.0-SNAPSHOT

View File

@ -0,0 +1,20 @@
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

View File

@ -0,0 +1,20 @@
/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

View File

@ -0,0 +1 @@
com/qsoft/test/Tester.class

View File

@ -0,0 +1 @@
/home/christian/NetBeansProjects/werp-services/src/test/java/com/qsoft/test/Tester.java

View File

@ -0,0 +1,65 @@
<?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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 B

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------------------
Test set: com.qsoft.test.Tester
-------------------------------------------------------------------------------
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.681 sec

View File

@ -0,0 +1,71 @@
<html>
<head>
<title>TestNG: Command line test</title>
<link href="../testng.css" rel="stylesheet" type="text/css" />
<link href="../my-testng.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.log { display: none;}
.stack-trace { display: none;}
</style>
<script type="text/javascript">
<!--
function flip(e) {
current = e.style.display;
if (current == 'block') {
e.style.display = 'none';
return 0;
}
else {
e.style.display = 'block';
return 1;
}
}
function toggleBox(szDivId, elem, msg1, msg2)
{
var res = -1; if (document.getElementById) {
res = flip(document.getElementById(szDivId));
}
else if (document.all) {
// this is the way old msie versions work
res = flip(document.all[szDivId]);
}
if(elem) {
if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;
}
}
function toggleAllBoxes() {
if (document.getElementsByTagName) {
d = document.getElementsByTagName('div');
for (i = 0; i < d.length; i++) {
if (d[i].className == 'log') {
flip(d[i]);
}
}
}
}
// -->
</script>
</head>
<body>
<h2 align='center'>Command line test</h2><table border='1' align="center">
<tr>
<td>Tests passed/Failed/Skipped:</td><td>0/0/0</td>
</tr><tr>
<td>Started on:</td><td>Tue Jul 28 11:32:00 ECT 2020</td>
</tr>
<tr><td>Total time:</td><td>0 seconds (7 ms)</td>
</tr><tr>
<td>Included groups:</td><td></td>
</tr><tr>
<td>Excluded groups:</td><td></td>
</tr>
</table><p/>
<small><i>(Hover the method name to see the test class name)</i></small><p/>
</body>
</html>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- 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>

View File

@ -0,0 +1,17 @@
<!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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 977 B

View File

@ -0,0 +1,191 @@
<!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>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;!DOCTYPE suite SYSTEM &quot;http://testng.org/testng-1.0.dtd&quot;&gt;
&lt;suite name=&quot;com.qsoft.test.Tester&quot; verbose=&quot;0&quot;&gt;
&lt;test thread-count=&quot;5&quot; name=&quot;Command line test&quot; verbose=&quot;0&quot;&gt;
&lt;classes&gt;
&lt;class name=&quot;com.qsoft.test.Tester&quot;/&gt;
&lt;/classes&gt;
&lt;/test&gt; &lt;!-- Command line test --&gt;
&lt;/suite&gt; &lt;!-- com.qsoft.test.Tester --&gt;
</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>

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 B

View File

@ -0,0 +1 @@
[SuiteResult context=Command line test]

View File

@ -0,0 +1,6 @@
<table border='1'>
<tr>
<th>Class name</th>
<th>Method name</th>
<th>Groups</th>
</tr></table>

View File

@ -0,0 +1 @@
<h2>Groups used for this test run</h2>

View File

@ -0,0 +1,6 @@
<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>

View File

@ -0,0 +1,2 @@
<html><head><title>Results for com.qsoft.test.Tester</title></head>
<body>Select a result on the left-hand pane.</body></html>

View File

@ -0,0 +1,2 @@
<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; 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>

View File

@ -0,0 +1,2 @@
<h2>Methods that were not run</h2><table>
</table>

View File

@ -0,0 +1,2 @@
<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; 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>

View File

@ -0,0 +1 @@
<h2>Reporter output</h2><table></table>

View File

@ -0,0 +1 @@
<html><head><title>testng.xml for com.qsoft.test.Tester</title></head><body><tt>&lt;?xml&nbsp;version="1.0"&nbsp;encoding="UTF-8"?&gt;<br/>&lt;!DOCTYPE&nbsp;suite&nbsp;SYSTEM&nbsp;"http://testng.org/testng-1.0.dtd"&gt;<br/>&lt;suite&nbsp;name="com.qsoft.test.Tester"&nbsp;verbose="0"&gt;<br/>&nbsp;&nbsp;&lt;test&nbsp;thread-count="5"&nbsp;name="Command&nbsp;line&nbsp;test"&nbsp;verbose="0"&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.qsoft.test.Tester"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt;<br/>&nbsp;&nbsp;&lt;/test&gt;&nbsp;&lt;!--&nbsp;Command&nbsp;line&nbsp;test&nbsp;--&gt;<br/>&lt;/suite&gt;&nbsp;&lt;!--&nbsp;com.qsoft.test.Tester&nbsp;--&gt;<br/></tt></body></html>

View File

@ -0,0 +1,30 @@
<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/>
&nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><br/>
&nbsp;&nbsp;<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>
&nbsp;&nbsp;<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>

View File

@ -0,0 +1,9 @@
<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>&nbsp;</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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1019 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

View File

@ -0,0 +1,309 @@
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;
}

View File

@ -0,0 +1,122 @@
$(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
});
}
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<testng-results ignored="0" total="0" passed="0" failed="0" skipped="0">
<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">
<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> <!-- Command line test -->
</suite> <!-- com.qsoft.test.Tester -->
</testng-results>

View File

@ -0,0 +1,9 @@
.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;
}

Binary file not shown.

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/erp-services"/>

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -0,0 +1,8 @@
<?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>

View File

@ -0,0 +1,4 @@
<?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>

Some files were not shown because too many files have changed in this diff Show More