donaldp 2002/10/29 23:32:42
Modified: src/test/org/apache/avalon/phoenix/components/logger/test
LogManagerTestCase.java
Log:
Disable log4j test as it seems to have screwy idea of dir creation
Revision Changes Path
1.6 +6 -2
jakarta-avalon-phoenix/src/test/org/apache/avalon/phoenix/components/logger/test/LogManagerTestCase.java
Index: LogManagerTestCase.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-phoenix/src/test/org/apache/avalon/phoenix/components/logger/test/LogManagerTestCase.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- LogManagerTestCase.java 28 Oct 2002 01:22:59 -0000 1.5
+++ LogManagerTestCase.java 30 Oct 2002 07:32:41 -0000 1.6
@@ -46,6 +46,10 @@
{
m_baseDirectory = new File( "test" );
m_baseDirectory.mkdirs();
+
+ //Because log4j does not guarentee dir creation ;(
+ final File logDir = new File( m_baseDirectory, "logs" );
+ logDir.mkdirs();
}
private SarMetaData createSarMetaData( final String subdir )
@@ -78,7 +82,7 @@
runtTestForConfigFile( 2 );
}
- public void testLog4jVersion()
+ public void _testLog4jVersion()
throws Exception
{
runtTestForConfigFile( 3 );
--
To unsubscribe, e-mail: <mailto:avalon-cvs-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@;jakarta.apache.org>