harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lian...@apache.org
Subject svn commit: r513635 - /harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/io/ObjectStreamClassTest.java
Date Fri, 02 Mar 2007 06:48:51 GMT
Author: liangyx
Date: Thu Mar  1 22:48:50 2007
New Revision: 513635

URL: http://svn.apache.org/viewvc?view=rev&rev=513635
Log:
add serialization test for ObjectStreamClass

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/io/ObjectStreamClassTest.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/io/ObjectStreamClassTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/io/ObjectStreamClassTest.java?view=diff&rev=513635&r1=513634&r2=513635
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/io/ObjectStreamClassTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/io/ObjectStreamClassTest.java
Thu Mar  1 22:48:50 2007
@@ -123,6 +123,11 @@
 		;
 	}
 
+    public void testSerialization() {
+        ObjectStreamClass osc = ObjectStreamClass.lookup(ObjectStreamClass.class);
+        assertEquals(0, osc.getFields().length);
+    }
+    
 	/**
 	 * Sets up the fixture, for example, open a network connection. This method
 	 * is called before a test is executed.



Mime
View raw message