jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r1329206 - in /jackrabbit/branches/2.4: ./ jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventJournalTest.java
Date Mon, 23 Apr 2012 12:22:52 GMT
Author: reschke
Date: Mon Apr 23 12:22:51 2012
New Revision: 1329206

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

Modified:
    jackrabbit/branches/2.4/   (props changed)
    jackrabbit/branches/2.4/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventJournalTest.java

Propchange: jackrabbit/branches/2.4/
------------------------------------------------------------------------------
  Merged /jackrabbit/trunk:r1329198

Modified: jackrabbit/branches/2.4/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventJournalTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/branches/2.4/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventJournalTest.java?rev=1329206&r1=1329205&r2=1329206&view=diff
==============================================================================
--- jackrabbit/branches/2.4/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventJournalTest.java
(original)
+++ jackrabbit/branches/2.4/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventJournalTest.java
Mon Apr 23 12:22:51 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