camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [1/4] camel git commit: CAMEL-9211: Increase the number of Karaf integration tests - Camel-ical
Date Sun, 11 Oct 2015 09:37:31 GMT
Repository: camel
Updated Branches:
  refs/heads/master 5c034c845 -> 1e922b395


CAMEL-9211: Increase the number of Karaf integration tests - Camel-ical


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

Branch: refs/heads/master
Commit: f4e58a7f1e9846a901139295a9378dd89bf33709
Parents: 1b3485f
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Sun Oct 11 11:12:30 2015 +0200
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Sun Oct 11 11:36:39 2015 +0200

----------------------------------------------------------------------
 .../apache/camel/itest/karaf/CamelIcalTest.java | 46 ++++++++++++++++++++
 1 file changed, 46 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/f4e58a7f/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelIcalTest.java
----------------------------------------------------------------------
diff --git a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelIcalTest.java
b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelIcalTest.java
new file mode 100644
index 0000000..185b9ac
--- /dev/null
+++ b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelIcalTest.java
@@ -0,0 +1,46 @@
+/**
+ * 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.apache.camel.model.DataFormatDefinition;
+import org.apache.camel.model.dataformat.IcalDataFormat;
+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 CamelIcalTest extends AbstractFeatureTest {
+
+    public static final String COMPONENT = extractName(CamelIcalTest.class);
+    
+    protected DataFormatDefinition createDataformatDefinition(String format) {        
+        return new IcalDataFormat();
+    }
+
+    @Test
+    public void test() throws Exception {
+        testDataFormat(COMPONENT);
+    }
+
+    @Configuration
+    public static Option[] configure() {
+        return configure(COMPONENT);
+    }
+
+}
\ No newline at end of file


Mime
View raw message