o clean up debug in the test

git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@773963 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2009-05-12 16:19:44 +00:00
parent 0b4fc499ed
commit 5e0dc06c34
1 changed files with 2 additions and 29 deletions

View File

@ -60,29 +60,7 @@ public class LifecycleExecutorTest
// plexus-component-metadata:generate-test-metadata
// surefire:test
// jar:jar
// resources:resources
// resources:resources
// compiler:compile
// compiler:compile
// plexus-component-metadata:generate-metadata
// resources:testResources
// resources:testResources
// compiler:testCompile
// compiler:testCompile
// plexus-component-metadata:generate-test-metadata
// surefire:test
// surefire:test
// jar:jar
// jar:jar
/*
for( MojoExecution e : lifecyclePlan )
{
System.out.println( e.getMojoDescriptor().getFullGoalName() );
}
*/
assertEquals( "resources:resources", lifecyclePlan.get( 0 ).getMojoDescriptor().getFullGoalName() );
assertEquals( "compiler:compile", lifecyclePlan.get( 1 ).getMojoDescriptor().getFullGoalName() );
assertEquals( "plexus-component-metadata:generate-metadata", lifecyclePlan.get( 2 ).getMojoDescriptor().getFullGoalName() );
@ -107,12 +85,7 @@ public class LifecycleExecutorTest
throws Exception
{
List<Plugin> plugins = new ArrayList<Plugin>( lifecycleExecutor.getPluginsBoundByDefaultToAllLifecycles( "jar" ) );
for( Plugin plugin : plugins )
{
System.out.println( plugin.getArtifactId() );
}
assertEquals( 8, plugins.size() );
}