Author: heiko.braun(a)jboss.com
Date: 2007-10-08 05:25:20 -0400 (Mon, 08 Oct 2007)
New Revision: 4691
Modified:
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/smoke/tools/ScriptTestCase.java
Log:
Fix test output
Modified:
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/smoke/tools/ScriptTestCase.java
===================================================================
---
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/smoke/tools/ScriptTestCase.java 2007-10-08
09:16:54 UTC (rev 4690)
+++
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/smoke/tools/ScriptTestCase.java 2007-10-08
09:25:20 UTC (rev 4691)
@@ -69,11 +69,11 @@
Process p = executeCommand(command);
// check status code
- assertStatusCode(p);
+ assertStatusCode(p, "wsconsume");
File javaSource = new
File("wsconsume/java/org/openuri/_2004/_04/helloworld/EndpointInterface.java");
- assertTrue("Sevice endpoint interface not generated",
javaSource.exists());
+ assertTrue("Service endpoint interface not generated",
javaSource.exists());
}
public void testWSProvideFromCommandLine() throws Exception
@@ -89,7 +89,7 @@
Process p = executeCommand(command);
// check status code
- assertStatusCode(p);
+ assertStatusCode(p, "wsprovide");
File outputDir = new File("wsprovide/java");
File javaSource = new File(
@@ -114,12 +114,12 @@
return p;
}
- private void assertStatusCode(Process p)
+ private void assertStatusCode(Process p, String s)
throws InterruptedException
{
// check status code
int status = p.waitFor();
- assertTrue("wsprovide did exit with status " + status, status==0);
+ assertTrue(s +" did exit with status " + status, status==0);
}
private boolean isWindowsOS()
Show replies by date