org.codehaus.mojo.javascript.test.qunit
Class AbstractRhinoTestMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.javascript.AbstractJavascriptMojo
org.codehaus.mojo.javascript.test.qunit.AbstractRhinoTestMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- QUnitTestMojo
public abstract class AbstractRhinoTestMojo
- extends AbstractJavascriptMojo
- Author:
- harlan
|
Field Summary |
protected java.io.File |
outputDirectory
The output directory of the assembled js file. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
outputDirectory
protected java.io.File outputDirectory
- The output directory of the assembled js file.
AbstractRhinoTestMojo
public AbstractRhinoTestMojo()
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
createRhinoRuntime
protected RhinoRuntime createRhinoRuntime(ReportCallbacks reportCb)
throws java.lang.Exception
- Creates a RhinoRuntime with env.js and inserts a $report object that
collects test results as they are run.
- Returns:
-
- Throws:
java.lang.Exception
runSuite
protected abstract void runSuite(RhinoRuntime rt,
java.io.File suite)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2010. All Rights Reserved.