commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1590611 - /commons/proper/jcs/trunk/src/test/java/org/apache/commons/jcs/auxiliary/remote/RemoteUtilsUnitTest.java
Date Mon, 28 Apr 2014 11:38:26 GMT
Author: tv
Date: Mon Apr 28 11:38:26 2014
New Revision: 1590611

URL: http://svn.apache.org/r1590611
Log:
Remove useless test

Modified:
    commons/proper/jcs/trunk/src/test/java/org/apache/commons/jcs/auxiliary/remote/RemoteUtilsUnitTest.java

Modified: commons/proper/jcs/trunk/src/test/java/org/apache/commons/jcs/auxiliary/remote/RemoteUtilsUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/java/org/apache/commons/jcs/auxiliary/remote/RemoteUtilsUnitTest.java?rev=1590611&r1=1590610&r2=1590611&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/java/org/apache/commons/jcs/auxiliary/remote/RemoteUtilsUnitTest.java
(original)
+++ commons/proper/jcs/trunk/src/test/java/org/apache/commons/jcs/auxiliary/remote/RemoteUtilsUnitTest.java
Mon Apr 28 11:38:26 2014
@@ -32,11 +32,11 @@ public class RemoteUtilsUnitTest
     extends TestCase
 {
     /**
-     * Call create registry twice.
+     * Call create registry.
      * <p>
      * The exception is in the security manager setting.
      */
-    public void testCreateRegistryTwice()
+    public void testCreateRegistry()
     {
         try
         {
@@ -46,15 +46,5 @@ public class RemoteUtilsUnitTest
         {
             fail("RemoteException unexpected " + e);
         }
-
-        try
-        {
-            RemoteUtils.createRegistry( 1102 );
-            fail("Second RemoteException expected");
-        }
-        catch ( Exception e )
-        {
-            // Expected
-        }
     }
 }



Mime
View raw message