You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ke...@apache.org on 2006/10/11 12:07:21 UTC

svn commit: r462755 - /maven/components/trunk/maven-plugin-tools/maven-plugin-tools-java/src/test/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractorTest.java

Author: kenney
Date: Wed Oct 11 03:07:19 2006
New Revision: 462755

URL: http://svn.apache.org/viewvc?view=rev&rev=462755
Log:
Removed import of class in src/test/resources - how could this ever have worked?

Modified:
    maven/components/trunk/maven-plugin-tools/maven-plugin-tools-java/src/test/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractorTest.java

Modified: maven/components/trunk/maven-plugin-tools/maven-plugin-tools-java/src/test/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractorTest.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-plugin-tools/maven-plugin-tools-java/src/test/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractorTest.java?view=diff&rev=462755&r1=462754&r2=462755
==============================================================================
--- maven/components/trunk/maven-plugin-tools/maven-plugin-tools-java/src/test/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractorTest.java (original)
+++ maven/components/trunk/maven-plugin-tools/maven-plugin-tools-java/src/test/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractorTest.java Wed Oct 11 03:07:19 2006
@@ -27,8 +27,6 @@
 import java.net.URL;
 import java.util.List;
 
-import source2.sub.MyBla;
-
 /**
  * @author jdcasey
  */
@@ -57,7 +55,7 @@
         PluginDescriptor pluginDescriptor = new PluginDescriptor();
         pluginDescriptor.setGoalPrefix( "test" );
         List results = extractor.execute( project, pluginDescriptor );
-        assertEquals( 2, results.size() );
+        assertEquals( "Extracted mojos", 2, results.size() );
     }
 
     public void testShouldPropagateImplementationParameter()
@@ -91,7 +89,7 @@
 
         Parameter parameter = (Parameter) parameters.get( 0 );
 
-        assertEquals( MyBla.class.getName(), parameter.getImplementation() );
+        assertEquals( "Implementation parameter", "source2.sub.MyBla", parameter.getImplementation() );
     }
 
     private File fileOf( String classpathResource )