Author: richard.opalka(a)jboss.com
Date: 2012-10-11 05:05:09 -0400 (Thu, 11 Oct 2012)
New Revision: 16851
Modified:
stack/cxf/branches/jbossws-cxf-4.0.x/
stack/cxf/branches/jbossws-cxf-4.0.x/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/httpproxy/HTTPProxyWSDLTestCase.java
Log:
Backporting http proxy test fix
Blocked revisions 16716,16822 via svnmerge
.......
r16716 | alessio.soldano(a)jboss.com | 2012-09-12 18:06:05 +0200 (Wed, 12 Sep 2012) | 2
lines
Moving http proxy testcase to forked VM execution as playing with client system
properties does not fit multithread execution...
.......
r16822 | alessio.soldano(a)jboss.com | 2012-10-08 11:09:49 +0200 (Mon, 08 Oct 2012) | 2
lines
Fixing HTTPProxyTestCaseForked and moving to cxf 2.6.3-SNAPSHOT
.......
Property changes on: stack/cxf/branches/jbossws-cxf-4.0.x
___________________________________________________________________
Modified: svnmerge-blocked
-
https://svn.jboss.org/repos/jbossws/stack/cxf/trunk:15645-15648,15650,156...
+
https://svn.jboss.org/repos/jbossws/stack/cxf/trunk:15645-15648,15650,156...
Modified:
stack/cxf/branches/jbossws-cxf-4.0.x/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/httpproxy/HTTPProxyWSDLTestCase.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-4.0.x/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/httpproxy/HTTPProxyWSDLTestCase.java 2012-10-11
08:54:21 UTC (rev 16850)
+++
stack/cxf/branches/jbossws-cxf-4.0.x/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/httpproxy/HTTPProxyWSDLTestCase.java 2012-10-11
09:05:09 UTC (rev 16851)
@@ -58,8 +58,8 @@
{
Authenticator.setDefault(new ProxyAuthenticator(PROXY_USER, PROXY_PWD));
String endpointAddress = "http://unreachable-testWSDLHttpProxy" +
ENDPOINT_PATH;
- StringBuffer sb = readContent(new URL(endpointAddress + "?wsdl"));
- assertTrue(sb.toString().contains("wsdl:definitions
name=\"HelloWorldService\""));
+ String c = readContent(new URL(endpointAddress +
"?wsdl")).toString();
+ assertTrue(c.contains("wsdl:definitions") && c.contains("
name=\"HelloWorldService\""));
}
finally
{