Author: jason.greene(a)jboss.com
Date: 2007-01-31 14:43:15 -0500 (Wed, 31 Jan 2007)
New Revision: 2219
Modified:
trunk/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jaxws/WebServiceGeneratorTestCase.java
Log:
Fix test case broken because of the jsr181 -> samples refactor
Modified:
trunk/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jaxws/WebServiceGeneratorTestCase.java
===================================================================
---
trunk/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jaxws/WebServiceGeneratorTestCase.java 2007-01-31
19:09:09 UTC (rev 2218)
+++
trunk/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jaxws/WebServiceGeneratorTestCase.java 2007-01-31
19:43:15 UTC (rev 2219)
@@ -62,8 +62,8 @@
private void checkWrapperSource(File outputDir, boolean shouldExist)
{
- File file1 = new File(outputDir,
"org/jboss/test/ws/jaxws/jsr181/soapbinding/jaxws/SubmitPO.java");
- File file2 = new File(outputDir,
"org/jboss/test/ws/jaxws/jsr181/soapbinding/jaxws/SubmitPOResponse.java");
+ File file1 = new File(outputDir,
"org/jboss/test/ws/jaxws/samples/soapbinding/jaxws/SubmitPO.java");
+ File file2 = new File(outputDir,
"org/jboss/test/ws/jaxws/samples/soapbinding/jaxws/SubmitPOResponse.java");
assertEquals(shouldExist, file1.exists());
assertEquals(shouldExist, file2.exists());
}
@@ -74,12 +74,12 @@
URLClassLoader classLoader = new URLClassLoader(new URL[]{outputDir.toURL()},
Thread.currentThread().getContextClassLoader());
// Check request wrapper
- Class wrapper =
JavaUtils.loadJavaType("org.jboss.test.ws.jaxws.jsr181.soapbinding.jaxws.SubmitPO",
classLoader);
+ Class wrapper =
JavaUtils.loadJavaType("org.jboss.test.ws.jaxws.samples.soapbinding.jaxws.SubmitPO",
classLoader);
wrapper.getMethod("setPurchaseOrder", PurchaseOrder.class);
assertEquals(PurchaseOrder.class.getName(),
wrapper.getMethod("getPurchaseOrder").getReturnType().getName());
// Check response wrapper
- wrapper =
JavaUtils.loadJavaType("org.jboss.test.ws.jaxws.jsr181.soapbinding.jaxws.SubmitPOResponse",
classLoader);
+ wrapper =
JavaUtils.loadJavaType("org.jboss.test.ws.jaxws.samples.soapbinding.jaxws.SubmitPOResponse",
classLoader);
wrapper.getMethod("setPurchaseOrderAck", PurchaseOrderAck.class);
assertEquals(PurchaseOrderAck.class.getName(),
wrapper.getMethod("getPurchaseOrderAck").getReturnType().getName());
}
Show replies by date