| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.codehaus.plexus.PlexusTestCase
org.apache.maven.plugin.dependency.its.AbstractDependencyPluginITCase
public abstract class AbstractDependencyPluginITCase
| Field Summary | |
|---|---|
protected static String | 
ARTIFACT_ID
Artifact-Id for running test builds.  | 
protected static String | 
GROUP_ID
Group-Id for running test builds.  | 
protected static File | 
localRepositoryDirectory
Test repository directory.  | 
protected static File | 
PomFile
Pom File  | 
protected static String | 
VERSION
Version under which the plugin was installed to the test-time local repository for running test builds.  | 
| Fields inherited from class org.codehaus.plexus.PlexusTestCase | 
|---|
basedir, container | 
| Constructor Summary | |
|---|---|
AbstractDependencyPluginITCase()
 | 
|
| Method Summary | |
|---|---|
protected  void | 
executeMaven(File pom,
             Properties properties,
             List<String> goals)
 | 
protected  void | 
executeMaven(File pom,
             Properties properties,
             List<String> goals,
             boolean switchLocalRepo)
 | 
protected  File | 
getOutputDirectory(String projectName)
 | 
protected  String | 
getPluginCLISpecification()
 | 
protected  MavenProject | 
readProject(File pom)
 | 
protected  void | 
setUp()
 | 
protected  void | 
tearDown()
 | 
protected  void | 
testProject(String projectName,
            Properties properties,
            String goalList)
Execute the plugin.  | 
protected  void | 
testProject(String projectName,
            String goalList)
Execute the plugin with no properties  | 
| 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 | 
|---|
protected static File localRepositoryDirectory
protected static File PomFile
protected static final String GROUP_ID
protected static final String ARTIFACT_ID
protected static final String VERSION
| Constructor Detail | 
|---|
public AbstractDependencyPluginITCase()
| Method Detail | 
|---|
protected void setUp()
              throws Exception
setUp in class org.codehaus.plexus.PlexusTestCaseExceptionPlexusTestCase.setUp()
protected void tearDown()
                 throws Exception
tearDown in class org.codehaus.plexus.PlexusTestCaseExceptionPlexusTestCase.tearDown()
protected void testProject(String projectName,
                           String goalList)
                    throws Exception
projectName - project directorygoalList - comma separated list of goals to
            execute
Exception - any exception generated during test
protected void testProject(String projectName,
                           Properties properties,
                           String goalList)
                    throws Exception
projectName - project directoryproperties - additional propertiesgoalList - comma separated list of goals to
            execute
Exception - any exception generated during testprotected File getOutputDirectory(String projectName)
protected void executeMaven(File pom,
                            Properties properties,
                            List<String> goals)
                     throws TestToolsException,
                            ExecutionFailedException
TestToolsException
ExecutionFailedException
protected void executeMaven(File pom,
                            Properties properties,
                            List<String> goals,
                            boolean switchLocalRepo)
                     throws TestToolsException,
                            ExecutionFailedException
TestToolsException
ExecutionFailedException
protected MavenProject readProject(File pom)
                            throws TestToolsException
TestToolsExceptionprotected String getPluginCLISpecification()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||