axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/test/functional TestEchoSample.java
Date Thu, 28 Mar 2002 22:42:03 GMT
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));
               }
  
  
  

Mime
View raw message