SLING-7442 Upgrade Karaf Features to Oak 1.8
authorOliver Lietz <olli@apache.org>
Sun, 4 Mar 2018 21:28:46 +0000 (22:28 +0100)
committerOliver Lietz <olli@apache.org>
Sun, 4 Mar 2018 21:28:46 +0000 (22:28 +0100)
src/test/java/org/apache/sling/karaf/tests/bootstrap/JackrabbitOakIT.java
src/test/java/org/apache/sling/karaf/tests/bootstrap/SlingQuickstartOakMongoIT.java

index 8250519..e390a0f 100644 (file)
@@ -44,8 +44,23 @@ public class JackrabbitOakIT extends KarafTestSupport {
     }
 
     @Test
-    public void testOrgApacheJackrabbitOakCore() {
-        final Bundle bundle = findBundle("org.apache.jackrabbit.oak-core");
+    public void testOrgApacheJackrabbitOakApi() {
+        final Bundle bundle = findBundle("org.apache.jackrabbit.oak-api");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
+    @Test
+    public void testOrgApacheJackrabbitOakBlob() {
+        final Bundle bundle = findBundle("org.apache.jackrabbit.oak-blob");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
+
+    @Test
+    public void testOrgApacheJackrabbitOakBlobPlugins() {
+        final Bundle bundle = findBundle("org.apache.jackrabbit.oak-blob-plugins");
         assertNotNull(bundle);
         assertEquals(Bundle.ACTIVE, bundle.getState());
     }
@@ -58,8 +73,15 @@ public class JackrabbitOakIT extends KarafTestSupport {
     }
 
     @Test
-    public void testOrgApacheJackrabbitOakBlob() {
-        final Bundle bundle = findBundle("org.apache.jackrabbit.oak-blob");
+    public void testOrgApacheJackrabbitOakCore() {
+        final Bundle bundle = findBundle("org.apache.jackrabbit.oak-core");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
+    @Test
+    public void testOrgApacheJackrabbitOakCoreSpi() {
+        final Bundle bundle = findBundle("org.apache.jackrabbit.oak-core-spi");
         assertNotNull(bundle);
         assertEquals(Bundle.ACTIVE, bundle.getState());
     }
@@ -72,6 +94,34 @@ public class JackrabbitOakIT extends KarafTestSupport {
     }
 
     @Test
+    public void testOrgApacheJackrabbitOakQuerySpi() {
+        final Bundle bundle = findBundle("org.apache.jackrabbit.oak-query-spi");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
+    @Test
+    public void testOrgApacheJackrabbitOakSecuritySpi() {
+        final Bundle bundle = findBundle("org.apache.jackrabbit.oak-security-spi");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
+    @Test
+    public void testOrgApacheJackrabbitOakStoreCompositeSpi() {
+        final Bundle bundle = findBundle("org.apache.jackrabbit.oak-store-composite");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
+    @Test
+    public void testOrgApacheJackrabbitOakStoreSpi() {
+        final Bundle bundle = findBundle("org.apache.jackrabbit.oak-store-spi");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
+    @Test
     public void testComGoogleGuava() {
         final Bundle bundle = findBundle("com.google.guava");
         assertNotNull(bundle);
@@ -85,4 +135,11 @@ public class JackrabbitOakIT extends KarafTestSupport {
         assertEquals(Bundle.ACTIVE, bundle.getState());
     }
 
+    @Test
+    public void testIoDropwizardMetricsCore() {
+        final Bundle bundle = findBundle("io.dropwizard.metrics.core");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
 }
index 9a1eb82..75dac9c 100644 (file)
@@ -93,6 +93,13 @@ public class SlingQuickstartOakMongoIT extends AbstractSlingQuickstartOakTestSup
     }
 
     @Test
+    public void testOrgApacheJackrabbitOakStoreDocument() {
+        final Bundle bundle = findBundle("org.apache.jackrabbit.oak-store-document");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
+    @Test
     public void testOrgApacheJackrabbitOakLucene() {
         final Bundle bundle = findBundle("org.apache.jackrabbit.oak-lucene");
         assertNotNull(bundle);