Updated Branches: refs/heads/master 8745e037d -> 739a589e3
CAMEL-6534 Added karaf test of camel-rabbitmq Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/739a589e Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/739a589e Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/739a589e Branch: refs/heads/master Commit: 739a589e397b6f72fd45d429d74871f267da8a65 Parents: 8745e03 Author: Willem Jiang <ningji...@apache.org> Authored: Thu Jul 18 16:57:45 2013 +0800 Committer: Willem Jiang <ningji...@apache.org> Committed: Thu Jul 18 16:58:20 2013 +0800 ---------------------------------------------------------------------- .../camel/itest/karaf/CamelRabbitmqTest.java | 41 ++++++++++++++++++++ 1 file changed, 41 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/739a589e/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelRabbitmqTest.java ---------------------------------------------------------------------- diff --git a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelRabbitmqTest.java b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelRabbitmqTest.java new file mode 100644 index 0000000..05cf916 --- /dev/null +++ b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelRabbitmqTest.java @@ -0,0 +1,41 @@ +/** + * 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 CamelRabbitmqTest extends AbstractFeatureTest { + + public static final String COMPONENT = extractName(CamelRabbitmqTest.class); + + @Test + public void test() throws Exception { + testComponent(COMPONENT); + } + + @Configuration + public static Option[] configure() { + return configure(COMPONENT); + } + + +}