harmony-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=627513&view=rev
Log:
Merge NotOwnerExceptionTest & NotOwnerException2Test

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

Modified: harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/acl/NotOwnerExceptionTest.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/NotOwnerExceptionTest.java?rev=627513&r1=627512&r2=627513&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/acl/NotOwnerExceptionTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/acl/NotOwnerExceptionTest.java
Wed Feb 13 08:32:29 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.NotOwnerException;
@@ -37,10 +32,13 @@
         junit.textui.TestRunner.run(NotOwnerExceptionTest.class);
     }
 
+    /**
+     * @tests java.security.acl.NotOwnerException#NotOwnerException()
+     */
     public void testNotOwnerException() {
-        assertNotNull(new NotOwnerException());
-        assertNull(new NotOwnerException().getMessage());
-        assertNull(new NotOwnerException().getCause());
+        NotOwnerException ex = new NotOwnerException();
+        assertNull(ex.getMessage());
+        assertNull(ex.getCause());
     }
 
 }



Mime
View raw message