Author: alessio.soldano(a)jboss.com
Date: 2012-07-26 10:05:19 -0400 (Thu, 26 Jul 2012)
New Revision: 16551
Modified:
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/clientConfig/ClientConfigurationTestCase.java
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/clientConfig/Helper.java
Log:
[JBWS-3529] Fixing common testcase
Modified:
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/clientConfig/ClientConfigurationTestCase.java
===================================================================
---
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/clientConfig/ClientConfigurationTestCase.java 2012-07-26
14:04:53 UTC (rev 16550)
+++
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/clientConfig/ClientConfigurationTestCase.java 2012-07-26
14:05:19 UTC (rev 16551)
@@ -47,11 +47,15 @@
* Verifies the client configurer is properly resolved
*/
public void testClientConfigurer() {
- assertTrue(getHelper().testClientConfigurer());
+ if (isIntegrationCXF()) {
+ assertTrue(getHelper().testClientConfigurer());
+ }
}
public void testClientConfigurerInContainer() throws Exception {
- assertEquals("1", runTestInContainer("testClientConfigurer"));
+ if (isIntegrationCXF()) {
+ assertEquals("1",
runTestInContainer("testClientConfigurer"));
+ }
}
/**
Modified:
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/clientConfig/Helper.java
===================================================================
---
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/clientConfig/Helper.java 2012-07-26
14:04:53 UTC (rev 16550)
+++
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/clientConfig/Helper.java 2012-07-26
14:05:19 UTC (rev 16551)
@@ -49,7 +49,7 @@
if (configurer == null) {
return false;
}
- return
"org.jboss.ws.common.configuration.ConfigHelper".equals(configurer.getClass().getName());
+ return
"org.jboss.wsf.stack.cxf.client.configuration.CXFClientConfigurer".equals(configurer.getClass().getName());
}
public boolean testCustomClientConfigurationFromFile() throws Exception
Show replies by date