Author: alessio.soldano(a)jboss.com
Date: 2008-05-22 11:56:17 -0400 (Thu, 22 May 2008)
New Revision: 7142
Modified:
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/interop/InteropClientConfig.java
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/interop/InteropConfigFactory.java
Log:
Fixing interop test case regressions
Modified:
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/interop/InteropClientConfig.java
===================================================================
---
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/interop/InteropClientConfig.java 2008-05-22
15:38:13 UTC (rev 7141)
+++
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/interop/InteropClientConfig.java 2008-05-22
15:56:17 UTC (rev 7142)
@@ -76,7 +76,7 @@
}
catch (Exception e)
{
- throw new IllegalArgumentException(e.getMessage());
+ throw new IllegalArgumentException(e);
}
return cs;
Modified:
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/interop/InteropConfigFactory.java
===================================================================
---
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/interop/InteropConfigFactory.java 2008-05-22
15:38:13 UTC (rev 7141)
+++
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/interop/InteropConfigFactory.java 2008-05-22
15:56:17 UTC (rev 7142)
@@ -73,7 +73,11 @@
public ClientScenario createClientScenario(String scenarioName)
{
InteropClientConfig clientConfig = createClientConfig();
- ClientScenario sc = clientConfig.getScenario(scenarioName);
+ ClientScenario sc = null;
+ if (scenarioName != null)
+ {
+ sc = clientConfig.getScenario(scenarioName);
+ }
if(null==sc)
sc = clientConfig.getScenario("default");
Show replies by date