axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sume...@apache.org
Subject svn commit: r551850 - /webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/AddNumbersHandlerTests.java
Date Fri, 29 Jun 2007 11:07:42 GMT
Author: sumedha
Date: Fri Jun 29 04:07:39 2007
New Revision: 551850

URL: http://svn.apache.org/viewvc?view=rev&rev=551850
Log:
Added testAddNumbersClientProtoAndLogicalHandler to test run.Changed the assertion parameter.Please
refer to AXIS2-2417

Modified:
    webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/AddNumbersHandlerTests.java

Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/AddNumbersHandlerTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/AddNumbersHandlerTests.java?view=diff&rev=551850&r1=551849&r2=551850
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/AddNumbersHandlerTests.java
(original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/AddNumbersHandlerTests.java
Fri Jun 29 04:07:39 2007
@@ -287,7 +287,7 @@
     
     
     // TODO: disabled until handler support is more complete
-    public void _testAddNumbersClientProtoAndLogicalHandler() {
+    public void testAddNumbersClientProtoAndLogicalHandler() {
         try{
             TestLogger.logger.debug("----------------------------------");
             TestLogger.logger.debug("test: " + getName());
@@ -315,7 +315,11 @@
         } catch(Exception e) {
             e.printStackTrace();
             assertTrue("Exception should be SOAPFaultException", e instanceof SOAPFaultException);
-            assertEquals(((SOAPFaultException)e).getMessage(), "AddNumbersLogicalHandler2
was here");
+            //AXIS2-2417 - assertEquals(((SOAPFaultException)e).getMessage(), "AddNumbersLogicalHandler2
was here");
+            assertEquals(((SOAPFaultException)e).getMessage(), "Got value 101.  " +
+            		"AddNumbersHandlerPortTypeImpl.addNumbersHandler method is " +
+            		"correctly throwing this exception as part of testing");
+            
         }
         TestLogger.logger.debug("----------------------------------");
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message