sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject [sling-org-apache-sling-paxexam-util] 13/26: Use released Sling Launchpad 7 and adapt bundle lists
Date Wed, 18 Oct 2017 23:29:33 GMT
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-paxexam-util.git

commit dcbd5da4127fd2b77423de74eb1bf50929df7a64
Author: Bertrand Delacretaz <bdelacretaz@apache.org>
AuthorDate: Mon Nov 3 11:18:09 2014 +0000

    Use released Sling Launchpad 7 and adapt bundle lists
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1636322 13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/paxexam/util/SlingRepositoryTest.java    |  2 +-
 .../apache/sling/paxexam/util/SlingSetupTest.java  | 75 ++++++++++++++++++++--
 2 files changed, 69 insertions(+), 8 deletions(-)

diff --git a/src/test/java/org/apache/sling/paxexam/util/SlingRepositoryTest.java b/src/test/java/org/apache/sling/paxexam/util/SlingRepositoryTest.java
index 18bbd3e..4abc6a9 100644
--- a/src/test/java/org/apache/sling/paxexam/util/SlingRepositoryTest.java
+++ b/src/test/java/org/apache/sling/paxexam/util/SlingRepositoryTest.java
@@ -46,7 +46,7 @@ public class SlingRepositoryTest {
     private SlingRepository repository;
     
     /** Use a released launchpad for this example */
-    public static final String SLING_LAUNCHPAD_VERSION = "6";
+    public static final String SLING_LAUNCHPAD_VERSION = "7";
     
     @org.ops4j.pax.exam.Configuration
     public Option[] config() {
diff --git a/src/test/java/org/apache/sling/paxexam/util/SlingSetupTest.java b/src/test/java/org/apache/sling/paxexam/util/SlingSetupTest.java
index 0738efd..2d8ad19 100644
--- a/src/test/java/org/apache/sling/paxexam/util/SlingSetupTest.java
+++ b/src/test/java/org/apache/sling/paxexam/util/SlingSetupTest.java
@@ -41,7 +41,7 @@ import org.osgi.framework.ServiceReference;
 public class SlingSetupTest {
     
     /** Use a released launchpad for this example */
-    public static final String SLING_LAUNCHPAD_VERSION = "6";
+    public static final String SLING_LAUNCHPAD_VERSION = "7";
     
     @Inject
     private BundleContext bundleContext;
@@ -90,56 +90,117 @@ public class SlingSetupTest {
     
     @Test
     public void testSlingBundles() {
-        final String [] bundles = {
+        final String [] LAUNCHPAD_7_BUNDLES = {
+                "derby",
+                "jcl.over.slf4j",
+                "log4j.over.slf4j",
+                "org.apache.aries.jmx.api",
+                "org.apache.aries.jmx.core",
+                "org.apache.aries.jmx.whiteboard",
+                "org.apache.aries.util",
+                "org.apache.commons.codec",
+                "org.apache.commons.collections",
+                "org.apache.commons.fileupload",
+                "org.apache.commons.io",
+                "org.apache.commons.lang",
+                "org.apache.commons.math",
+                "org.apache.commons.pool",
+                "org.apache.felix.bundlerepository",
+                "org.apache.felix.configadmin",
+                "org.apache.felix.eventadmin",
+                "org.apache.felix.framework",
+                //"org.apache.felix.http.api",
+                "org.apache.felix.http.jetty",
+                //"org.apache.felix.http.servlet-api",
+                "org.apache.felix.http.whiteboard",
+                "org.apache.felix.inventory",
+                "org.apache.felix.metatype",
+                "org.apache.felix.prefs",
+                "org.apache.felix.scr",
+                "org.apache.felix.webconsole",
+                "org.apache.felix.webconsole.plugins.ds",
+                "org.apache.felix.webconsole.plugins.event",
+                "org.apache.felix.webconsole.plugins.memoryusage",
+                "org.apache.felix.webconsole.plugins.obr",
+                "org.apache.felix.webconsole.plugins.packageadmin",
+                "org.apache.geronimo.bundles.commons-httpclient",
+                "org.apache.geronimo.bundles.json",
+                "org.apache.geronimo.bundles.jstl",
+                "org.apache.jackrabbit.jackrabbit-api",
+                "org.apache.jackrabbit.jackrabbit-jcr-commons",
+                "org.apache.jackrabbit.jackrabbit-jcr-rmi",
+                "org.apache.jackrabbit.jackrabbit-spi",
+                "org.apache.jackrabbit.jackrabbit-spi-commons",
+                "org.apache.jackrabbit.jackrabbit-webdav",
+                "org.apache.servicemix.bundles.concurrent",
                 "org.apache.sling.adapter",
                 "org.apache.sling.api",
                 "org.apache.sling.auth.core",
                 "org.apache.sling.auth.form",
-                "org.apache.sling.auth.openid",
-                "org.apache.sling.auth.selector",
                 "org.apache.sling.bundleresource.impl",
                 "org.apache.sling.commons.classloader",
+                "org.apache.sling.commons.compiler",
                 "org.apache.sling.commons.json",
                 "org.apache.sling.commons.log",
+                "org.apache.sling.commons.logservice",
                 "org.apache.sling.commons.mime",
                 "org.apache.sling.commons.osgi",
                 "org.apache.sling.commons.scheduler",
                 "org.apache.sling.commons.threads",
+                "org.apache.sling.discovery.api",
+                "org.apache.sling.discovery.impl",
+                "org.apache.sling.discovery.support",
                 "org.apache.sling.engine",
                 "org.apache.sling.event",
                 "org.apache.sling.extensions.explorer",
                 "org.apache.sling.extensions.threaddump",
                 "org.apache.sling.extensions.webconsolebranding",
                 "org.apache.sling.extensions.webconsolesecurityprovider",
+                "org.apache.sling.fragment.transaction",
+                "org.apache.sling.fragment.ws",
+                "org.apache.sling.fragment.xml",
                 "org.apache.sling.fsresource",
+                "org.apache.sling.installer.console",
                 "org.apache.sling.installer.core",
+                "org.apache.sling.installer.factory.configuration",
                 "org.apache.sling.installer.provider.file",
                 "org.apache.sling.installer.provider.jcr",
+                "org.apache.sling.javax.activation",
                 "org.apache.sling.jcr.api",
                 "org.apache.sling.jcr.base",
                 "org.apache.sling.jcr.classloader",
                 "org.apache.sling.jcr.contentloader",
+                "org.apache.sling.jcr.davex",
                 "org.apache.sling.jcr.jackrabbit.accessmanager",
                 "org.apache.sling.jcr.jackrabbit.server",
                 "org.apache.sling.jcr.jackrabbit.usermanager",
-                "org.apache.sling.jcr.ocm",
+                "org.apache.sling.jcr.jcr-wrapper",
+                "org.apache.sling.jcr.registration",
                 "org.apache.sling.jcr.resource",
                 "org.apache.sling.jcr.webconsole",
+                "org.apache.sling.jcr.webdav",
                 "org.apache.sling.launchpad.content",
                 "org.apache.sling.launchpad.installer",
+                "org.apache.sling.models.api",
+                "org.apache.sling.models.impl",
+                "org.apache.sling.resourceresolver",
                 "org.apache.sling.scripting.api",
                 "org.apache.sling.scripting.core",
                 "org.apache.sling.scripting.javascript",
                 "org.apache.sling.scripting.jsp",
                 "org.apache.sling.scripting.jsp.taglib",
+                "org.apache.sling.serviceusermapper",
                 "org.apache.sling.servlets.get",
                 "org.apache.sling.servlets.post",
                 "org.apache.sling.servlets.resolver",
-                "org.apache.sling.settings"
+                "org.apache.sling.settings",
+                "org.apache.tika.bundle",
+                "org.apache.tika.core",
+                "slf4j.api"
         };
         
         final List<String> missing = new ArrayList<String>();
-        for(String bundleName : bundles) {
+        for(String bundleName : LAUNCHPAD_7_BUNDLES) {
             final int state = getBundleState(bundleName); 
             if(state != Bundle.ACTIVE) {
                 missing.add(bundleName + " (state=" + state + ")");

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <commits@sling.apache.org>.

Mime
View raw message