You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by my...@apache.org on 2011/03/16 22:25:14 UTC
svn commit: r1082305 -
/db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java
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);
}
}