org.apache.maven.lifecycle
Class LifecycleExecutorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.AbstractCoreMavenComponentTestCase
                  extended by org.apache.maven.lifecycle.LifecycleExecutorTest
All Implemented Interfaces:
junit.framework.Test

public class LifecycleExecutorTest
extends AbstractCoreMavenComponentTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.maven.AbstractCoreMavenComponentTestCase
AbstractCoreMavenComponentTestCase.PluginBuilder, AbstractCoreMavenComponentTestCase.ProjectBuilder
 
Field Summary
 
Fields inherited from class org.apache.maven.AbstractCoreMavenComponentTestCase
projectBuilder, repositorySystem
 
Constructor Summary
LifecycleExecutorTest()
           
 
Method Summary
protected  String getProjectsDirectory()
           
protected  void setUp()
           
protected  void tearDown()
           
 void testCalculationOfBuildPlanTasksOfTheCleanLifecycleAndTheInstallLifecycle()
           
 void testCalculationOfBuildPlanWithIndividualTaskOfTheCleanCleanGoal()
           
 void testCalculationOfBuildPlanWithIndividualTaskOfTheCleanLifecycle()
           
 void testCalculationOfBuildPlanWithIndividualTaskWherePluginIsSpecifiedInThePom()
           
 void testCalculationOfBuildPlanWithMultipleExecutionsOfModello()
           
 void testFindingPluginPrefixforCleanClean()
           
 void testInvalidGoalName()
           
 void testLifecyclePluginsRetrievalForDefaultLifecycle()
           
 void testLifecycleQueryingUsingADefaultLifecyclePhase()
           
 void testPluginConfigurationCreation()
           
 void testPluginPrefixRetrieval()
           
 void testSetupMojoExecution()
           
 
Methods inherited from class org.apache.maven.AbstractCoreMavenComponentTestCase
createMavenExecutionRequest, createMavenSession, createMavenSession, createStubMavenProject, customizeContainerConfiguration, getLocalRepository, getPluginArtifactRepositories, getProject, getRemoteRepositories, initRepoSession
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
customizeContext, getBasedir, getClassLoader, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, teardownContainer
 
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
 

Constructor Detail

LifecycleExecutorTest

public LifecycleExecutorTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class AbstractCoreMavenComponentTestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class AbstractCoreMavenComponentTestCase
Throws:
Exception

getProjectsDirectory

protected String getProjectsDirectory()
Specified by:
getProjectsDirectory in class AbstractCoreMavenComponentTestCase

testCalculationOfBuildPlanWithIndividualTaskWherePluginIsSpecifiedInThePom

public void testCalculationOfBuildPlanWithIndividualTaskWherePluginIsSpecifiedInThePom()
                                                                                throws Exception
Throws:
Exception

testCalculationOfBuildPlanWithIndividualTaskOfTheCleanLifecycle

public void testCalculationOfBuildPlanWithIndividualTaskOfTheCleanLifecycle()
                                                                     throws Exception
Throws:
Exception

testCalculationOfBuildPlanWithIndividualTaskOfTheCleanCleanGoal

public void testCalculationOfBuildPlanWithIndividualTaskOfTheCleanCleanGoal()
                                                                     throws Exception
Throws:
Exception

testCalculationOfBuildPlanTasksOfTheCleanLifecycleAndTheInstallLifecycle

public void testCalculationOfBuildPlanTasksOfTheCleanLifecycleAndTheInstallLifecycle()
                                                                              throws Exception
Throws:
Exception

testCalculationOfBuildPlanWithMultipleExecutionsOfModello

public void testCalculationOfBuildPlanWithMultipleExecutionsOfModello()
                                                               throws Exception
Throws:
Exception

testLifecycleQueryingUsingADefaultLifecyclePhase

public void testLifecycleQueryingUsingADefaultLifecyclePhase()
                                                      throws Exception
Throws:
Exception

testLifecyclePluginsRetrievalForDefaultLifecycle

public void testLifecyclePluginsRetrievalForDefaultLifecycle()
                                                      throws Exception
Throws:
Exception

testPluginConfigurationCreation

public void testPluginConfigurationCreation()
                                     throws Exception
Throws:
Exception

testInvalidGoalName

public void testInvalidGoalName()
                         throws Exception
Throws:
Exception

testPluginPrefixRetrieval

public void testPluginPrefixRetrieval()
                               throws Exception
Throws:
Exception

testFindingPluginPrefixforCleanClean

public void testFindingPluginPrefixforCleanClean()
                                          throws Exception
Throws:
Exception

testSetupMojoExecution

public void testSetupMojoExecution()
                            throws Exception
Throws:
Exception


Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.