avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon-sandbox/framework/impl/src/test/org/apache/avalon/framework/configuration/test DefaultConfigurationSerializerTestCase.java
Date Fri, 22 Aug 2003 12:43:01 GMT
mcconnell    2003/08/22 05:43:01

  Modified:    framework/impl/src/test/org/apache/avalon/framework/configuration/test
                        DefaultConfigurationSerializerTestCase.java
  Log:
  Update test that wasn't working in reactor based build.
  
  Revision  Changes    Path
  1.2       +8 -2      avalon-sandbox/framework/impl/src/test/org/apache/avalon/framework/configuration/test/DefaultConfigurationSerializerTestCase.java
  
  Index: DefaultConfigurationSerializerTestCase.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/framework/impl/src/test/org/apache/avalon/framework/configuration/test/DefaultConfigurationSerializerTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DefaultConfigurationSerializerTestCase.java	21 Aug 2003 18:08:31 -0000	1.1
  +++ DefaultConfigurationSerializerTestCase.java	22 Aug 2003 12:43:01 -0000	1.2
  @@ -77,8 +77,14 @@
       }
       
       public void setUp() {
  -        testDirectory = (new File("test/framework/io")).getAbsoluteFile();
  -        testDirectory2 = (new File("test/framework/DefaultConfigurationSerializerTestCase")).getAbsoluteFile();
  +
  +
  +        testDirectory = (new File( 
  +          System.getProperty( "basedir" ) + 
  +          "/test/framework/io")).getAbsoluteFile();
  +        testDirectory2 = (new File( 
  +          System.getProperty( "basedir" ) +
  +           "/test/framework/DefaultConfigurationSerializerTestCase")).getAbsoluteFile();
           if( !testDirectory.exists() )
           {
               testDirectory.mkdirs();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message