Author: alessio.soldano(a)jboss.com
Date: 2013-06-10 19:11:25 -0400 (Mon, 10 Jun 2013)
New Revision: 557
Modified:
core/trunk/integration-testsuite/common/src/test/java/org/jboss/wise/test/integration/jbide14739/JBIDE14739IntegrationTest.java
Log:
[WISE-202] Cleanup testcase
Modified:
core/trunk/integration-testsuite/common/src/test/java/org/jboss/wise/test/integration/jbide14739/JBIDE14739IntegrationTest.java
===================================================================
---
core/trunk/integration-testsuite/common/src/test/java/org/jboss/wise/test/integration/jbide14739/JBIDE14739IntegrationTest.java 2013-06-10
23:07:21 UTC (rev 556)
+++
core/trunk/integration-testsuite/common/src/test/java/org/jboss/wise/test/integration/jbide14739/JBIDE14739IntegrationTest.java 2013-06-10
23:11:25 UTC (rev 557)
@@ -21,9 +21,7 @@
*/
package org.jboss.wise.test.integration.jbide14739;
-import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
-import java.io.InputStreamReader;
import java.net.URL;
import java.util.Map;
@@ -44,7 +42,6 @@
URL wsdlURL = new URL(getServerHostAndPort() +
"/jbide14739/HelloWorld?wsdl");
try {
deployWS(warUrl);
- checkWsdl(wsdlURL);
runWise(wsdlURL, "target/temp/wise/jbide14739", "echo");
} finally {
undeployWS(warUrl);
@@ -55,27 +52,12 @@
wsdlURL = new URL(getServerHostAndPort() + "/jbide14739/HelloWorld?wsdl");
try {
deployWS(warUrl);
- checkWsdl(wsdlURL);
runWise(wsdlURL, "target/temp/wise/jbide14739B", "echoB");
} finally {
undeployWS(warUrl);
}
}
- private void checkWsdl(URL wsdlURL) throws Exception {
- BufferedReader br = new BufferedReader(new InputStreamReader(wsdlURL.openStream(),
"UTF-8"));
- StringBuilder sb = new StringBuilder();
- try {
- String s;
- while ((s = br.readLine()) != null) {
- sb.append(s);
- }
- } finally {
- br.close();
- }
- System.out.println(sb.toString());
- }
-
private void runWise(URL wsdlURL, String tempDir, String methodName) throws Exception
{
WSDynamicClientBuilder clientBuilder = WSDynamicClientFactory.getJAXWSClientBuilder();
WSDynamicClient client =
clientBuilder.tmpDir(tempDir).verbose(true).keepSource(true).wsdlURL(wsdlURL
Show replies by date