@PrepareForTest(value={com.simpligility.maven.plugins.android.CommandExecutor.Factory.class,com.simpligility.maven.plugins.android.config.ConfigHandler.class}) public class MonkeyRunnerMojoTest extends AbstractAndroidMojoTestCase<MonkeyRunnerMojo>
execution, session
Constructor and Description |
---|
MonkeyRunnerMojoTest() |
Modifier and Type | Method and Description |
---|---|
String |
getPluginGoalName()
The Goal Name of the Plugin being tested.
|
void |
testCustomMonkeyRunnerConfig()
Tests all options, checks if they are parsed correctly.
|
void |
testDefaultMonkeyRunnerConfig()
Tests all options, checks if their default values are correct.
|
void |
testDefaultUnskippedMonkeyRunnerConfig()
Tests all options, checks if their default values are correct.
|
createMojo, getProjectDir
addGuiceModules, configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setUp, setupContainer, setupContainerConfiguration, setVariableValueToObject
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release, tearDown
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public String getPluginGoalName()
AbstractAndroidMojoTestCase
Used to look for <configuration>
section in the plugin-config.xml
that will be used to configure the mojo from.
getPluginGoalName
in class AbstractAndroidMojoTestCase<MonkeyRunnerMojo>
public void testDefaultMonkeyRunnerConfig() throws Exception
Exception
public void testDefaultUnskippedMonkeyRunnerConfig() throws Exception
Exception
Copyright © 2008–2019 simpligility technologies inc.. All rights reserved.