Add a quick test to make sure the gridfs feature will install correctly
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/1f082895 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/1f082895 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/1f082895 Branch: refs/heads/master Commit: 1f082895f460bb67157b951523f973bc9efa22a9 Parents: b8d95f6 Author: Daniel Kulp <dk...@apache.org> Authored: Fri Sep 2 12:19:04 2016 -0400 Committer: Daniel Kulp <dk...@apache.org> Committed: Fri Sep 2 12:19:04 2016 -0400 ---------------------------------------------------------------------- .../itest/karaf/CamelMongodbGridfsTest.java | 34 ++++++++++++++++++++ 1 file changed, 34 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/1f082895/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelMongodbGridfsTest.java ---------------------------------------------------------------------- diff --git a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelMongodbGridfsTest.java b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelMongodbGridfsTest.java new file mode 100644 index 0000000..c59fc0b --- /dev/null +++ b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelMongodbGridfsTest.java @@ -0,0 +1,34 @@ +/** + * 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.junit.PaxExam; + +@RunWith(PaxExam.class) +public class CamelMongodbGridfsTest extends BaseKarafTest { + + public static final String COMPONENT = "gridfs"; //extractName(CamelMongodbGridfsTest.class); + + @Test + public void test() throws Exception { + testComponent("mongodb-gridfs", "gridfs"); + } + + +} \ No newline at end of file