public abstract class JooTestMojoBase
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
debugTests
Whether to load the test application in debug mode (#joo.debug).
|
protected org.apache.maven.project.MavenProject |
project
The maven project.
|
protected File |
testOutputDirectory
Directory whose amd/as3 sub-directory contains compiled test classes.
|
protected List<org.apache.maven.model.Resource> |
testResources
the project's test resources
|
protected String |
testsHtml
the tests.html file relative to the test resources folder
|
| Constructor and Description |
|---|
JooTestMojoBase() |
| Modifier and Type | Method and Description |
|---|---|
protected List<File> |
findJars() |
protected String |
getJettyUrl(org.eclipse.jetty.server.Server server) |
protected String |
getTestUrl(org.eclipse.jetty.server.Server server) |
protected boolean |
isTestAvailable() |
protected org.eclipse.jetty.server.Server |
jettyRunTest(boolean tryPortRange) |
protected void |
stopServerIgnoreException(org.eclipse.jetty.server.Server server) |
protected org.apache.maven.plugin.MojoExecutionException |
wrap(Exception e) |
getLog, getPluginContext, setLog, setPluginContextprotected org.apache.maven.project.MavenProject project
protected File testOutputDirectory
protected String testsHtml
protected boolean debugTests
protected List<org.apache.maven.model.Resource> testResources
protected String getJettyUrl(org.eclipse.jetty.server.Server server)
protected boolean isTestAvailable()
protected org.eclipse.jetty.server.Server jettyRunTest(boolean tryPortRange)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected List<File> findJars() throws org.apache.maven.artifact.DependencyResolutionRequiredException
org.apache.maven.artifact.DependencyResolutionRequiredExceptionprotected org.apache.maven.plugin.MojoExecutionException wrap(Exception e)
protected void stopServerIgnoreException(org.eclipse.jetty.server.Server server)
protected String getTestUrl(org.eclipse.jetty.server.Server server) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2002–2015 CoreMedia AG. All rights reserved.