Return-Path: X-Original-To: apmail-camel-commits-archive@www.apache.org Delivered-To: apmail-camel-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 94BF01875E for ; Sun, 11 Oct 2015 09:37:32 +0000 (UTC) Received: (qmail 98132 invoked by uid 500); 11 Oct 2015 09:37:32 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 98069 invoked by uid 500); 11 Oct 2015 09:37:32 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 97964 invoked by uid 99); 11 Oct 2015 09:37:32 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Oct 2015 09:37:32 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B624BDFF87; Sun, 11 Oct 2015 09:37:31 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: acosentino@apache.org To: commits@camel.apache.org Date: Sun, 11 Oct 2015 09:37:32 -0000 Message-Id: <5d1ad2d4543f4ffa84fb0c91f20d1d68@git.apache.org> In-Reply-To: <14da2e7ac2464e148063cacfd0bb014b@git.apache.org> References: <14da2e7ac2464e148063cacfd0bb014b@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/4] camel git commit: CAMEL-9211: Increase the number of Karaf integration tests - Camel-github CAMEL-9211: Increase the number of Karaf integration tests - Camel-github Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/1b3485f3 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/1b3485f3 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/1b3485f3 Branch: refs/heads/master Commit: 1b3485f33b3e3440cb3a9a5ca42271eba027e58e Parents: acbb228 Author: Andrea Cosentino Authored: Sun Oct 11 11:02:39 2015 +0200 Committer: Andrea Cosentino Committed: Sun Oct 11 11:36:39 2015 +0200 ---------------------------------------------------------------------- .../camel/itest/karaf/CamelGithubTest.java | 40 ++++++++++++++++++++ 1 file changed, 40 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/1b3485f3/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelGithubTest.java ---------------------------------------------------------------------- diff --git a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelGithubTest.java b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelGithubTest.java new file mode 100644 index 0000000..15ffbb4 --- /dev/null +++ b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelGithubTest.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.Configuration; +import org.ops4j.pax.exam.Option; +import org.ops4j.pax.exam.junit.PaxExam; + +@RunWith(PaxExam.class) +public class CamelGithubTest extends AbstractFeatureTest { + + public static final String COMPONENT = extractName(CamelGithubTest.class); + + @Test + public void test() throws Exception { + testComponent(COMPONENT); + } + + @Configuration + public static Option[] configure() { + return configure(COMPONENT); + } + +}