org.codehaus.castor.maven.xmlctf
Class TextTestSuiteMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.castor.maven.xmlctf.AbstractTestSuiteMojo
org.codehaus.castor.maven.xmlctf.TextTestSuiteMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class TextTestSuiteMojo
- extends AbstractTestSuiteMojo
Uses a simple junit.ui.TestRunner TextRunner to run the XMLCTF test suite.
- Since:
- 1.2
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
|
Method Summary |
void |
runJUnit(junit.framework.Test testSuite)
For subclasses to implement to provide a test runner. |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextTestSuiteMojo
public TextTestSuiteMojo()
runJUnit
public void runJUnit(junit.framework.Test testSuite)
throws org.apache.maven.plugin.MojoExecutionException
- For subclasses to implement to provide a test runner.
- Specified by:
runJUnit in class AbstractTestSuiteMojo
- Parameters:
testSuite - The TestSuite to be executed
- Throws:
org.apache.maven.plugin.MojoExecutionException - If test execution fails.- See Also:
AbstractTestSuiteMojo.runJUnit(junit.framework.Test)
Copyright © 2012. All Rights Reserved.