Added ObjectConfiguration as a holder for setter configuration (there will be more...
authorErik Brakkee <erik@brakkee.org>
Mon, 12 May 2008 11:21:43 +0000 (11:21 +0000)
committerErik Brakkee <erik@brakkee.org>
Mon, 12 May 2008 11:21:43 +0000 (11:21 +0000)
Also added addComponent methods for objects to defaultcontainer.

support/general/src/test/java/org/wamblee/test/AssertionUtils.java

index 824620418797fc7c42dc2688457c789b6a85a325..86585f29ed711d7be6488aab78b4cd2882afd72f 100644 (file)
@@ -64,7 +64,9 @@ public final class AssertionUtils {
      */
     public static <T> void assertEquals(String aMsg, T[] aExpected,
             T[] aActual) {
-        TestCase.assertEquals(aMsg + ": Array lengths ", aExpected.length,
+        TestCase.assertEquals(aMsg + " expected " + 
+                Arrays.asList(aExpected) + ", actual " + 
+                Arrays.asList(aActual) + ": Array lengths ", aExpected.length,
                 aActual.length);
 
         for (int i = 0; i < aExpected.length; i++) {