harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r483855 - /harmony/enhanced/classlib/trunk/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java
Date Fri, 08 Dec 2006 06:51:05 GMT
Author: smishura
Date: Thu Dec  7 22:51:04 2006
New Revision: 483855

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

Modified:
    harmony/enhanced/classlib/trunk/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java

Modified: harmony/enhanced/classlib/trunk/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java?view=diff&rev=483855&r1=483854&r2=483855
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java
Thu Dec  7 22:51:04 2006
@@ -28,10 +28,13 @@
 import java.text.ParsePosition;
 import java.util.Currency;
 import java.util.Locale;
+
 import junit.framework.TestCase;
+
+import org.apache.harmony.testframework.serialization.SerializationTest;
+
 import tests.support.Support_BitSet;
 import tests.support.Support_DecimalFormat;
-import tests.util.SerializationTester;
 
 public class DecimalFormatTest extends TestCase {
 
@@ -1486,11 +1489,10 @@
     }
 
     /**
-     * @tests serialization/deserialization
+     * @tests serialization/deserialization compatibility.
      */
-    public void test_serializationHarmonyCompatible() throws Exception {
-        DecimalFormat df = new DecimalFormat();
-        assertTrue(SerializationTester.assertEquals(df));
+    public void testSerializationSelf() throws Exception {
+        SerializationTest.verifySelf(new DecimalFormat());
     }
 
     /**



Mime
View raw message