[jbosstools-commits] JBoss Tools SVN: r23762 - trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Wed Jul 28 03:39:17 EDT 2010


Author: Grid.Qian
Date: 2010-07-28 03:39:16 -0400 (Wed, 28 Jul 2010)
New Revision: 23762

Modified:
   trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/JBossWSClientCommandTest.java
   trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/JBossWSTopDownCommandTest.java
Log:
JBIDE-6591: modify the unit test for the bug

Modified: trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/JBossWSClientCommandTest.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/JBossWSClientCommandTest.java	2010-07-28 07:17:26 UTC (rev 23761)
+++ trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/JBossWSClientCommandTest.java	2010-07-28 07:39:16 UTC (rev 23762)
@@ -84,6 +84,7 @@
 		IFile wsdlFile = fproject.getProject().getFile(wsdlFileName);
 		ServiceModel model = new ServiceModel();
 		model.setWebProjectName(fproject.getProject().getName());
+		model.setCustomPackage("org.apache.hello_world_soap_http");
 		// model.setWsdlURI(wsdlFile.getLocation().toOSString());
 
 		WebServiceClientInfo info = new WebServiceClientInfo();
@@ -101,7 +102,6 @@
 		assertTrue(model.getPortTypes().contains("Greeter"));
 		assertEquals("org.apache.hello_world_soap_http", model
 				.getCustomPackage());
-
 	}
 
 	public void testClientCodeGenerationCommand() throws ExecutionException {

Modified: trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/JBossWSTopDownCommandTest.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/JBossWSTopDownCommandTest.java	2010-07-28 07:17:26 UTC (rev 23761)
+++ trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/JBossWSTopDownCommandTest.java	2010-07-28 07:39:16 UTC (rev 23762)
@@ -96,6 +96,7 @@
 		IFile wsdlFile = fproject.getProject().getFile(wsdlFileName);
 		ServiceModel model = new ServiceModel();
 		model.setWebProjectName(fproject.getProject().getName());
+		model.setCustomPackage("org.apache.hello_world_soap_http");
 		//model.setWsdlURI(wsdlFile.getLocation().toOSString());
 
 		
@@ -195,6 +196,7 @@
 		IFile wsdlFile = fproject.getProject().getFile(wsdlFileName);
 		ServiceModel model = new ServiceModel();
 		model.setWebProjectName(fproject.getProject().getName());
+		model.setCustomPackage("org.apache.hello_world_soap_http");
 		//model.setWsdlURI(wsdlFile.getLocation().toOSString());
 
 		



More information about the jbosstools-commits mailing list