You are viewing a plain text version of this content. The canonical link for it is here.
Posted to doxia-commits@maven.apache.org by vs...@apache.org on 2008/10/17 12:49:49 UTC

svn commit: r705554 - /maven/doxia/doxia-tools/trunk/doxia-converter/src/test/java/org/apache/maven/doxia/ConverterTest.java

Author: vsiveton
Date: Fri Oct 17 03:49:49 2008
New Revision: 705554

URL: http://svn.apache.org/viewvc?rev=705554&view=rev
Log:
o fix tests for twiki

Modified:
    maven/doxia/doxia-tools/trunk/doxia-converter/src/test/java/org/apache/maven/doxia/ConverterTest.java

Modified: maven/doxia/doxia-tools/trunk/doxia-converter/src/test/java/org/apache/maven/doxia/ConverterTest.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-converter/src/test/java/org/apache/maven/doxia/ConverterTest.java?rev=705554&r1=705553&r2=705554&view=diff
==============================================================================
--- maven/doxia/doxia-tools/trunk/doxia-converter/src/test/java/org/apache/maven/doxia/ConverterTest.java (original)
+++ maven/doxia/doxia-tools/trunk/doxia-converter/src/test/java/org/apache/maven/doxia/ConverterTest.java Fri Oct 17 03:49:49 2008
@@ -319,19 +319,10 @@
         out = getBasedir() + "/target/unit/file/twiki/test.twiki";
         to = "twiki";
 
-        try
-        {
-            input = InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() );
-            output = OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() );
-
-            converter.convert( input, output );
+        input = InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() );
+        output = OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() );
 
-            assertFalse( true );
-        }
-        catch ( UnsupportedFormatException e )
-        {
-            assertTrue( true );
-        }
+        converter.convert( input, output );
     }
 
     /**