You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2013/12/26 20:12:20 UTC

git commit: CAMEL-7090: Added camel-jgroups to karaf tests.

Updated Branches:
  refs/heads/master 7e279d4bb -> 7b51e4935


CAMEL-7090: Added camel-jgroups to karaf tests.

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

Branch: refs/heads/master
Commit: 7b51e4935d3a229a32d6bde276fb950636d3e9fd
Parents: 7e279d4
Author: Babak Vahdat <bv...@apache.org>
Authored: Thu Dec 26 20:12:11 2013 +0100
Committer: Babak Vahdat <bv...@apache.org>
Committed: Thu Dec 26 20:12:11 2013 +0100

----------------------------------------------------------------------
 .../camel/itest/karaf/CamelJgroupsTest.java     | 40 ++++++++++++++++++++
 1 file changed, 40 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/7b51e493/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelJgroupsTest.java
----------------------------------------------------------------------
diff --git a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelJgroupsTest.java b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelJgroupsTest.java
new file mode 100644
index 0000000..c5a8a64
--- /dev/null
+++ b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelJgroupsTest.java
@@ -0,0 +1,40 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.itest.karaf;
+
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.ops4j.pax.exam.Option;
+import org.ops4j.pax.exam.junit.Configuration;
+import org.ops4j.pax.exam.junit.JUnit4TestRunner;
+
+@RunWith(JUnit4TestRunner.class)
+public class CamelJgroupsTest extends AbstractFeatureTest {
+
+    public static final String COMPONENT = extractName(CamelJgroupsTest.class);
+
+    @Test
+    public void test() throws Exception {
+        testComponent(COMPONENT);
+    }
+
+    @Configuration
+    public static Option[] configure() {
+        return configure(COMPONENT);
+    }
+
+}
\ No newline at end of file