org.apache.maven.plugin.dependency
Class AbstractDependencyMojoTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.plugin.testing.AbstractMojoTestCase
                  extended by org.apache.maven.plugin.dependency.AbstractDependencyMojoTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
TestAnalyzeDuplicateMojo, TestArtifactItem, TestBuildClasspathMojo, TestClassifierTypeTranslator, TestCopyDependenciesMojo, TestCopyDependenciesMojo2, TestCopyMojo, TestDependencyStatusSets, TestIncludeExcludeUnpackDependenciesMojo, TestIncludeExcludeUnpackMojo, TestPropertiesMojo, TestResolveMojo, TestTreeMojo, TestUnpackDependenciesMojo, TestUnpackDependenciesMojo2, TestUnpackMojo

public abstract class AbstractDependencyMojoTestCase
extends org.apache.maven.plugin.testing.AbstractMojoTestCase


Field Summary
protected  DependencyArtifactStubFactory stubFactory
           
protected  File testDir
           
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
AbstractDependencyMojoTestCase()
           
 
Method Summary
protected  void setUp(String testDirStr, boolean createFiles)
           
protected  void tearDown()
           
 
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setUp, setVariableValueToObject
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
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, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

testDir

protected File testDir

stubFactory

protected DependencyArtifactStubFactory stubFactory
Constructor Detail

AbstractDependencyMojoTestCase

public AbstractDependencyMojoTestCase()
Method Detail

setUp

protected void setUp(String testDirStr,
                     boolean createFiles)
              throws Exception
Throws:
Exception

tearDown

protected void tearDown()
Overrides:
tearDown in class PlexusTestCase


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.