Added osgi test
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/fc029234 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/fc029234 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/fc029234 Branch: refs/heads/master Commit: fc0292346bd196a31a74a62495b5b488a2fb8b29 Parents: 3c8e8681 Author: Claus Ibsen <davscl...@apache.org> Authored: Sat May 28 09:30:23 2016 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Sat May 28 09:30:23 2016 +0200 ---------------------------------------------------------------------- .../camel/itest/karaf/CamelConsulTest.java | 35 ++++++++++++++++++++ 1 file changed, 35 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/fc029234/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelConsulTest.java ---------------------------------------------------------------------- diff --git a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelConsulTest.java b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelConsulTest.java new file mode 100644 index 0000000..ef3b555 --- /dev/null +++ b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelConsulTest.java @@ -0,0 +1,35 @@ +/** + * 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.Ignore; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.ops4j.pax.exam.junit.PaxExam; + +@RunWith(PaxExam.class) +@Ignore("OSGi bundle not released yet") +public class CamelConsulTest extends BaseKarafTest { + + public static final String COMPONENT = extractName(CamelConsulTest.class); + + @Test + public void test() throws Exception { + testComponent(COMPONENT); + } + +} \ No newline at end of file