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 |
setResolver(AbstractDependencyMojo mojo,
ArtifactResolver resolver) |
protected void |
setSilent(AbstractDependencyMojo mojo,
boolean silent) |
protected void |
setUp(String testDirStr,
boolean createFiles) |
protected void |
tearDown() |
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setUp, setVariableValueToObject
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, 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 tearDown()
tearDown
in class org.codehaus.plexus.PlexusTestCase
protected void setResolver(AbstractDependencyMojo mojo, ArtifactResolver resolver)
protected void setSilent(AbstractDependencyMojo mojo, boolean silent)
protected void copyFile(AbstractDependencyMojo mojo, File artifact, File destFile) throws MojoExecutionException
MojoExecutionException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.