Return-Path: Delivered-To: apmail-commons-commits-archive@locus.apache.org Received: (qmail 24981 invoked from network); 22 Mar 2008 03:13:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Mar 2008 03:13:38 -0000 Received: (qmail 76538 invoked by uid 500); 22 Mar 2008 03:13:35 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 76478 invoked by uid 500); 22 Mar 2008 03:13:35 -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 76469 invoked by uid 99); 22 Mar 2008 03:13:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Mar 2008 20:13:35 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Mar 2008 03:12:53 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C46211A983A; Fri, 21 Mar 2008 20:13:12 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r639944 [2/2] - in /commons/proper/cli/trunk/src: java/org/apache/commons/cli2/ java/org/apache/commons/cli2/builder/ java/org/apache/commons/cli2/commandline/ java/org/apache/commons/cli2/option/ java/org/apache/commons/cli2/resource/ java... Date: Sat, 22 Mar 2008 03:13:08 -0000 To: commits@commons.apache.org From: bayard@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080322031312.C46211A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: commons/proper/cli/trunk/src/test/org/apache/commons/cli2/option/DefaultOptionTest.java URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/org/apache/commons/cli2/option/DefaultOptionTest.java?rev=639944&r1=639943&r2=639944&view=diff ============================================================================== --- commons/proper/cli/trunk/src/test/org/apache/commons/cli2/option/DefaultOptionTest.java (original) +++ commons/proper/cli/trunk/src/test/org/apache/commons/cli2/option/DefaultOptionTest.java Fri Mar 21 20:13:05 2008 @@ -30,7 +30,7 @@ /** * @author roberto - * + * * To change the template for this generated type comment go to * Window>Preferences>Java>Code Generation>Code and Comments */ @@ -69,7 +69,7 @@ /* * (non-Javadoc) - * + * * @see org.apache.commons.cli2.ParentTestCase#testProcessParent() */ public void testProcessParent() throws OptionException { @@ -103,7 +103,7 @@ /* * (non-Javadoc) - * + * * @see org.apache.commons.cli2.OptionTestCase#testCanProcess() */ public void testCanProcess() { @@ -118,7 +118,7 @@ /* * (non-Javadoc) - * + * * @see org.apache.commons.cli2.OptionTestCase#testPrefixes() */ public void testPrefixes() { @@ -128,7 +128,7 @@ /* * (non-Javadoc) - * + * * @see org.apache.commons.cli2.OptionTestCase#testProcess() */ public void testProcess() { @@ -138,7 +138,7 @@ /* * (non-Javadoc) - * + * * @see org.apache.commons.cli2.OptionTestCase#testTriggers() */ public void testTriggers() { @@ -148,7 +148,7 @@ /* * (non-Javadoc) - * + * * @see org.apache.commons.cli2.OptionTestCase#testValidate() */ public void testValidate() { @@ -166,7 +166,7 @@ /* * (non-Javadoc) - * + * * @see org.apache.commons.cli2.OptionTestCase#testAppendUsage() */ public void testAppendUsage() { @@ -199,7 +199,7 @@ /* * (non-Javadoc) - * + * * @see org.apache.commons.cli2.OptionTestCase#testGetPreferredName() */ public void testGetPreferredName() { @@ -209,7 +209,7 @@ /* * (non-Javadoc) - * + * * @see org.apache.commons.cli2.OptionTestCase#testGetDescription() */ public void testGetDescription() { @@ -218,7 +218,7 @@ } /* * (non-Javadoc) - * + * * @see org.apache.commons.cli2.OptionTestCase#testHelpLines() */ public void testHelpLines() { Modified: commons/proper/cli/trunk/src/test/org/apache/commons/cli2/option/PropertyOptionTest.java URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/org/apache/commons/cli2/option/PropertyOptionTest.java?rev=639944&r1=639943&r2=639944&view=diff ============================================================================== --- commons/proper/cli/trunk/src/test/org/apache/commons/cli2/option/PropertyOptionTest.java (original) +++ commons/proper/cli/trunk/src/test/org/apache/commons/cli2/option/PropertyOptionTest.java Fri Mar 21 20:13:05 2008 @@ -36,7 +36,7 @@ /* * (non-Javadoc) - * + * * @see org.apache.commons.cli2.OptionTestCase#testCanProcess() */ public void testCanProcess() { @@ -61,7 +61,7 @@ /* * (non-Javadoc) - * + * * @see org.apache.commons.cli2.OptionTestCase#testPrefixes() */ public void testPrefixes() { @@ -71,7 +71,7 @@ /* * (non-Javadoc) - * + * * @see org.apache.commons.cli2.OptionTestCase#testProcess() */ public void testProcess() throws OptionException { @@ -129,7 +129,7 @@ /* * (non-Javadoc) - * + * * @see org.apache.commons.cli2.OptionTestCase#testTriggers() */ public void testTriggers() { @@ -140,7 +140,7 @@ /* * (non-Javadoc) - * + * * @see org.apache.commons.cli2.OptionTestCase#testValidate() */ public void testValidate() throws OptionException { @@ -156,7 +156,7 @@ /* * (non-Javadoc) - * + * * @see org.apache.commons.cli2.OptionTestCase#testAppendUsage() */ public void testAppendUsage() { @@ -179,7 +179,7 @@ /* * (non-Javadoc) - * + * * @see org.apache.commons.cli2.OptionTestCase#testGetPreferredName() */ public void testGetPreferredName() { @@ -189,7 +189,7 @@ /* * (non-Javadoc) - * + * * @see org.apache.commons.cli2.OptionTestCase#testGetDescription() */ public void testGetDescription() { @@ -201,7 +201,7 @@ /* * (non-Javadoc) - * + * * @see org.apache.commons.cli2.OptionTestCase#testHelpLines() */ public void testHelpLines() { @@ -218,7 +218,7 @@ /* * (non-Javadoc) - * + * * @see org.apache.commons.cli2.OptionTestCase#testHelpLines() */ public void testHelpLines_NoDisplay() { Modified: commons/proper/cli/trunk/src/test/org/apache/commons/cli2/util/ComparatorsTest.java URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/org/apache/commons/cli2/util/ComparatorsTest.java?rev=639944&r1=639943&r2=639944&view=diff ============================================================================== --- commons/proper/cli/trunk/src/test/org/apache/commons/cli2/util/ComparatorsTest.java (original) +++ commons/proper/cli/trunk/src/test/org/apache/commons/cli2/util/ComparatorsTest.java Fri Mar 21 20:13:05 2008 @@ -201,15 +201,15 @@ CLITestCase.list(o1, o2), list); } - + public void testChained() { final Option o1 = CommandTest.buildCommitCommand(); final Option o2 = SwitchTest.buildDisplaySwitch(); final Option o3 = DefaultOptionTest.buildHelpOption(); final List list = CLITestCase.list(o1, o2, o3); - + Collections.sort( - list, + list, Comparators.chain( Comparators.namedFirst("--help"), Comparators.commandFirst())); Modified: commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/ClassValidatorTest.java URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/ClassValidatorTest.java?rev=639944&r1=639943&r2=639944&view=diff ============================================================================== --- commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/ClassValidatorTest.java (original) +++ commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/ClassValidatorTest.java Fri Mar 21 20:13:05 2008 @@ -192,7 +192,7 @@ final List list = Arrays.asList(array); validator.setInstance(true); - + try { validator.validate(list); fail("It's not possible to create a '" + className + "'"); @@ -212,7 +212,7 @@ final List list = Arrays.asList(array); validator.setInstance(true); - + try { validator.validate(list); fail("It's not possible to create a '" + className + "'"); @@ -229,7 +229,7 @@ ive.getMessage()); } } - + public void testClassloader() { assertEquals( "Wrong classloader found", Modified: commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/DateValidatorTest.java URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/DateValidatorTest.java?rev=639944&r1=639943&r2=639944&view=diff ============================================================================== --- commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/DateValidatorTest.java (original) +++ commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/DateValidatorTest.java Fri Mar 21 20:13:05 2008 @@ -68,8 +68,8 @@ validator.validate(list); final Iterator i = list.iterator(); - // CLI-40: For some reason, the YYYY_MM_DD object gets quite - // confused here and returns 2003-12-22. If we make a new one + // CLI-40: For some reason, the YYYY_MM_DD object gets quite + // confused here and returns 2003-12-22. If we make a new one // there is no problem. assertEquals("2003-12-23", new SimpleDateFormat("yyyy-MM-dd").format((Date) i.next())); assertFalse(i.hasNext()); Modified: commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/FileValidatorTest.java URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/FileValidatorTest.java?rev=639944&r1=639943&r2=639944&view=diff ============================================================================== --- commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/FileValidatorTest.java (original) +++ commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/FileValidatorTest.java Fri Mar 21 20:13:05 2008 @@ -26,7 +26,7 @@ /** * JUnit test case for the FileValidator. - * + * * @author Rob Oxspring * @author John Keyes */