harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r627512 - in /harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/acl: LastOwnerException2Test.java LastOwnerExceptionTest.java
Date Wed, 13 Feb 2008 16:29:08 GMT
Author: smishura
Date: Wed Feb 13 08:29:03 2008
New Revision: 627512

URL: http://svn.apache.org/viewvc?rev=627512&view=rev
Log:
Merge LastOwnerExceptionTest & LastOwnerException2Test

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

Modified: harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/acl/LastOwnerExceptionTest.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/LastOwnerExceptionTest.java?rev=627512&r1=627511&r2=627512&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/acl/LastOwnerExceptionTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/acl/LastOwnerExceptionTest.java
Wed Feb 13 08:29:03 2008
@@ -15,11 +15,6 @@
  *  limitations under the License.
  */
 
-/**
-* @author Aleksei Y. Semenov
-* @version $Revision$
-*/
-
 package org.apache.harmony.security.tests.java.security.acl;
 
 import java.security.acl.LastOwnerException;
@@ -37,10 +32,13 @@
         junit.textui.TestRunner.run(LastOwnerExceptionTest.class);
     }
 
+    /**
+     * @tests java.security.acl.LastOwnerException#LastOwnerException()
+     */
     public void testLastOwnerException() {
-        assertNotNull(new LastOwnerException());
-        assertNull(new LastOwnerException().getMessage());
-        assertNull(new LastOwnerException().getCause());
+        LastOwnerException ex = new LastOwnerException();
+        assertNull(ex.getMessage());
+        assertNull(ex.getCause());
     }
 
 }



Mime
View raw message