camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/4] camel git commit: Added test
Date Fri, 02 Oct 2015 08:08:58 GMT
Repository: camel
Updated Branches:
  refs/heads/master e0b4e656a -> 5a5d4729c


Added test


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/ba826ae0
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/ba826ae0
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/ba826ae0

Branch: refs/heads/master
Commit: ba826ae0b4b3be6f302b1ca8aa313233964191cf
Parents: e0b4e65
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Fri Oct 2 09:29:15 2015 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri Oct 2 09:29:15 2015 +0200

----------------------------------------------------------------------
 .../java/org/apache/camel/catalog/CamelCatalogTest.java   | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/ba826ae0/platforms/catalog/src/test/java/org/apache/camel/catalog/CamelCatalogTest.java
----------------------------------------------------------------------
diff --git a/platforms/catalog/src/test/java/org/apache/camel/catalog/CamelCatalogTest.java
b/platforms/catalog/src/test/java/org/apache/camel/catalog/CamelCatalogTest.java
index ea5f78d..34fa5c7 100644
--- a/platforms/catalog/src/test/java/org/apache/camel/catalog/CamelCatalogTest.java
+++ b/platforms/catalog/src/test/java/org/apache/camel/catalog/CamelCatalogTest.java
@@ -30,6 +30,16 @@ public class CamelCatalogTest extends TestCase {
     private CamelCatalog catalog = new DefaultCamelCatalog();
 
     @Test
+    public void testFindLanguageNames() throws Exception {
+        List<String> names = catalog.findLanguageNames();
+
+        assertTrue(names.contains("el"));
+        assertTrue(names.contains("simple"));
+        assertTrue(names.contains("spel"));
+        assertTrue(names.contains("xpath"));
+    }
+
+    @Test
     public void testFindNames() throws Exception {
         List<String> names = catalog.findComponentNames();
         assertNotNull(names);


Mime
View raw message