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/04/09 19:04:09 UTC

[sling-org-apache-sling-karaf-integration-tests] branch master updated: SLING-3017 Improve Karaf integration tests

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

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


The following commit(s) were added to refs/heads/master by this push:
     new f403aa7  SLING-3017 Improve Karaf integration tests
f403aa7 is described below

commit f403aa705aad6b5519e39ebfdf6c6b0e6a611e90
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Mon Apr 9 21:03:38 2018 +0200

    SLING-3017 Improve Karaf integration tests
    
    add missing tests for feature composum
---
 .../sling/karaf/tests/bootstrap/ComposumIT.java     | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

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

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