You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by sm...@apache.org on 2006/12/08 07:51:05 UTC

svn commit: r483855 - /harmony/enhanced/classlib/trunk/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java

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());
     }
 
     /**