SLING-3017 Improve Karaf integration tests
authorOliver Lietz <olli@apache.org>
Mon, 9 Apr 2018 19:03:38 +0000 (21:03 +0200)
committerOliver Lietz <olli@apache.org>
Mon, 9 Apr 2018 19:03:38 +0000 (21:03 +0200)
add missing tests for feature composum

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

index c852c8f..c6201ab 100644 (file)
@@ -51,6 +51,13 @@ public class ComposumIT extends KarafTestSupport {
     }
 
     @Test
+    public void testComComposumCoreConfig() {
+        final Bundle bundle = findBundle("com.composum.core.config");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
+    @Test
     public void testComComposumCoreConsole() {
         final Bundle bundle = findBundle("com.composum.core.console");
         assertNotNull(bundle);
@@ -64,4 +71,18 @@ public class ComposumIT extends KarafTestSupport {
         assertEquals(Bundle.ACTIVE, bundle.getState());
     }
 
+    @Test
+    public void testComComposumCoreUsermgnt() {
+        final Bundle bundle = findBundle("com.composum.core.usermgnt");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
+    @Test
+    public void testComComposumCorePckgmgr() {
+        final Bundle bundle = findBundle("com.composum.core.pckgmgr");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
 }