sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject svn commit: r1753983 - /sling/trunk/testing/org.apache.sling.testing.paxexam/src/main/java/org/apache/sling/testing/paxexam/TestSupport.java
Date Mon, 25 Jul 2016 12:25:11 GMT
Author: olli
Date: Mon Jul 25 12:25:11 2016
New Revision: 1753983

URL: http://svn.apache.org/viewvc?rev=1753983&view=rev
Log:
SLING-5897 Fail the test by default if there are unresolved bundles

Modified:
    sling/trunk/testing/org.apache.sling.testing.paxexam/src/main/java/org/apache/sling/testing/paxexam/TestSupport.java

Modified: sling/trunk/testing/org.apache.sling.testing.paxexam/src/main/java/org/apache/sling/testing/paxexam/TestSupport.java
URL: http://svn.apache.org/viewvc/sling/trunk/testing/org.apache.sling.testing.paxexam/src/main/java/org/apache/sling/testing/paxexam/TestSupport.java?rev=1753983&r1=1753982&r2=1753983&view=diff
==============================================================================
--- sling/trunk/testing/org.apache.sling.testing.paxexam/src/main/java/org/apache/sling/testing/paxexam/TestSupport.java
(original)
+++ sling/trunk/testing/org.apache.sling.testing.paxexam/src/main/java/org/apache/sling/testing/paxexam/TestSupport.java
Mon Jul 25 12:25:11 2016
@@ -31,6 +31,7 @@ import org.osgi.service.cm.Configuration
 import static org.ops4j.pax.exam.CoreOptions.composite;
 import static org.ops4j.pax.exam.CoreOptions.keepCaches;
 import static org.ops4j.pax.exam.CoreOptions.mavenBundle;
+import static org.ops4j.pax.exam.CoreOptions.systemProperty;
 
 public abstract class TestSupport {
 
@@ -62,6 +63,7 @@ public abstract class TestSupport {
     protected Option baseConfiguration() {
         return composite(
             keepCaches(),
+            systemProperty("pax.exam.osgi.unresolved.fail").value("true"),
             CoreOptions.workingDirectory(workingDirectory()),
             mavenBundle().groupId("org.apache.sling").artifactId("org.apache.sling.testing.paxexam").versionAsInProject()
         );



Mime
View raw message