You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by va...@apache.org on 2011/01/07 03:03:04 UTC

svn commit: r1056160 - /ode/trunk/axis2-war/src/test/java/org/apache/ode/axis2/management/RetireTestVar.java

Author: vanto
Date: Fri Jan  7 02:03:04 2011
New Revision: 1056160

URL: http://svn.apache.org/viewvc?rev=1056160&view=rev
Log:
test should tell what is going wrong.

Modified:
    ode/trunk/axis2-war/src/test/java/org/apache/ode/axis2/management/RetireTestVar.java

Modified: ode/trunk/axis2-war/src/test/java/org/apache/ode/axis2/management/RetireTestVar.java
URL: http://svn.apache.org/viewvc/ode/trunk/axis2-war/src/test/java/org/apache/ode/axis2/management/RetireTestVar.java?rev=1056160&r1=1056159&r2=1056160&view=diff
==============================================================================
--- ode/trunk/axis2-war/src/test/java/org/apache/ode/axis2/management/RetireTestVar.java (original)
+++ ode/trunk/axis2-war/src/test/java/org/apache/ode/axis2/management/RetireTestVar.java Fri Jan  7 02:03:04 2011
@@ -49,7 +49,7 @@ public class RetireTestVar extends Axis2
         response = sendRequestFile("http://localhost:8888/processes/testretire",
                 bundleName + "/1", "testRequest2.soap");
 
-        assertTrue(response.indexOf("DONE") > 0);
+        assertTrue("'" + response + "' does not contain 'DONE'.", response.indexOf("DONE") > 0);
 
         sendRequestFile("http://localhost:8888/processes/testretire",
                 bundleName + "/1", "testRequest1.soap");
@@ -57,6 +57,6 @@ public class RetireTestVar extends Axis2
         response = sendRequestFile("http://localhost:8888/processes/testretire",
                 bundleName + "/1", "testRequest2.soap");
 
-        assertTrue(response.indexOf("XYZ") > 0);
+        assertTrue("'" + response + "' does not contain 'XYZ'.", response.indexOf("XYZ") > 0);
     }
 }