public abstract class AbstractDependencyMojoTestCase
extends org.apache.maven.plugin.testing.AbstractMojoTestCase
| Modifier and Type | Field and Description |
|---|---|
protected DependencyArtifactStubFactory |
stubFactory |
protected File |
testDir |
| Constructor and Description |
|---|
AbstractDependencyMojoTestCase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyFile(AbstractDependencyMojo mojo,
File artifact,
File destFile) |
protected void |
installLocalRepository(org.apache.maven.plugin.LegacySupport legacySupport) |
protected void |
setUp(String testDirStr,
boolean createFiles) |
protected void |
setUp(String testDirStr,
boolean createFiles,
boolean flattenedPath) |
protected void |
tearDown() |
addGuiceModules, configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setUp, setupContainer, setupContainerConfiguration, setVariableValueToObjectcustomizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, teardownContainerassertEquals, 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, toStringprotected File testDir
protected DependencyArtifactStubFactory stubFactory
protected void setUp(String testDirStr, boolean createFiles) throws Exception
Exceptionprotected void setUp(String testDirStr, boolean createFiles, boolean flattenedPath) throws Exception
Exceptionprotected void tearDown()
tearDown in class org.codehaus.plexus.PlexusTestCaseprotected void copyFile(AbstractDependencyMojo mojo, File artifact, File destFile) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void installLocalRepository(org.apache.maven.plugin.LegacySupport legacySupport)
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
org.codehaus.plexus.component.repository.exception.ComponentLookupExceptionCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.