@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, getProjectDiraddGuiceModules, configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setUp, setupContainer, setupContainerConfiguration, setVariableValueToObjectcreateContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release, tearDownassertEquals, 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, toStringpublic 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
Exceptionpublic void testDefaultUnskippedLintConfig()
throws Exception
Exceptionpublic void testCustomLintConfig()
throws Exception
Exceptionpublic void testAllLintCommandParametersWithDefaultUnskippedConfig()
throws Exception
Exceptionpublic void testAllLintCommandParametersWithCustomConfig()
throws Exception
ExceptionCopyright © 2008–2019 simpligility technologies inc.. All rights reserved.