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] 01/03: SLING-3027 Improve Launchpad Karaf Features
Date Sun, 02 Dec 2018 10:53:33 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

commit 8048683f097454a8a764990155bc50ff5b742d28
Author: Oliver Lietz <olli@apache.org>
AuthorDate: Sun Dec 2 11:08:27 2018 +0100

    SLING-3027 Improve Launchpad Karaf Features
    
    adjust test to feature
---
 .../sling/karaf/tests/bootstrap/SlingScriptingSightlyIT.java | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/test/java/org/apache/sling/karaf/tests/bootstrap/SlingScriptingSightlyIT.java
b/src/test/java/org/apache/sling/karaf/tests/bootstrap/SlingScriptingSightlyIT.java
index 93ef69a..2966d28 100644
--- a/src/test/java/org/apache/sling/karaf/tests/bootstrap/SlingScriptingSightlyIT.java
+++ b/src/test/java/org/apache/sling/karaf/tests/bootstrap/SlingScriptingSightlyIT.java
@@ -40,27 +40,33 @@ public class SlingScriptingSightlyIT extends KarafTestSupport {
     public Option[] configuration() {
         return OptionUtils.combine(baseConfiguration(),
             addSlingFeatures(
-                "sling-commons-fsclassloader",
                 "sling-scripting-sightly"
             )
         );
     }
 
     @Test
-    public void testOrgApacheSlingSightly() {
+    public void testOrgApacheSlingScriptingSightly() {
         final Bundle bundle = findBundle("org.apache.sling.scripting.sightly");
         assertNotNull(bundle);
         assertEquals(Bundle.ACTIVE, bundle.getState());
     }
 
     @Test
-    public void testOrgApacheSlingSightlyJsProvider() {
+    public void testOrgApacheSlingScriptingSightlyJsProvider() {
         final Bundle bundle = findBundle("org.apache.sling.scripting.sightly.js.provider");
         assertNotNull(bundle);
         assertEquals(Bundle.ACTIVE, bundle.getState());
     }
 
     @Test
+    public void testOrgApacheSlingScriptingSightlyRuntime() {
+        final Bundle bundle = findBundle("org.apache.sling.scripting.sightly.runtime");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
+    @Test
     public void testOrgApacheServicemixBundlesRhino() {
         final Bundle bundle = findBundle("org.apache.servicemix.bundles.rhino");
         assertNotNull(bundle);


Mime
View raw message