You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ss...@apache.org on 2025/11/24 16:29:44 UTC

(sling-org-apache-sling-launchpad-integration-tests) branch SLING-13010/remove-provisioning-its created (now 70df96b)

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

sseifert pushed a change to branch SLING-13010/remove-provisioning-its
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-launchpad-integration-tests.git


      at 70df96b  SLING-13010 Remove Provisioning ITs

This branch includes the following new commits:

     new 70df96b  SLING-13010 Remove Provisioning ITs

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(sling-org-apache-sling-launchpad-integration-tests) 01/01: SLING-13010 Remove Provisioning ITs

Posted by ss...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sseifert pushed a commit to branch SLING-13010/remove-provisioning-its
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-launchpad-integration-tests.git

commit 70df96b11599cf4c7baa82284ef05ba299d4133b
Author: Stefan Seifert <st...@users.noreply.github.com>
AuthorDate: Mon Nov 24 17:29:35 2025 +0100

    SLING-13010 Remove Provisioning ITs
---
 pom.xml                                            |  6 --
 .../provisioning/EmbeddedModelTest.java            | 66 ----------------------
 2 files changed, 72 deletions(-)

diff --git a/pom.xml b/pom.xml
index b80df5a..8065cf1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -299,12 +299,6 @@
             <version>14-SNAPSHOT</version>
             <scope>compile</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.sling</groupId>
-            <artifactId>org.apache.sling.launchpad.api</artifactId>
-            <version>1.2.0</version>
-            <scope>provided</scope>
-        </dependency>
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.jcr.api</artifactId>
diff --git a/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/provisioning/EmbeddedModelTest.java b/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/provisioning/EmbeddedModelTest.java
deleted file mode 100644
index cb94a1c..0000000
--- a/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/provisioning/EmbeddedModelTest.java
+++ /dev/null
@@ -1,66 +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.launchpad.webapp.integrationtest.provisioning;
-
-import java.io.IOException;
-import java.io.InputStream;
-
-import org.apache.commons.io.IOUtils;
-import org.apache.sling.junit.rules.TeleporterRule;
-import org.apache.sling.launchpad.api.LaunchpadContentProvider;
-import org.junit.Before;
-import org.junit.Rule;
-import org.junit.Test;
-
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-
-/** Verify that the provisioning model used to build this instance is available
- *  as a Launchpad resource.
- */
-public class EmbeddedModelTest {
-    @Rule
-    public final TeleporterRule teleporter = TeleporterRule.forClass(getClass(), "Launchpad");
-
-    public static final String MODEL_RESOURCE_PATH = "/resources/provisioning/model.txt";
-
-    private String modelContent;
-
-    @Before
-    public void setup() throws IOException {
-        final InputStream modelStream =
-                teleporter.getService(LaunchpadContentProvider.class).getResourceAsStream(MODEL_RESOURCE_PATH);
-        assertNotNull("Expecting embedded model resource at " + MODEL_RESOURCE_PATH, modelStream);
-        try {
-            modelContent = new String(IOUtils.toByteArray(modelStream));
-        } finally {
-            modelStream.close();
-        }
-    }
-
-    @Test
-    public void testLaunchpadFeature() {
-        assertTrue(modelContent.contains("[feature name=:launchpad]"));
-    }
-
-    @Test
-    public void testBootFeature() {
-        assertTrue(modelContent.contains("[feature name=:boot]"));
-    }
-}