o renamed method to better match the work done

o added documentation

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1377393 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Herve Boutemy 2012-08-26 09:03:03 +00:00
parent ed5dfb2d5b
commit 1087f9339a
1 changed files with 6 additions and 1 deletions

View File

@ -31,6 +31,11 @@ import org.apache.commons.cli.Option;
import org.codehaus.plexus.PlexusTestCase;
import org.codehaus.plexus.util.FileUtils;
/**
* Pseudo test to generate documentation fragment about supported CLI options.
* TODO such documentation generation code should not be necessary as unit test but should be run
* during site generation (Velocity? Doxia macro?)
*/
public class CLIManagerTest
extends PlexusTestCase
{
@ -94,7 +99,7 @@ public class CLIManagerTest
return sb.toString();
}
public void testOptionsAsApt()
public void testOptionsAsHtml()
throws IOException
{
File options = getTestFile( "target/test-classes/options.html" );