Author: brett
Date: Mon Mar 27 03:02:16 2006
New Revision: 389098
URL: http://svn.apache.org/viewcvs?rev=389098&view=rev
Log:
attempt to correct RTF test under certain environments
Modified:
maven/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/module/rtf/RtfSinkTest.java
Modified:
maven/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/module/rtf/RtfSinkTest.java
URL:
http://svn.apache.org/viewcvs/maven/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/module/rtf/RtfSinkTest.java?rev=389098&r1=389097&r2=389098&view=diff
==============================================================================
---
maven/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/module/rtf/RtfSinkTest.java
(original)
+++
maven/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/module/rtf/RtfSinkTest.java
Mon Mar 27 03:02:16 2006
@@ -32,12 +32,14 @@
{
protected String outputExtension()
{
- return "tex";
+ return "rtf";
}
protected Sink createSink()
throws Exception
{
- return new RtfSink( new FileOutputStream( new File( getBasedirFile(),
"target/output/test.rtf" ) ) );
+ File outputFile = new File( getBasedirFile(), "target/output/test.rtf"
);
+ System.out.println( "Test file: " + outputFile );
+ return new RtfSink( new FileOutputStream( outputFile ) );
}
}