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, setVariableValueToObject
customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, teardownContainer
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
protected File testDir
protected DependencyArtifactStubFactory stubFactory
protected void setUp(String testDirStr, boolean createFiles) throws Exception
Exception
protected void setUp(String testDirStr, boolean createFiles, boolean flattenedPath) throws Exception
Exception
protected void tearDown()
tearDown
in class org.codehaus.plexus.PlexusTestCase
protected void copyFile(AbstractDependencyMojo mojo, File artifact, File destFile) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void installLocalRepository(org.apache.maven.plugin.LegacySupport legacySupport) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
org.codehaus.plexus.component.repository.exception.ComponentLookupException
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.