harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r406896 - /incubator/harmony/enhanced/classlib/trunk/modules/security/src/test/java/common/org/apache/harmony/security/support/SerializationTest.java
Date Tue, 16 May 2006 10:30:15 GMT
Author: smishura
Date: Tue May 16 03:30:13 2006
New Revision: 406896

URL: http://svn.apache.org/viewcvs?rev=406896&view=rev
Log:
Adding assert for class

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/security/src/test/java/common/org/apache/harmony/security/support/SerializationTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/security/src/test/java/common/org/apache/harmony/security/support/SerializationTest.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/security/src/test/java/common/org/apache/harmony/security/support/SerializationTest.java?rev=406896&r1=406895&r2=406896&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security/src/test/java/common/org/apache/harmony/security/support/SerializationTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security/src/test/java/common/org/apache/harmony/security/support/SerializationTest.java
Tue May 16 03:30:13 2006
@@ -247,6 +247,9 @@
             Throwable refThr = (Throwable) reference;
             Throwable tstThr = (Throwable) test;
 
+            // verify class
+            TestCase.assertEquals(refThr.getClass(), tstThr.getClass());
+
             // verify message
             TestCase.assertEquals(refThr.getMessage(), tstThr.getMessage());
 



Mime
View raw message