harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r489266 - in /harmony/enhanced/classlib/trunk/modules/security/src/test: api/java/org/apache/harmony/security/tests/java/security/serialization/ resources/serialization/org/apache/harmony/security/tests/java/security/serialization/
Date Thu, 21 Dec 2006 06:36:37 GMT
Author: smishura
Date: Wed Dec 20 22:36:36 2006
New Revision: 489266

URL: http://svn.apache.org/viewvc?view=rev&rev=489266
Log:
Recreate golden files for UnresolvedPermissionTest.
RI wasn't able deserialize old ser-files.

see HARMONY-2762
[classlib][security]UnresolvedPermission fails in serialization.

Modified:
    harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/UnresolvedPermissionTest.java
    harmony/enhanced/classlib/trunk/modules/security/src/test/resources/serialization/org/apache/harmony/security/tests/java/security/serialization/UnresolvedPermissionTest.golden.0.ser
    harmony/enhanced/classlib/trunk/modules/security/src/test/resources/serialization/org/apache/harmony/security/tests/java/security/serialization/UnresolvedPermissionTest.golden.1.ser

Modified: harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/UnresolvedPermissionTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/UnresolvedPermissionTest.java?view=diff&rev=489266&r1=489265&r2=489266
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/UnresolvedPermissionTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/UnresolvedPermissionTest.java
Wed Dec 20 22:36:36 2006
@@ -41,7 +41,8 @@
      */
     protected Object[] getData() {
         // test with real certificates ?
-        return new Object[] {new UnresolvedPermission("sjdvb.asef", "", "", null),
-                new UnresolvedPermission("&^%$m,3298746", null, null, new Certificate[0])};
+        return new Object[] {
+                new UnresolvedPermission("type", "name", "actions", null),
+                new UnresolvedPermission("type", null, null, new Certificate[0]) };
     }
 }

Modified: harmony/enhanced/classlib/trunk/modules/security/src/test/resources/serialization/org/apache/harmony/security/tests/java/security/serialization/UnresolvedPermissionTest.golden.0.ser
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/security/src/test/resources/serialization/org/apache/harmony/security/tests/java/security/serialization/UnresolvedPermissionTest.golden.0.ser?view=diff&rev=489266&r1=489265&r2=489266
==============================================================================
Binary files - no diff available.

Modified: harmony/enhanced/classlib/trunk/modules/security/src/test/resources/serialization/org/apache/harmony/security/tests/java/security/serialization/UnresolvedPermissionTest.golden.1.ser
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/security/src/test/resources/serialization/org/apache/harmony/security/tests/java/security/serialization/UnresolvedPermissionTest.golden.1.ser?view=diff&rev=489266&r1=489265&r2=489266
==============================================================================
Binary files - no diff available.



Mime
View raw message