org.codehaus.castor.maven.xmlctf
Class AbstractTestSuiteMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.castor.maven.xmlctf.AbstractTestSuiteMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- TextTestSuiteMojo
public abstract class AbstractTestSuiteMojo
- extends org.apache.maven.plugin.AbstractMojo
Abstract Maven Mojo that initialises the Junit test cases from xml Subclasses
implement the runJUnit method to provide the Runner (eg. text, swing, ..)
- Since:
- 1.2
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
execute()
|
abstract 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 |
AbstractTestSuiteMojo
public AbstractTestSuiteMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
runJUnit
public abstract void runJUnit(junit.framework.Test testSuite)
throws org.apache.maven.plugin.MojoExecutionException
- For subclasses to implement to provide a test runner.
- Parameters:
testSuite
- The TestSuite to be executed
- Throws:
org.apache.maven.plugin.MojoExecutionException
- If test execution fails.
Copyright © 2011. All Rights Reserved.