From commits-return-76896-archive-asf-public=cust-asf.ponee.io@sling.apache.org Thu Dec 20 21:53:53 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 420BE180675 for ; Thu, 20 Dec 2018 21:53:53 +0100 (CET) Received: (qmail 64090 invoked by uid 500); 20 Dec 2018 20:53:52 -0000 Mailing-List: contact commits-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list commits@sling.apache.org Received: (qmail 64078 invoked by uid 99); 20 Dec 2018 20:53:52 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Dec 2018 20:53:52 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id CA40E8528D; Thu, 20 Dec 2018 20:53:51 +0000 (UTC) Date: Thu, 20 Dec 2018 20:53:53 +0000 To: "commits@sling.apache.org" Subject: [sling-org-apache-sling-testing-paxexam] 02/02: SLING-8146 Update options and versions to latest features MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: olli@apache.org In-Reply-To: <154533923172.6148.2385231434468924162@gitbox.apache.org> References: <154533923172.6148.2385231434468924162@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: sling-org-apache-sling-testing-paxexam X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: 6dc59519dccbd211bf4c87f2eed8bc97ed673b91 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20181220205351.CA40E8528D@gitbox.apache.org> This is an automated email from the ASF dual-hosted git repository. olli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-paxexam.git commit 6dc59519dccbd211bf4c87f2eed8bc97ed673b91 Author: Oliver Lietz AuthorDate: Thu Dec 20 21:52:55 2018 +0100 SLING-8146 Update options and versions to latest features add ITs for new options --- .../it/tests/SlingOptionsSlingCaconfigIT.java | 48 ++++++++++++++++++++++ .../paxexam/it/tests/SlingOptionsSlingClamIT.java | 48 ++++++++++++++++++++++ .../it/tests/SlingOptionsSlingCommonsClamIT.java | 48 ++++++++++++++++++++++ .../SlingOptionsSlingScriptingFreemarkerIT.java | 48 ++++++++++++++++++++++ .../tests/SlingOptionsSlingStarterContentIT.java | 48 ++++++++++++++++++++++ 5 files changed, 240 insertions(+) diff --git a/src/test/java/org/apache/sling/testing/paxexam/it/tests/SlingOptionsSlingCaconfigIT.java b/src/test/java/org/apache/sling/testing/paxexam/it/tests/SlingOptionsSlingCaconfigIT.java new file mode 100644 index 0000000..2335fe9 --- /dev/null +++ b/src/test/java/org/apache/sling/testing/paxexam/it/tests/SlingOptionsSlingCaconfigIT.java @@ -0,0 +1,48 @@ +/* + * 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.sling.testing.paxexam.it.tests; + +import org.apache.sling.testing.paxexam.it.SlingOptionsTestSupport; +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; +import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy; +import org.ops4j.pax.exam.spi.reactors.PerClass; + +import static org.apache.sling.testing.paxexam.SlingOptions.slingCaconfig; + +@RunWith(PaxExam.class) +@ExamReactorStrategy(PerClass.class) +public class SlingOptionsSlingCaconfigIT extends SlingOptionsTestSupport { + + @Configuration + public Option[] configuration() { + return new Option[]{ + baseConfiguration(), + slingCaconfig() + }; + } + + @Test + public void test() { + } + +} diff --git a/src/test/java/org/apache/sling/testing/paxexam/it/tests/SlingOptionsSlingClamIT.java b/src/test/java/org/apache/sling/testing/paxexam/it/tests/SlingOptionsSlingClamIT.java new file mode 100644 index 0000000..420a5ef --- /dev/null +++ b/src/test/java/org/apache/sling/testing/paxexam/it/tests/SlingOptionsSlingClamIT.java @@ -0,0 +1,48 @@ +/* + * 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.sling.testing.paxexam.it.tests; + +import org.apache.sling.testing.paxexam.it.SlingOptionsTestSupport; +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; +import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy; +import org.ops4j.pax.exam.spi.reactors.PerClass; + +import static org.apache.sling.testing.paxexam.SlingOptions.slingClam; + +@RunWith(PaxExam.class) +@ExamReactorStrategy(PerClass.class) +public class SlingOptionsSlingClamIT extends SlingOptionsTestSupport { + + @Configuration + public Option[] configuration() { + return new Option[]{ + baseConfiguration(), + slingClam() + }; + } + + @Test + public void test() { + } + +} diff --git a/src/test/java/org/apache/sling/testing/paxexam/it/tests/SlingOptionsSlingCommonsClamIT.java b/src/test/java/org/apache/sling/testing/paxexam/it/tests/SlingOptionsSlingCommonsClamIT.java new file mode 100644 index 0000000..d149f53 --- /dev/null +++ b/src/test/java/org/apache/sling/testing/paxexam/it/tests/SlingOptionsSlingCommonsClamIT.java @@ -0,0 +1,48 @@ +/* + * 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.sling.testing.paxexam.it.tests; + +import org.apache.sling.testing.paxexam.it.SlingOptionsTestSupport; +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; +import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy; +import org.ops4j.pax.exam.spi.reactors.PerClass; + +import static org.apache.sling.testing.paxexam.SlingOptions.slingCommonsClam; + +@RunWith(PaxExam.class) +@ExamReactorStrategy(PerClass.class) +public class SlingOptionsSlingCommonsClamIT extends SlingOptionsTestSupport { + + @Configuration + public Option[] configuration() { + return new Option[]{ + baseConfiguration(), + slingCommonsClam() + }; + } + + @Test + public void test() { + } + +} diff --git a/src/test/java/org/apache/sling/testing/paxexam/it/tests/SlingOptionsSlingScriptingFreemarkerIT.java b/src/test/java/org/apache/sling/testing/paxexam/it/tests/SlingOptionsSlingScriptingFreemarkerIT.java new file mode 100644 index 0000000..af7399f --- /dev/null +++ b/src/test/java/org/apache/sling/testing/paxexam/it/tests/SlingOptionsSlingScriptingFreemarkerIT.java @@ -0,0 +1,48 @@ +/* + * 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.sling.testing.paxexam.it.tests; + +import org.apache.sling.testing.paxexam.it.SlingOptionsTestSupport; +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; +import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy; +import org.ops4j.pax.exam.spi.reactors.PerClass; + +import static org.apache.sling.testing.paxexam.SlingOptions.slingScriptingFreemarker; + +@RunWith(PaxExam.class) +@ExamReactorStrategy(PerClass.class) +public class SlingOptionsSlingScriptingFreemarkerIT extends SlingOptionsTestSupport { + + @Configuration + public Option[] configuration() { + return new Option[]{ + baseConfiguration(), + slingScriptingFreemarker() + }; + } + + @Test + public void test() { + } + +} diff --git a/src/test/java/org/apache/sling/testing/paxexam/it/tests/SlingOptionsSlingStarterContentIT.java b/src/test/java/org/apache/sling/testing/paxexam/it/tests/SlingOptionsSlingStarterContentIT.java new file mode 100644 index 0000000..3f8f6e3 --- /dev/null +++ b/src/test/java/org/apache/sling/testing/paxexam/it/tests/SlingOptionsSlingStarterContentIT.java @@ -0,0 +1,48 @@ +/* + * 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.sling.testing.paxexam.it.tests; + +import org.apache.sling.testing.paxexam.it.SlingOptionsTestSupport; +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; +import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy; +import org.ops4j.pax.exam.spi.reactors.PerClass; + +import static org.apache.sling.testing.paxexam.SlingOptions.slingStarterContent; + +@RunWith(PaxExam.class) +@ExamReactorStrategy(PerClass.class) +public class SlingOptionsSlingStarterContentIT extends SlingOptionsTestSupport { + + @Configuration + public Option[] configuration() { + return new Option[]{ + baseConfiguration(), + slingStarterContent() + }; + } + + @Test + public void test() { + } + +}