harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r483355 - /harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ArraysTest.java
Date Thu, 07 Dec 2006 06:27:15 GMT
Author: smishura
Date: Wed Dec  6 22:27:14 2006
New Revision: 483355

URL: http://svn.apache.org/viewvc?view=rev&rev=483355
Log:
Migrate to new serialization testing framework

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ArraysTest.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ArraysTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ArraysTest.java?view=diff&rev=483355&r1=483354&r2=483355
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ArraysTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ArraysTest.java
Wed Dec  6 22:27:14 2006
@@ -23,10 +23,10 @@
 import java.util.List;
 import java.util.RandomAccess;
 
-import tests.util.SerializationTester;
-
 import junit.framework.TestCase;
 
+import org.apache.harmony.testframework.serialization.SerializationTest;
+
 public class ArraysTest extends TestCase {
 
 	/**
@@ -341,7 +341,9 @@
         assertEquals("1", stringsList.get(1));
         assertTrue(stringsList instanceof RandomAccess);
         assertTrue(stringsList instanceof Serializable);
-        SerializationTester.assertEquals(stringsList);
+        
+        assertEquals(stringsList, SerializationTest
+                .copySerializable((Serializable) stringsList));
         
         //test from javadoc
         List<String> stooges = Arrays.asList("Larry", "Moe", "Curly");



Mime
View raw message