Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6BA0F11DEB for ; Mon, 28 Apr 2014 11:38:52 +0000 (UTC) Received: (qmail 64191 invoked by uid 500); 28 Apr 2014 11:38:50 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 64129 invoked by uid 500); 28 Apr 2014 11:38:50 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 64116 invoked by uid 99); 28 Apr 2014 11:38:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Apr 2014 11:38:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Apr 2014 11:38:50 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 05ADC23889E1; Mon, 28 Apr 2014 11:38:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@commons.apache.org From: tv@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140428113827.05ADC23889E1@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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. *

* 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 - } } }