You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2009/05/12 18:19:44 UTC
svn commit: r773963 -
/maven/components/branches/MNG-2766/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java
Author: jvanzyl
Date: Tue May 12 16:19:44 2009
New Revision: 773963
URL: http://svn.apache.org/viewvc?rev=773963&view=rev
Log:
o clean up debug in the test
Modified:
maven/components/branches/MNG-2766/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java
Modified: maven/components/branches/MNG-2766/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/MNG-2766/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java?rev=773963&r1=773962&r2=773963&view=diff
==============================================================================
--- maven/components/branches/MNG-2766/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java (original)
+++ maven/components/branches/MNG-2766/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java Tue May 12 16:19:44 2009
@@ -60,29 +60,7 @@
// 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 @@
throws Exception
{
List<Plugin> plugins = new ArrayList<Plugin>( lifecycleExecutor.getPluginsBoundByDefaultToAllLifecycles( "jar" ) );
-
- for( Plugin plugin : plugins )
- {
- System.out.println( plugin.getArtifactId() );
- }
-
+
assertEquals( 8, plugins.size() );
}