@Mojo(name="test",
defaultPhase=INTEGRATION_TEST)
public class TestMojo
extends ManifestAndAdbMojoSupport
| Modifier and Type | Class and Description |
|---|---|
protected class |
TestMojo.TestRunListener |
AndroidMojoSupport.AndroidLogHandler| Modifier and Type | Field and Description |
|---|---|
protected static String |
INDENT |
ANDROID_LOG_HANDLER, DEVICE_ONLINE| Constructor and Description |
|---|
TestMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
call() |
protected XmlTestRunListener |
createJunitReportListener(com.android.ddmlib.IDevice device) |
protected TestMojo.TestRunListener |
createTestRunListener() |
protected String |
getInstrumentationRunner() |
protected File |
getReportsDirectory() |
protected List<String> |
getTestClasses() |
protected String[] |
getTestClassesAsArray() |
protected List<String> |
getTestPackages() |
protected org.echocat.jomon.runtime.util.Duration |
getTestTimeout() |
protected boolean |
isEnableIntegrationTest() |
protected List<String> |
splitUp(List<String> inputs) |
findManifestFile, getInstrumentationPackageadbEnvironment, doWithDevices, getAdbTimeout, getDeviceSerialNumber, getDeviceTimeoutfindPidOf, getAdbExecutable, getDuration, getTargetAdbExecutable, processDaemonRepository, processExecuter, processRepository, registerPid, unregisterPid, validatePidPropertyForRegisterfindProjectProperty, findProjectProperty, getProject, getProjectProperties, getProjectProperty, removeProjectProperty, setProjectProperty@Nonnull protected static final String INDENT
public void call()
throws Exception
call in class org.echocat.jomon.maven.plugins.MojoSupportException@Nonnull protected XmlTestRunListener createJunitReportListener(@Nonnull com.android.ddmlib.IDevice device) throws org.apache.maven.plugin.MojoExecutionException, IOException
org.apache.maven.plugin.MojoExecutionExceptionIOException@Nonnull protected TestMojo.TestRunListener createTestRunListener() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected boolean isEnableIntegrationTest()
throws org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureExceptionorg.apache.maven.plugin.MojoExecutionException@Nonnull protected File getReportsDirectory() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException@Nonnull protected List<String> getTestPackages() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException@Nonnull protected List<String> getTestClasses() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException@Nonnull protected String[] getTestClassesAsArray() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException@Nonnull protected org.echocat.jomon.runtime.util.Duration getTestTimeout() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException@Nullable protected String getInstrumentationRunner() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2016 echocat. All rights reserved.