axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From whitl...@apache.org
Subject cvs commit: xml-axis-wsif/java/test/faults FaultMsgTest.java
Date Wed, 10 Jul 2002 13:39:10 GMT
whitlock    2002/07/10 06:39:09

  Modified:    java/test/faults FaultMsgTest.java
  Log:
  Fix typo
  
  Revision  Changes    Path
  1.6       +7 -7      xml-axis-wsif/java/test/faults/FaultMsgTest.java
  
  Index: FaultMsgTest.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/test/faults/FaultMsgTest.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- FaultMsgTest.java	10 Jul 2002 13:26:50 -0000	1.5
  +++ FaultMsgTest.java	10 Jul 2002 13:39:09 -0000	1.6
  @@ -199,13 +199,13 @@
               Object fobject = fault1.getObjectPart(WSIFConstants.SOAP_FAULT_OBJECT);
   
               assertEquals("fault message name", WSIFConstants.SOAP_FAULT_MSG_NAME, name);
  -//            if ("axis".equals(protocol)) {
  -//                assertTrue("fault obj type", fobject instanceof org.apache.axis.AxisFault);
  -//                System.out.println( "AxisFault=" + fobject );
  -//            } else {
  -//                assertTrue("fault obj type", fobject instanceof org.apache.soap.Fault);
  -//                System.out.println( "SOAPFault=" + fobject );
  -//            }
  +            if ("axis".equals(protocol)) {
  +                assertTrue("fault obj type", fobject instanceof org.apache.axis.AxisFault);
  +                System.out.println( "AxisFault=" + fobject );
  +            } else {
  +                assertTrue("fault obj type", fobject instanceof org.apache.soap.Fault);
  +                System.out.println( "SOAPFault=" + fobject );
  +            }
   
               // now a call where the remote service returns a fault;
               //  doesn't seem any diff?
  
  
  

Mime
View raw message