[jbosstools-commits] JBoss Tools SVN: r43801 - in trunk/ws/tests/org.jboss.tools.ws.ui.bot.test: src/org/jboss/tools/ws/ui/bot/test/webservice/eap and 1 other directory.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Tue Sep 18 11:25:01 EDT 2012


Author: jjankovi
Date: 2012-09-18 11:25:00 -0400 (Tue, 18 Sep 2012)
New Revision: 43801

Modified:
   trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/jbossws/AreaWS.java.ws
   trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/webservice/eap/EAPFromWSDLTest.java
Log:
fixing EAP from wsdl test

Modified: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/jbossws/AreaWS.java.ws
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/jbossws/AreaWS.java.ws	2012-09-18 15:21:45 UTC (rev 43800)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/jbossws/AreaWS.java.ws	2012-09-18 15:25:00 UTC (rev 43801)
@@ -1,6 +1,8 @@
-package org.jboss.ws;
+package org.jboss.ws.impl;
  
 import javax.jws.WebService;
+import org.jboss.ws.AreaService;
+import org.jboss.ws.Dimensions;
  
 @WebService(serviceName = "AreaService",
             endpointInterface = "org.jboss.ws.AreaService")

Modified: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/webservice/eap/EAPFromWSDLTest.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/webservice/eap/EAPFromWSDLTest.java	2012-09-18 15:21:45 UTC (rev 43800)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/webservice/eap/EAPFromWSDLTest.java	2012-09-18 15:25:00 UTC (rev 43801)
@@ -121,7 +121,7 @@
 		IProject project = ResourcesPlugin.getWorkspace().getRoot()
 				.getProject(getWsProjectName());
 		IFile f = project.getFile("src/" + getWsPackage().replace(".", "/")
-				+ "/AreaServiceImpl.java");
+				+ "/impl" + "/AreaServiceImpl.java");
 		/*
 		 * workaround when package is not typed
 		 */
@@ -141,7 +141,7 @@
 		content = resourceHelper.readFile(f);
 		Assert.assertNotNull(content);
 		Assert.assertTrue(content
-				.contains("<servlet-class>org.jboss.ws.AreaServiceImpl</servlet-class>"));
+				.contains("<servlet-class>org.jboss.ws.impl.AreaServiceImpl</servlet-class>"));
 		Assert.assertTrue(content
 				.contains("<url-pattern>/AreaService</url-pattern>"));
 		deploymentHelper.runProject(getEarProjectName());



More information about the jbosstools-commits mailing list