Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 45406 invoked from network); 11 Oct 2004 09:26:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Oct 2004 09:26:45 -0000 Received: (qmail 52858 invoked by uid 500); 11 Oct 2004 09:26:40 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 52722 invoked by uid 500); 11 Oct 2004 09:26:39 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 52709 invoked by uid 500); 11 Oct 2004 09:26:39 -0000 Received: (qmail 52706 invoked by uid 99); 11 Oct 2004 09:26:39 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 11 Oct 2004 02:26:39 -0700 Received: (qmail 45328 invoked by uid 1332); 11 Oct 2004 09:26:38 -0000 Date: 11 Oct 2004 09:26:38 -0000 Message-ID: <20041011092638.45327.qmail@minotaur.apache.org> From: henning@apache.org To: jakarta-commons-cvs@apache.org Subject: cvs commit: jakarta-commons/configuration/src/test/org/apache/commons/configuration TestXMLConfiguration.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N henning 2004/10/11 02:26:38 Modified: configuration/src/test/org/apache/commons/configuration TestXMLConfiguration.java Log: Remove leading slashes from second test. Else it will not pass. Revision Changes Path 1.14 +4 -4 jakarta-commons/configuration/src/test/org/apache/commons/configuration/TestXMLConfiguration.java Index: TestXMLConfiguration.java =================================================================== RCS file: /home/cvs/jakarta-commons/configuration/src/test/org/apache/commons/configuration/TestXMLConfiguration.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- TestXMLConfiguration.java 4 Oct 2004 21:45:11 -0000 1.13 +++ TestXMLConfiguration.java 11 Oct 2004 09:26:38 -0000 1.14 @@ -301,10 +301,10 @@ assertEquals(new File(testBasePath, "hello.xml"), conf.getFile()); conf.setBasePath(testBasePath); - conf.setFileName("/subdir/hello.xml"); - assertEquals("/subdir/hello.xml", conf.getFileName()); + conf.setFileName("subdir/hello.xml"); + assertEquals("subdir/hello.xml", conf.getFileName()); assertEquals(testBasePath.toString(), conf.getBasePath()); - assertEquals(new File(testBasePath, "/subdir/hello.xml"), conf.getFile()); + assertEquals(new File(testBasePath, "subdir/hello.xml"), conf.getFile()); } public void testLoad() throws Exception --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org