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 st...@apache.org on 2003/04/25 07:18:54 UTC

cvs commit: xml-axis/java/test/faults TestAxisFault.java

stevel      2003/04/24 22:18:54

  Modified:    java/test/faults TestAxisFault.java
  Log:
  new assertions (that all work for me)
  
  Revision  Changes    Path
  1.4       +4 -1      xml-axis/java/test/faults/TestAxisFault.java
  
  Index: TestAxisFault.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/faults/TestAxisFault.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestAxisFault.java	22 Apr 2003 19:36:48 -0000	1.3
  +++ TestAxisFault.java	25 Apr 2003 05:18:54 -0000	1.4
  @@ -118,7 +118,10 @@
           Element stackTrace;
           stackTrace = af.lookupFaultDetail(Constants.QNAME_FAULTDETAIL_STACKTRACE);
           assertNull(stackTrace);
  -
  +        String text=af.getFaultString();
  +        assertNotNull(text);
  +        text=af.toString();
  +        assertNotNull(text);
       }
   
       /**