harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r627509 - in /harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/acl: AclNotFoundException2Test.java AclNotFoundExceptionTest.java
Date Wed, 13 Feb 2008 16:24:07 GMT
Author: smishura
Date: Wed Feb 13 08:24:01 2008
New Revision: 627509

URL: http://svn.apache.org/viewvc?rev=627509&view=rev
Log:
Merge AclNotFoundExceptionTest & AclNotFoundException2Test

Removed:
    harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/acl/AclNotFoundException2Test.java
Modified:
    harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/acl/AclNotFoundExceptionTest.java

Modified: harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/acl/AclNotFoundExceptionTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/acl/AclNotFoundExceptionTest.java?rev=627509&r1=627508&r2=627509&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/acl/AclNotFoundExceptionTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/acl/AclNotFoundExceptionTest.java
Wed Feb 13 08:24:01 2008
@@ -38,12 +38,12 @@
     }
 
     /**
-     * check default constructor 
-     */    
+     * @tests java.security.acl.AclNotFoundException#AclNotFoundException()
+     */
     public void testAclNotFoundException() {
-        assertNotNull(new AclNotFoundException());
-        assertNull(new AclNotFoundException().getMessage());
-        assertNull(new AclNotFoundException().getCause());
+        AclNotFoundException ex = new AclNotFoundException();
+        assertNull(ex.getMessage());
+        assertNull(ex.getCause());
     }
 
 }



Mime
View raw message