SLING-3017 Improve Karaf integration tests
authorOliver Lietz <olli@apache.org>
Sat, 14 Jan 2017 16:38:04 +0000 (16:38 +0000)
committerOliver Lietz <olli@apache.org>
Sat, 14 Jan 2017 16:38:04 +0000 (16:38 +0000)
adjust Oak tests

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1778791 13f79535-47bb-0310-9956-ffa450edef68

pom.xml
src/test/java/org/apache/sling/karaf/tests/bootstrap/JackrabbitOakSlingIT.java
src/test/java/org/apache/sling/karaf/tests/bootstrap/SlingLaunchpadOakMongoIT.java

diff --git a/pom.xml b/pom.xml
index d25ef1b..fe54b53 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                 </goals>
               </execution>
             </executions>
-            <configuration>
-              <excludes>
-                <exclude>**/SlingLaunchpadOakMongoIT.*</exclude>
-              </excludes>
-            </configuration>
           </plugin>
         </plugins>
       </build>
index bbf2c64..4d4bea0 100644 (file)
@@ -73,6 +73,13 @@ public class JackrabbitOakSlingIT extends KarafTestSupport {
     }
 
     @Test
+    public void testOrgApacheJackrabbitOakLucene() {
+        final Bundle bundle = findBundle("org.apache.jackrabbit.oak-lucene");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
+    @Test
     public void testComGoogleGuava() {
         final Bundle bundle = findBundle("com.google.guava");
         assertNotNull(bundle);
@@ -80,7 +87,6 @@ public class JackrabbitOakSlingIT extends KarafTestSupport {
     }
 
     @Test
-    @Ignore
     public void testOrgApacheFelixJaas() {
         final Bundle bundle = findBundle("org.apache.felix.jaas");
         assertNotNull(bundle);
index 3f775c9..f2f3c53 100644 (file)
@@ -99,4 +99,11 @@ public class SlingLaunchpadOakMongoIT extends AbstractSlingLaunchpadOakTestSuppo
         assertEquals(Bundle.ACTIVE, bundle.getState());
     }
 
+    @Test
+    public void testComH2databaseH2() {
+        final Bundle bundle = findBundle("org.h2");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
 }