org.codehaus.castor.maven.xmlctf
Class TextTestSuiteMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.castor.maven.xmlctf.AbstractTestSuiteMojo
          extended by 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

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TextTestSuiteMojo()
           
 
Method Summary
 void runJUnit(junit.framework.Test testSuite)
          For subclasses to implement to provide a test runner.
 
Methods inherited from class org.codehaus.castor.maven.xmlctf.AbstractTestSuiteMojo
execute
 
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
 

Constructor Detail

TextTestSuiteMojo

public TextTestSuiteMojo()
Method Detail

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 © 2011. All Rights Reserved.