public class ApkMojoTest extends AbstractAndroidMojoTestCase<ApkMojo>
execution, session
Constructor and Description |
---|
ApkMojoTest(String projectName,
String[] expected) |
Modifier and Type | Method and Description |
---|---|
protected <T> T |
getFieldValue(Object object,
String fieldName) |
String |
getPluginGoalName()
The Goal Name of the Plugin being tested.
|
void |
setUp() |
static List<Object[]> |
suite() |
void |
tearDown() |
void |
testConfigHelper() |
createMojo, getProjectDir
addGuiceModules, configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setupContainer, setupContainerConfiguration, setVariableValueToObject
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release
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<ApkMojo>
public void setUp() throws Exception
setUp
in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Exception
public void tearDown() throws Exception
tearDown
in class org.codehaus.plexus.PlexusTestCase
Exception
protected <T> T getFieldValue(Object object, String fieldName) throws IllegalAccessException
IllegalAccessException
Copyright © 2008–2019 simpligility technologies inc.. All rights reserved.