You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2004/06/09 16:33:46 UTC

svn commit: rev 20950 - avalon/trunk/runtime/framework/impl/src/test/org/apache/avalon/framework/configuration/test

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: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org