jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1585297 - /jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/AutoCreatedItemsTest.java
Date Sun, 06 Apr 2014 12:28:02 GMT
Author: mduerig
Date: Sun Apr  6 12:28:01 2014
New Revision: 1585297

URL: http://svn.apache.org/r1585297
Log:
OAK-1680: AutoCreatedItemsTest#autoCreatedItems fail on DOCUMENT_JDBC fixture
Ignore test case for the DOCUMENT_JDBC fixture

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/AutoCreatedItemsTest.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/AutoCreatedItemsTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/AutoCreatedItemsTest.java?rev=1585297&r1=1585296&r2=1585297&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/AutoCreatedItemsTest.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/AutoCreatedItemsTest.java
Sun Apr  6 12:28:01 2014
@@ -16,16 +16,17 @@
  */
 package org.apache.jackrabbit.oak.jcr;
 
+import static org.junit.Assert.assertArrayEquals;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
+
 import javax.jcr.Node;
 import javax.jcr.Session;
 import javax.jcr.Value;
 
+import org.junit.Assume;
 import org.junit.Test;
 
-import static org.junit.Assert.assertArrayEquals;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
-
 /**
  * {@code AutoCreatedItemsTest} checks if auto-created nodes and properties
  * are added correctly as defined in the node type definition.
@@ -38,6 +39,7 @@ public class AutoCreatedItemsTest extend
 
     @Test
     public void autoCreatedItems() throws Exception {
+        Assume.assumeTrue(fixture != NodeStoreFixture.DOCUMENT_JDBC);
         Session s = getAdminSession();
         new TestContentLoader().loadTestContent(s);
         Node test = s.getRootNode().addNode("test", "test:autoCreate");



Mime
View raw message