commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henn...@apache.org
Subject cvs commit: jakarta-commons-sandbox/configuration/src/test/org/apache/commons/configuration TestPropertiesConfiguration.java
Date Mon, 02 Jun 2003 10:04:48 GMT
henning     2003/06/02 03:04:47

  Modified:    configuration/src/test/org/apache/commons/configuration
                        TestPropertiesConfiguration.java
  Log:
  Make the TestPropertiesConfiguration test case work again.
  If you want to pass a file name relative to a base directory, you
  must not pass an absolute file name but a relative.
  
  Revision  Changes    Path
  1.11      +2 -2      jakarta-commons-sandbox/configuration/src/test/org/apache/commons/configuration/TestPropertiesConfiguration.java
  
  Index: TestPropertiesConfiguration.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/configuration/src/test/org/apache/commons/configuration/TestPropertiesConfiguration.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- TestPropertiesConfiguration.java	24 Mar 2003 07:23:48 -0000	1.10
  +++ TestPropertiesConfiguration.java	2 Jun 2003 10:04:47 -0000	1.11
  @@ -123,7 +123,7 @@
   
           PropertiesConfiguration pc = new PropertiesConfiguration();
           pc.setBasePath(testBasePath2);
  -        pc.setFileName("/conf/test.properties");
  +        pc.setFileName("conf/test.properties");
           pc.load();
   
           assertTrue("Make sure we have multiple keys", pc.getBoolean("test.boolean"));
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message