Author: jlukas(a)redhat.com
Date: 2010-11-24 07:06:15 -0500 (Wed, 24 Nov 2010)
New Revision: 26876
Modified:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WSAllBotTests.java
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/jbt/SampleWSTest.java
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/wtp/WSTestBase.java
Log:
minor improvements
Modified:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WSAllBotTests.java
===================================================================
---
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WSAllBotTests.java 2010-11-24
11:27:52 UTC (rev 26875)
+++
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WSAllBotTests.java 2010-11-24
12:06:15 UTC (rev 26876)
@@ -26,5 +26,4 @@
})
@RunWith(RequirementAwareSuite.class)
public class WSAllBotTests {
-
}
Modified:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/jbt/SampleWSTest.java
===================================================================
---
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/jbt/SampleWSTest.java 2010-11-24
11:27:52 UTC (rev 26875)
+++
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/jbt/SampleWSTest.java 2010-11-24
12:06:15 UTC (rev 26876)
@@ -55,6 +55,16 @@
return "SampleSOAPWS";
}
+ @Override
+ protected String getWsPackage() {
+ return null;
+ }
+
+ @Override
+ protected String getWsName() {
+ return null;
+ }
+
@Test
public void testSampleSoapWS() {
IFile dd = getDD(getWsProjectName());
@@ -181,16 +191,4 @@
}
return "";
}
-
- @Override
- protected String getWsPackage() {
- // TODO Auto-generated method stub
- return null;
- }
-
- @Override
- protected String getWsName() {
- // TODO Auto-generated method stub
- return null;
- }
}
Modified:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/wtp/WSTestBase.java
===================================================================
---
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/wtp/WSTestBase.java 2010-11-24
11:27:52 UTC (rev 26875)
+++
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/wtp/WSTestBase.java 2010-11-24
12:06:15 UTC (rev 26876)
@@ -256,11 +256,9 @@
assertEquals("Service was not sucessfully deployed, WSDL '" + wsdlURL +
"' was not found",
HttpURLConnection.HTTP_OK, connection.getResponseCode());
} catch (MalformedURLException e1) {
- // TODO Auto-generated catch block
- e1.printStackTrace();
+ throw new RuntimeException(e1);
} catch (IOException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
+ throw new RuntimeException(e);
} finally {
if (connection != null) {
connection.disconnect();
@@ -276,11 +274,9 @@
assertEquals("Project was not sucessfully undeployed, WSDL '" + wsdlURL
+ "' is still available",
HttpURLConnection.HTTP_NOT_FOUND, connection.getResponseCode());
} catch (MalformedURLException e1) {
- // TODO Auto-generated catch block
- e1.printStackTrace();
+ throw new RuntimeException(e1);
} catch (IOException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
+ throw new RuntimeException(e);
} finally {
if (connection != null) {
connection.disconnect();
@@ -296,11 +292,9 @@
String rsp = readStream(is);
assertContains(response, rsp);
} catch (MalformedURLException e1) {
- // TODO Auto-generated catch block
- e1.printStackTrace();
+ throw new RuntimeException(e1);
} catch (IOException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
+ throw new RuntimeException(e);
} finally {
if (is != null) {
try {
Show replies by date