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 <[email protected]>
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]"));
-    }
-}

Reply via email to