SLING-3027 Improve Launchpad Karaf Features
authorOliver Lietz <olli@apache.org>
Wed, 7 Feb 2018 21:26:53 +0000 (22:26 +0100)
committerOliver Lietz <olli@apache.org>
Wed, 7 Feb 2018 21:26:53 +0000 (22:26 +0100)
replace Tika (Uber) Bundle by Tika Parsers and PDFBox bundles, see SLING-7125

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

index 8b6298f..8aaa2eb 100644 (file)
@@ -52,8 +52,29 @@ public class TikaIT extends KarafTestSupport {
     }
 
     @Test
-    public void testOrgApacheTikaBundle() {
-        final Bundle bundle = findBundle("org.apache.tika.bundle");
+    public void testOrgApacheTikaParsers() {
+        final Bundle bundle = findBundle("org.apache.tika.parsers");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
+    @Test
+    public void testOrgApachePdfbox() {
+        final Bundle bundle = findBundle("org.apache.pdfbox");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
+    @Test
+    public void testOrgApachePdfboxFontbox() {
+        final Bundle bundle = findBundle("org.apache.pdfbox.fontbox");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
+    @Test
+    public void testOrgApachePdfboxJempbox() {
+        final Bundle bundle = findBundle("org.apache.pdfbox.jempbox");
         assertNotNull(bundle);
         assertEquals(Bundle.ACTIVE, bundle.getState());
     }