You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2018/02/12 12:24:29 UTC

[sling-org-apache-sling-karaf-integration-tests] 01/04: SLING-3027 Improve Launchpad Karaf Features

This is an automated email from the ASF dual-hosted git repository.

olli pushed a commit to branch feature/oak-1.8
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-karaf-integration-tests.git

commit 6d25dfa602d0452f24f923019c7424fc7020771b
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Wed Feb 7 22:26:53 2018 +0100

    SLING-3027 Improve Launchpad Karaf Features
    
    replace Tika (Uber) Bundle by Tika Parsers and PDFBox bundles, see SLING-7125
---
 .../apache/sling/karaf/tests/bootstrap/TikaIT.java | 25 ++++++++++++++++++++--
 1 file changed, 23 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/sling/karaf/tests/bootstrap/TikaIT.java b/src/test/java/org/apache/sling/karaf/tests/bootstrap/TikaIT.java
index 8b6298f..8aaa2eb 100644
--- a/src/test/java/org/apache/sling/karaf/tests/bootstrap/TikaIT.java
+++ b/src/test/java/org/apache/sling/karaf/tests/bootstrap/TikaIT.java
@@ -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());
     }

-- 
To stop receiving notification emails like this one, please contact
olli@apache.org.