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 2020/04/01 06:40:40 UTC

[sling-org-apache-sling-testing-paxexam] 02/10: SLING-9308 Remove Threaddump Option

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 906fa26f8108c602f6118e5be36f67f4e5756153
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Tue Mar 31 07:47:21 2020 +0200

    SLING-9308 Remove Threaddump Option
---
 .../apache/sling/testing/paxexam/SlingOptions.java |  6 ---
 .../testing/paxexam/SlingVersionResolver.java      |  1 -
 .../SlingOptionsSlingExtensionsThreaddumpIT.java   | 49 ----------------------
 3 files changed, 56 deletions(-)

diff --git a/src/main/java/org/apache/sling/testing/paxexam/SlingOptions.java b/src/main/java/org/apache/sling/testing/paxexam/SlingOptions.java
index 6d41b3b..109a21d 100644
--- a/src/main/java/org/apache/sling/testing/paxexam/SlingOptions.java
+++ b/src/main/java/org/apache/sling/testing/paxexam/SlingOptions.java
@@ -562,12 +562,6 @@ public class SlingOptions {
         );
     }
 
-    public static ModifiableCompositeOption slingExtensionsThreaddump() {
-        return composite(
-            mavenBundle().groupId("org.apache.sling").artifactId("org.apache.sling.extensions.threaddump").version(versionResolver)
-        );
-    }
-
     public static ModifiableCompositeOption slingUrlrewriter() {
         return composite(
             sling(),
diff --git a/src/main/java/org/apache/sling/testing/paxexam/SlingVersionResolver.java b/src/main/java/org/apache/sling/testing/paxexam/SlingVersionResolver.java
index 3cb4d5d..38a6b98 100644
--- a/src/main/java/org/apache/sling/testing/paxexam/SlingVersionResolver.java
+++ b/src/main/java/org/apache/sling/testing/paxexam/SlingVersionResolver.java
@@ -191,7 +191,6 @@ public class SlingVersionResolver implements VersionResolver {
         versions.put("org.apache.sling:org.apache.sling.engine", "2.6.18");
         versions.put("org.apache.sling:org.apache.sling.event", "4.2.12");
         versions.put("org.apache.sling:org.apache.sling.event.dea", "1.1.4");
-        versions.put("org.apache.sling:org.apache.sling.extensions.threaddump", "0.2.2");
         versions.put("org.apache.sling:org.apache.sling.featureflags", "1.2.2");
         versions.put("org.apache.sling:org.apache.sling.fsresource", "2.1.14");
         versions.put("org.apache.sling:org.apache.sling.hc.api", "1.0.4");
diff --git a/src/test/java/org/apache/sling/testing/paxexam/it/tests/SlingOptionsSlingExtensionsThreaddumpIT.java b/src/test/java/org/apache/sling/testing/paxexam/it/tests/SlingOptionsSlingExtensionsThreaddumpIT.java
deleted file mode 100644
index 110a707..0000000
--- a/src/test/java/org/apache/sling/testing/paxexam/it/tests/SlingOptionsSlingExtensionsThreaddumpIT.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * 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.slingExtensionsThreaddump;
-import static org.ops4j.pax.exam.CoreOptions.options;
-
-@RunWith(PaxExam.class)
-@ExamReactorStrategy(PerClass.class)
-public class SlingOptionsSlingExtensionsThreaddumpIT extends SlingOptionsTestSupport {
-
-    @Configuration
-    public Option[] configuration() {
-        return options(
-            baseConfiguration(),
-            slingExtensionsThreaddump()
-        );
-    }
-
-    @Test
-    public void test() {
-    }
-
-}