sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject [sling-org-apache-sling-karaf-integration-tests] branch master updated: SLING-8149 Remove feature sling-discovery-impl
Date Sun, 02 Dec 2018 13:04:50 GMT
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-karaf-integration-tests.git


The following commit(s) were added to refs/heads/master by this push:
     new 627ade8  SLING-8149 Remove feature sling-discovery-impl
627ade8 is described below

commit 627ade8a96c9b77f501c5004f8c462c2bf161914
Author: Oliver Lietz <olli@apache.org>
AuthorDate: Sun Dec 2 13:28:15 2018 +0100

    SLING-8149 Remove feature sling-discovery-impl
---
 .../tests/bootstrap/SlingDiscoveryImplIT.java      | 81 ----------------------
 1 file changed, 81 deletions(-)

diff --git a/src/test/java/org/apache/sling/karaf/tests/bootstrap/SlingDiscoveryImplIT.java
b/src/test/java/org/apache/sling/karaf/tests/bootstrap/SlingDiscoveryImplIT.java
deleted file mode 100644
index a426a63..0000000
--- a/src/test/java/org/apache/sling/karaf/tests/bootstrap/SlingDiscoveryImplIT.java
+++ /dev/null
@@ -1,81 +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.karaf.tests.bootstrap;
-
-import org.apache.sling.karaf.testing.KarafTestSupport;
-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.OptionUtils;
-import org.ops4j.pax.exam.junit.PaxExam;
-import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy;
-import org.ops4j.pax.exam.spi.reactors.PerClass;
-import org.osgi.framework.Bundle;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-
-@RunWith(PaxExam.class)
-@ExamReactorStrategy(PerClass.class)
-public class SlingDiscoveryImplIT extends KarafTestSupport {
-
-    @Configuration
-    public Option[] configuration() {
-        return OptionUtils.combine(baseConfiguration(),
-            addSlingFeatures("sling-discovery-impl")
-        );
-    }
-
-    @Test
-    public void testOrgApacheSlingDiscoveryBase() {
-        final Bundle bundle = findBundle("org.apache.sling.discovery.base");
-        assertNotNull(bundle);
-        assertEquals(Bundle.ACTIVE, bundle.getState());
-    }
-
-    @Test
-    public void testOrgApacheSlingDiscoveryCommons() {
-        final Bundle bundle = findBundle("org.apache.sling.discovery.commons");
-        assertNotNull(bundle);
-        assertEquals(Bundle.ACTIVE, bundle.getState());
-    }
-
-    @Test
-    public void testOrgApacheSlingDiscoveryImpl() {
-        final Bundle bundle = findBundle("org.apache.sling.discovery.impl");
-        assertNotNull(bundle);
-        assertEquals(Bundle.ACTIVE, bundle.getState());
-    }
-
-    @Test
-    public void testOrgApacheHttpcomponentsHttpcore() {
-        final Bundle bundle = findBundle("org.apache.httpcomponents.httpcore");
-        assertNotNull(bundle);
-        assertEquals(Bundle.ACTIVE, bundle.getState());
-    }
-
-    @Test
-    public void testOrgApacheHttpcomponentsHttpclient() {
-        final Bundle bundle = findBundle("org.apache.httpcomponents.httpclient");
-        assertNotNull(bundle);
-        assertEquals(Bundle.ACTIVE, bundle.getState());
-    }
-
-}


Mime
View raw message