Author: mcconnell
Date: Wed Jun  9 07:33:45 2004
New Revision: 20950

Modified:
   
avalon/trunk/runtime/framework/impl/src/test/org/apache/avalon/framework/configuration/test/DefaultConfigurationBuilderTestCase.java
Log:
Updatre the testcase to properly handle test directory content.

Modified: 
avalon/trunk/runtime/framework/impl/src/test/org/apache/avalon/framework/configuration/test/DefaultConfigurationBuilderTestCase.java
==============================================================================
--- 
avalon/trunk/runtime/framework/impl/src/test/org/apache/avalon/framework/configuration/test/DefaultConfigurationBuilderTestCase.java
        (original)
+++ 
avalon/trunk/runtime/framework/impl/src/test/org/apache/avalon/framework/configuration/test/DefaultConfigurationBuilderTestCase.java
        Wed Jun  9 07:33:45 2004
@@ -335,7 +335,7 @@
     {
          m_builder = new DefaultConfigurationBuilder();
          m_nsBuilder = new DefaultConfigurationBuilder(true); // switch on 
namespace support
-         File basedir = new File( System.getProperty( "basedir" ) );
+         File basedir = getWorkDir();
          File testFile = new File( basedir, TEST_PATH );
          File simple = new File( testFile, SIMPLE_FILE_NAME );
 
@@ -461,7 +461,7 @@
         MyEntityResolver customResolver = new MyEntityResolver();
  
         builder.setEntityResolver( new MyEntityResolver() );
-        File basedir = new File( System.getProperty( "basedir" ) );
+        File basedir = getWorkDir();
         File testFile = new File( basedir, TEST_PATH );
         File external = new File( testFile, EXTERNAL_FILE_NAME );
         Configuration conf = builder.buildFromFile( external  );

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to