maven-surefire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r597502 - /maven/surefire/trunk/surefire-booter/src/test/java/org/apache/maven/surefire/booter/BooterConversionTest.java
Date Thu, 22 Nov 2007 21:48:41 GMT
Author: olamy
Date: Thu Nov 22 13:48:39 2007
New Revision: 597502

URL: http://svn.apache.org/viewvc?rev=597502&view=rev
Log:
restore 1.4 compilation

Modified:
    maven/surefire/trunk/surefire-booter/src/test/java/org/apache/maven/surefire/booter/BooterConversionTest.java

Modified: maven/surefire/trunk/surefire-booter/src/test/java/org/apache/maven/surefire/booter/BooterConversionTest.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-booter/src/test/java/org/apache/maven/surefire/booter/BooterConversionTest.java?rev=597502&r1=597501&r2=597502&view=diff
==============================================================================
--- maven/surefire/trunk/surefire-booter/src/test/java/org/apache/maven/surefire/booter/BooterConversionTest.java
(original)
+++ maven/surefire/trunk/surefire-booter/src/test/java/org/apache/maven/surefire/booter/BooterConversionTest.java
Thu Nov 22 13:48:39 2007
@@ -66,14 +66,14 @@
     public void doTest(Object o) throws Exception {
         String serialized = serialize( o );
         Object[] output = deserialize( serialized, o.getClass().getName() );
-        assertEquals ( "Wrong number of output elements: " + Arrays.toString( output ), 1,
output.length);
+        assertEquals ( "Wrong number of output elements: " + Arrays.asList( output ), 1,
output.length);
         assertEquals ( o, output[0] );
     }
     
     public void doTestArray(Object[] o) throws Exception {
         String serialized = serialize( o );
         Object[] output = deserialize( serialized, o.getClass().getName() );
-        assertEquals ( "Wrong number of output elements: " + Arrays.toString( output ), 1,
output.length);
+        assertEquals ( "Wrong number of output elements: " + Arrays.asList( output ), 1,
output.length);
         assertArrayEquals ( "Deserialized array didn't match", o, (Object[])output[0] );
     }
     



Mime
View raw message