From 5e0dc06c34f80438574ee2c3c16ca1b3addbe22b Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Tue, 12 May 2009 16:19:44 +0000 Subject: [PATCH] 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 --- .../lifecycle/LifecycleExecutorTest.java | 31 ++----------------- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java b/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java index 949b086b0f..c2401b3617 100644 --- a/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java +++ b/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java @@ -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 plugins = new ArrayList( lifecycleExecutor.getPluginsBoundByDefaultToAllLifecycles( "jar" ) ); - - for( Plugin plugin : plugins ) - { - System.out.println( plugin.getArtifactId() ); - } - + assertEquals( 8, plugins.size() ); }