[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-cvs
Subject:    svn commit: r661240 -
From:       davidillsley () apache ! org
Date:       2008-05-29 7:33:46
Message-ID: 20080529073346.AFEF92388A06 () eris ! apache ! org
[Download RAW message or body]

Author: davidillsley
Date: Thu May 29 00:33:46 2008
New Revision: 661240

URL: http://svn.apache.org/viewvc?rev=661240&view=rev
Log:
add throws Exception rather than catch(){fail()} to ease debug by providing the full \
stack trace.

Modified:
    webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SAAJResultTest.java


Modified: webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SAAJResultTest.java
                
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SAAJResultTest.java?rev=661240&r1=661239&r2=661240&view=diff
 ==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SAAJResultTest.java \
                (original)
+++ webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SAAJResultTest.java \
Thu May 29 00:33:46 2008 @@ -53,13 +53,9 @@
     }
 
 
-    public void testGetResult() {
-        try {
-            SAAJResult sr = new SAAJResult();
-            Node node = sr.getResult();
-            assertNull(node);
-        } catch (Exception e) {
-            fail("Exception: " + e);
-        }
+    public void testGetResult() throws Exception{
+    	SAAJResult sr = new SAAJResult();
+    	Node node = sr.getResult();
+    	assertNull(node);
     }
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic