You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by gd...@apache.org on 2002/03/28 23:42:03 UTC
cvs commit: xml-axis/java/test/functional TestEchoSample.java
gdaniels 02/03/28 14:42:03
Modified: java/test/functional TestEchoSample.java
Log:
Use "test mode" for our tests.
Revision Changes Path
1.13 +3 -2 xml-axis/java/test/functional/TestEchoSample.java
Index: TestEchoSample.java
===================================================================
RCS file: /home/cvs/xml-axis/java/test/functional/TestEchoSample.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- TestEchoSample.java 19 Feb 2002 22:46:41 -0000 1.12
+++ TestEchoSample.java 28 Mar 2002 22:42:03 -0000 1.13
@@ -85,8 +85,9 @@
"samples/echo/deploy.wsdd"};
AdminClient.main(args);
- // define the tests using JUnit assert facilities
- TestClient client = new TestClient() {
+ // define the tests using JUnit assert facilities, and tell client to
+ // throw any exceptions it catches.
+ TestClient client = new TestClient(true) {
public void verify(String method, Object sent, Object gotBack) {
assertTrue("What was sent was not received--" + method + ": " + gotBack, equals(sent, gotBack));
}