public abstract class AbstractDependencyMojoTestCase extends 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 |
setUp(String testDirStr,
boolean createFiles) |
protected void |
setUp(String testDirStr,
boolean createFiles,
boolean flattenedPath) |
protected void |
tearDown() |
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setUp, setupContainer, setupContainerConfiguration, setVariableValueToObject
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, 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
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 MojoExecutionException
MojoExecutionException
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.