Hi David,
Revision
8398 <http://fisheye.codehaus.org/changelog/mojo/?cs=8398>
Author
david
Date
2008-12-21 11:09:16 -0600 (Sun, 21 Dec 2008)
Log Message
IN PROGRESS - issue MTAGLIST-33 <http://jira.codehaus.org/secure/ViewIssue.jspa?key=MTAGLIST-33>: Add surefire unit tests to the Taglist plugin
https://jira.codehaus.org/browse/MTAGLIST-33 <http://jira.codehaus.org/secure/ViewIssue.jspa?key=MTAGLIST-33>
+ String filename = mojo.getOutputName() + ".html";
+ File outputHtml = new File( outputDir, filename );
+ assertTrue( "Cannont find output html file", outputHtml.exists() );
+ String htmlString = FileUtils.fileRead( outputHtml );
Consider to use a fixed character encoding (e.g. UTF-8) when generating
the report and when reading in the generated file as otherwise the test
is platform-dependent.
Benjamin
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email