public abstract class AbstractTestMojo extends AbstractGemMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
skip
skip all tests
Command line -Dmaven.test.skip=... |
protected boolean |
skipTests
skip all tests
Command line -DskipTests=... |
protected File |
summaryReport
The name of the summary (xml-)report which can be used by TeamCity and Co.
|
protected File |
testReportDirectory |
protected Boolean |
use18and19
run tests for both ruby 1.8 and 1.9
Command line -Djruby.18and19=... |
binDirectory, gemHome, gemPath, gemsConfig, gemsInstaller, gemUseSystem, includeOpenSSL, includeRubygemsInResources, includeRubygemsInTestResources, installRDoc, installRI, manager, plugin, supportNative, unzipargs, classRealm, DEFAULT_JRUBY_VERSION, env, factory, JRUBY_COMPLETE, JRUBY_CORE, JRUBY_STDLIB, jrubyFork, jrubyJvmArgs, jrubySwitches, jrubyVerbose, libDirectory, localRepository, logger, project, repositorySystem, rubySourceDirectory| Constructor and Description |
|---|
AbstractTestMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeWithGems() |
protected abstract TestScriptFactory |
newTestScriptFactory(JRubyRun.Mode mode) |
protected void |
runIt(JRubyRun run,
TestScriptFactory testScriptFactory) |
protected abstract JRubyRun.Result |
runIt(ScriptFactory factory,
JRubyRun.Mode mode,
String version,
TestScriptFactory testScriptFactory) |
execute, executeJRuby, getRemoteRepos, newScriptFactorygetJrubyVersion, launchDirectory, resolveJRubyArtifact, resolveJRubyCompleteArtifact, resolveJRubyStdlibArtifactprotected File testReportDirectory
protected boolean skipTests
protected boolean skip
protected Boolean use18and19
protected File summaryReport
protected void executeWithGems()
throws org.apache.maven.plugin.MojoExecutionException,
IOException,
ScriptException,
GemException
executeWithGems in class AbstractGemMojoorg.apache.maven.plugin.MojoExecutionExceptionIOExceptionScriptExceptionGemExceptionprotected void runIt(JRubyRun run, TestScriptFactory testScriptFactory) throws org.apache.maven.plugin.MojoExecutionException, IOException, ScriptException
org.apache.maven.plugin.MojoExecutionExceptionIOExceptionScriptExceptionprotected abstract TestScriptFactory newTestScriptFactory(JRubyRun.Mode mode)
protected abstract JRubyRun.Result runIt(ScriptFactory factory, JRubyRun.Mode mode, String version, TestScriptFactory testScriptFactory) throws IOException, ScriptException, org.apache.maven.plugin.MojoExecutionException
IOExceptionScriptExceptionorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2013. All Rights Reserved.