camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r785626 - /camel/trunk/camel-core/src/test/java/org/apache/camel/impl/scan/PackageScanFiltersTest.java
Date Wed, 17 Jun 2009 14:36:24 GMT
Author: davsclaus
Date: Wed Jun 17 14:36:23 2009
New Revision: 785626

URL: http://svn.apache.org/viewvc?rev=785626&view=rev
Log:
Fixed unit test reported by TC.

Modified:
    camel/trunk/camel-core/src/test/java/org/apache/camel/impl/scan/PackageScanFiltersTest.java

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/impl/scan/PackageScanFiltersTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/impl/scan/PackageScanFiltersTest.java?rev=785626&r1=785625&r2=785626&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/impl/scan/PackageScanFiltersTest.java
(original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/impl/scan/PackageScanFiltersTest.java
Wed Jun 17 14:36:23 2009
@@ -50,7 +50,8 @@
         validateFilter(filter, ScanTargetTwo.class);
         validateFilter(filter, ScanTargetThree.class);
 
-        assertEquals("is assignable to any of ScanTargetOne, ScanTargetThree", filter.toString());
+        assertTrue(filter.toString().contains("ScanTargetOne"));
+        assertTrue(filter.toString().contains("ScanTargetThree"));
     }
 
     public void testAnnotatedWithAnyPackageScanFilter() {



Mime
View raw message