db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r1082305 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java
Date Wed, 16 Mar 2011 21:25:14 GMT
Author: myrnavl
Date: Wed Mar 16 21:25:14 2011
New Revision: 1082305

URL: http://svn.apache.org/viewvc?rev=1082305&view=rev
Log:
DERBY-4762; Failure in testPing
  modifying the print-out in BaseTestCase so it prints the actual expected 
  string instead of the array reference. 

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java?rev=1082305&r1=1082304&r2=1082305&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java Wed Mar
16 21:25:14 2011
@@ -514,7 +514,7 @@ public abstract class BaseTestCase
 	    if (expectedString != null) {
 	        for (int i = 0; i < expectedString.length; i++) {
 	            assertTrue("Could not find expectedString:" +
-	                    expectedString + " in output:" + output,
+	                    expectedString[i] + " in output:" + output,
 	                    output.indexOf(expectedString[i]) >= 0);
 	        }
 	    }



Mime
View raw message