axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: xml-axis/java/test/functional TestStockSample.java
Date Wed, 17 Oct 2001 17:39:49 GMT
bloritsch    01/10/17 10:39:49

  Modified:    java/test/functional TestStockSample.java
  Log:
  Add failure messages
  
  Revision  Changes    Path
  1.9       +3 -3      xml-axis/java/test/functional/TestStockSample.java
  
  Index: TestStockSample.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/functional/TestStockSample.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- TestStockSample.java	2001/09/05 17:23:01	1.8
  +++ TestStockSample.java	2001/10/17 17:39:49	1.9
  @@ -93,7 +93,7 @@
             // e.printStackTrace();
             return;
           }
  -        assertNull("not null");
  +        assertNull("-sjws/AltStockQuoteService.jws did not fail as expected.");
       }
       
       public void doTestDeploy () throws Exception {
  @@ -104,13 +104,13 @@
       public void doTestStock () throws Exception {
           String[] args = { "-uuser1", "-wpass1", "XXX" };
           float val = new GetQuote().getQuote(args);
  -        assertEquals("TestStockSample.doTestStock(): stock price is 55.25", val, 55.25,
0.01);
  +        assertEquals("Stock price is not the expected 55.25 +/- 0.01", val, 55.25, 0.01);
       }
       
       public void doTestStockNoAction () throws Exception {
           String[] args = { "-uuser1", "-wpass1", "XXX_noaction" };
           float val = new GetQuote().getQuote(args);
  -        assertEquals("TestStockSample.doTestStock(): stock price is 55.25", val, 55.25,
0.01);
  +        assertEquals("Stock price is not the expected 55.25 +/- 0.01", val, 55.25, 0.01);
       }
       
       public void doTestUndeploy () throws Exception {
  
  
  

Mime
View raw message