jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r1329198 - /jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventJournalTest.java
Date Mon, 23 Apr 2012 12:13:34 GMT
Author: reschke
Date: Mon Apr 23 12:13:34 2012
New Revision: 1329198

URL: http://svn.apache.org/viewvc?rev=1329198&view=rev
Log:
JCR-2662: check for repository support of journaled observation, otherwise skip test

Modified:
    jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventJournalTest.java

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventJournalTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventJournalTest.java?rev=1329198&r1=1329197&r2=1329198&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventJournalTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventJournalTest.java
Mon Apr 23 12:13:34 2012
@@ -21,6 +21,7 @@ import java.util.HashSet;
 import java.util.Set;
 
 import javax.jcr.Node;
+import javax.jcr.Repository;
 import javax.jcr.RepositoryException;
 import javax.jcr.Session;
 import javax.jcr.observation.Event;
@@ -36,6 +37,7 @@ public class EventJournalTest extends Ab
     private EventJournal journal;
 
     protected void setUp() throws Exception {
+        checkSupportedOption(Repository.OPTION_JOURNALED_OBSERVATION_SUPPORTED);
         super.setUp();
         journal = obsMgr.getEventJournal();
     }



Mime
View raw message