From commits-return-76250-archive-asf-public=cust-asf.ponee.io@sling.apache.org Sun Dec 2 14:04:53 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 84532180609 for ; Sun, 2 Dec 2018 14:04:52 +0100 (CET) Received: (qmail 84964 invoked by uid 500); 2 Dec 2018 13:04:51 -0000 Mailing-List: contact commits-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list commits@sling.apache.org Received: (qmail 84955 invoked by uid 99); 2 Dec 2018 13:04:51 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Dec 2018 13:04:51 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id E174E80478; Sun, 2 Dec 2018 13:04:50 +0000 (UTC) Date: Sun, 02 Dec 2018 13:04:50 +0000 To: "commits@sling.apache.org" Subject: [sling-org-apache-sling-karaf-integration-tests] branch master updated: SLING-8149 Remove feature sling-discovery-impl MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <154375589088.19939.17669726230181779699@gitbox.apache.org> From: olli@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: sling-org-apache-sling-karaf-integration-tests X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 53cb8657b34c24d7d1126b95514ce68f41f2806a X-Git-Newrev: 627ade8a96c9b77f501c5004f8c462c2bf161914 X-Git-Rev: 627ade8a96c9b77f501c5004f8c462c2bf161914 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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 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()); - } - -}