@PrepareForTest(value={com.simpligility.maven.plugins.android.CommandExecutor.Factory.class,com.simpligility.maven.plugins.android.config.ConfigHandler.class}) public class LintMojoTest extends AbstractAndroidMojoTestCase<LintMojo>
execution, session
Constructor and Description |
---|
LintMojoTest() |
Modifier and Type | Method and Description |
---|---|
String |
getPluginGoalName()
The Goal Name of the Plugin being tested.
|
void |
testAllLintCommandParametersWithCustomConfig() |
void |
testAllLintCommandParametersWithDefaultUnskippedConfig() |
void |
testAllParametersOffConfig() |
void |
testCustomLintConfig()
Tests all options, checks if they are parsed correctly.
|
void |
testDefaultLintConfig()
Tests all options, checks if their default values are correct.
|
void |
testDefaultUnskippedLintConfig()
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<LintMojo>
public void testDefaultLintConfig() throws Exception
Exception
public void testDefaultUnskippedLintConfig() throws Exception
Exception
public void testCustomLintConfig() throws Exception
Exception
public void testAllLintCommandParametersWithDefaultUnskippedConfig() throws Exception
Exception
public void testAllLintCommandParametersWithCustomConfig() throws Exception
Exception
Copyright © 2008–2019 simpligility technologies inc.. All rights reserved.