SLING-3027 Improve Launchpad Karaf Features
authorOliver Lietz <olli@apache.org>
Sun, 2 Dec 2018 10:08:27 +0000 (11:08 +0100)
committerOliver Lietz <olli@apache.org>
Sun, 2 Dec 2018 10:08:27 +0000 (11:08 +0100)
adjust test to feature

src/test/java/org/apache/sling/karaf/tests/bootstrap/SlingScriptingSightlyIT.java

index 93ef69a..2966d28 100644 (file)
@@ -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);