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 sc...@apache.org on 2002/10/11 00:04:12 UTC

cvs commit: xml-axis/java/test/wsdl/roundtrip RoundtripTestServiceTestCase.java RoundtripTestSoapBindingImpl.java

scheu       2002/10/10 15:04:12

  Modified:    java/test/wsdl/roundtrip RoundtripTestServiceTestCase.java
                        RoundtripTestSoapBindingImpl.java
  Log:
  I tried running the roundtrip fault tests with checks to see if
  the data is being flowed over the wire.
  
  Apparently this is not working yet.  Uncomment the asserts when
  this is implemented.
  
  Revision  Changes    Path
  1.18      +6 -0      xml-axis/java/test/wsdl/roundtrip/RoundtripTestServiceTestCase.java
  
  Index: RoundtripTestServiceTestCase.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/wsdl/roundtrip/RoundtripTestServiceTestCase.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- RoundtripTestServiceTestCase.java	20 Aug 2002 15:29:01 -0000	1.17
  +++ RoundtripTestServiceTestCase.java	10 Oct 2002 22:04:11 -0000	1.18
  @@ -1249,6 +1249,9 @@
               fail("Should have received an InvalidTickerSymbol exception.");
           } catch (InvalidTickerSymbol its) {
               // Test was successful
  +            //assertEquals("The expected and actual values did not match.",
  +            //             its.getTickerSymbol(),
  +            //             "ABC");
           } catch(RemoteException re) {
               fail("Remote Exception caught: " + re);
           }
  @@ -1266,6 +1269,9 @@
               fail("TRY: Should have received an InvalidTradeExchange exception.");
           } catch (InvalidTradeExchange ite) {
               // Test was successful
  +            //assertEquals("The expected and actual values did not match.",
  +            //             ite.getTradeExchange(),
  +            //             "XYZ");
           } catch (InvalidTickerSymbol its) {
               fail("ITS: Should have received an InvalidTradeExchange exception.");
           } catch (InvalidCompanyId ici) {
  
  
  
  1.15      +2 -2      xml-axis/java/test/wsdl/roundtrip/RoundtripTestSoapBindingImpl.java
  
  Index: RoundtripTestSoapBindingImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/wsdl/roundtrip/RoundtripTestSoapBindingImpl.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- RoundtripTestSoapBindingImpl.java	25 Jul 2002 16:42:06 -0000	1.14
  +++ RoundtripTestSoapBindingImpl.java	10 Oct 2002 22:04:11 -0000	1.15
  @@ -678,7 +678,7 @@
       public void throwInvalidTickerException() 
           throws InvalidTickerSymbol, RemoteException {
   
  -        throw new InvalidTickerSymbol("Invalid Ticker Symbol Received");
  +        throw new InvalidTickerSymbol("ABC");
   
       } // throwInvalidTickerSymbol
   
  @@ -688,7 +688,7 @@
                    InvalidCompanyId,
                    RemoteException {
   
  -        throw new InvalidTradeExchange("Invalid Trade Exchange Received");
  +        throw new InvalidTradeExchange("XYZ");
   
       } // throwInvalidTradeExchange