incubator-any23-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1304605 - /incubator/any23/trunk/plugins/integration-test/src/test/java/org/apache/any23/plugin/PluginIT.java
Date Fri, 23 Mar 2012 21:20:08 GMT
Author: simonetripodi
Date: Fri Mar 23 21:20:08 2012
New Revision: 1304605

URL: http://svn.apache.org/viewvc?rev=1304605&view=rev
Log:
added message to failing Crawler.class resolution

Modified:
    incubator/any23/trunk/plugins/integration-test/src/test/java/org/apache/any23/plugin/PluginIT.java

Modified: incubator/any23/trunk/plugins/integration-test/src/test/java/org/apache/any23/plugin/PluginIT.java
URL: http://svn.apache.org/viewvc/incubator/any23/trunk/plugins/integration-test/src/test/java/org/apache/any23/plugin/PluginIT.java?rev=1304605&r1=1304604&r2=1304605&view=diff
==============================================================================
--- incubator/any23/trunk/plugins/integration-test/src/test/java/org/apache/any23/plugin/PluginIT.java
(original)
+++ incubator/any23/trunk/plugins/integration-test/src/test/java/org/apache/any23/plugin/PluginIT.java
Fri Mar 23 21:20:08 2012
@@ -88,13 +88,14 @@ public class PluginIT {
     @Test
     public void testDetectCLIPlugins() throws IOException {
         final Iterator<Tool> tools = manager.getTools();
-        final Set<String> toolClasses = new HashSet<String>(); 
+        final Set<String> toolClasses = new HashSet<String>();
         Tool tool;
         while(tools.hasNext()) {
             tool = tools.next();
             Assert.assertTrue("Found duplicate tool.", toolClasses.add(tool.getClass().getName()));
         }
-        Assert.assertTrue( toolClasses.contains( Crawler.class.getName() ) );
+        Assert.assertTrue( "Expected " + Crawler.class.getName() + " plugin be detected,
but not found int the built classpath",
+                           toolClasses.contains( Crawler.class.getName() ) );
         Assert.assertEquals(7 + 1, toolClasses.size());
     }
 



Mime
View raw message