You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2025/03/10 20:02:36 UTC

(sling-org-apache-sling-testing-paxexam) 02/03: add missing test

This is an automated email from the ASF dual-hosted git repository.

olli pushed a commit to branch 4.1
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-paxexam.git

commit 9a4b1706fcb1fb1850b2f7aa0c83bbff154099ea
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Fri Dec 20 20:30:46 2024 +0100

    add missing test
    
    (cherry picked from commit 16a5608c0a7d7632e3e4ca42688cd7c041066bbc)
---
 .../tests/SlingOptionsHttpcomponetsClientIT.java   | 50 ++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/src/test/java/org/apache/sling/testing/paxexam/it/tests/SlingOptionsHttpcomponetsClientIT.java b/src/test/java/org/apache/sling/testing/paxexam/it/tests/SlingOptionsHttpcomponetsClientIT.java
new file mode 100644
index 0000000..c61342f
--- /dev/null
+++ b/src/test/java/org/apache/sling/testing/paxexam/it/tests/SlingOptionsHttpcomponetsClientIT.java
@@ -0,0 +1,50 @@
+/*
+ * 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.httpcomponentsClient;
+import static org.ops4j.pax.exam.CoreOptions.options;
+
+@RunWith(PaxExam.class)
+@ExamReactorStrategy(PerClass.class)
+public class SlingOptionsHttpcomponetsClientIT extends SlingOptionsTestSupport {
+
+    @Configuration
+    public Option[] configuration() {
+        return options(
+            baseConfiguration(),
+            httpcomponentsClient()
+        );
+    }
+
+    @Test
+    @SuppressWarnings("java:S2699")
+    public void test() {
+    }
+
+}