maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1560441 - /maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/test/java/org/apache/maven/doxia/siterenderer/DefaultSiteRendererTest.java
Date Wed, 22 Jan 2014 18:00:37 GMT
Author: hboutemy
Date: Wed Jan 22 18:00:37 2014
New Revision: 1560441

URL: http://svn.apache.org/r1560441
Log:
[DOXIASITETOOLS-87] more intensive tests since there is a failure on Windows for at least
head.xml xdoc

Modified:
    maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/test/java/org/apache/maven/doxia/siterenderer/DefaultSiteRendererTest.java

Modified: maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/test/java/org/apache/maven/doxia/siterenderer/DefaultSiteRendererTest.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/test/java/org/apache/maven/doxia/siterenderer/DefaultSiteRendererTest.java?rev=1560441&r1=1560440&r2=1560441&view=diff
==============================================================================
--- maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/test/java/org/apache/maven/doxia/siterenderer/DefaultSiteRendererTest.java
(original)
+++ maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/test/java/org/apache/maven/doxia/siterenderer/DefaultSiteRendererTest.java
Wed Jan 22 18:00:37 2014
@@ -388,7 +388,24 @@ public class DefaultSiteRendererTest
     public void verifyNewlines()
         throws Exception
     {
+        /* apt */
+        checkNewlines( FileUtils.fileRead( getTestFile( "target/output/apt.html" ), "ISO-8859-1"
) );
+        checkNewlines( FileUtils.fileRead( getTestFile( "target/output/cdc.html" ), "ISO-8859-1"
) );
+        checkNewlines( FileUtils.fileRead( getTestFile( "target/output/interpolation.html"
), "ISO-8859-1" ) );
+        /* confluence */
+        checkNewlines( FileUtils.fileRead( getTestFile( "target/output/confluence/anchor.html"
), "ISO-8859-1" ) );
+        checkNewlines( FileUtils.fileRead( getTestFile( "target/output/confluence/code.html"
), "ISO-8859-1" ) );
+        checkNewlines( FileUtils.fileRead( getTestFile( "target/output/confluence/table.html"
), "ISO-8859-1" ) );
+        /* docbook */
+        checkNewlines( FileUtils.fileRead( getTestFile( "target/output/docbook.html" ), "ISO-8859-1"
) );
+        checkNewlines( FileUtils.fileRead( getTestFile( "target/output/sdocbook_full.html"
), "ISO-8859-1" ) );
+        /* fml */
+        checkNewlines( FileUtils.fileRead( getTestFile( "target/output/faq.html" ), "ISO-8859-1"
) );
+        /* xdoc */
+        checkNewlines( FileUtils.fileRead( getTestFile( "target/output/attributes.html" ),
"ISO-8859-1" ) );
+        checkNewlines( FileUtils.fileRead( getTestFile( "target/output/javascript.html" ),
"ISO-8859-1" ) );
         checkNewlines( FileUtils.fileRead( getTestFile( "target/output/head.html" ), "ISO-8859-1"
) );
+        checkNewlines( FileUtils.fileRead( getTestFile( "target/output/macro.html" ), "ISO-8859-1"
) );
     }
 
     private void checkNewlines( String content )



Mime
View raw message