Permalink
Browse files

JCR-3493: OUTER JOIN tests expect incorrect results

Patch by Randall Hauch.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1440456 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent faccfc0 commit 316f6cf9ecd4df691727a6b0067adc9635c0ead9 @jukka jukka committed Jan 30, 2013
View
@@ -114,6 +114,8 @@ org.apache.jackrabbit.test.api.lock.SessionScopedLockTest#testLockExpiration
org.apache.jackrabbit.test.api.observation.NodeReorderTest#testNodeReorderMove
org.apache.jackrabbit.core.data.ConcurrentGcTest#testDatabases
org.apache.jackrabbit.core.data.GarbageCollectorTest#testCloseSessionWhileRunningGc
+org.apache.jackrabbit.test.api.query.qom.EquiJoinConditionTest#testRightOuterJoin1<!--JCR-3493, JCR-3498-->
+org.apache.jackrabbit.test.api.query.qom.EquiJoinConditionTest#testLeftOuterJoin2<!--JCR-3493, JCR-3498-->
</value>
</property>
<property>
@@ -63,7 +63,7 @@ public void testRightOuterJoin1() throws RepositoryException {
JoinCondition c = qf.equiJoinCondition(
LEFT, propertyName1, RIGHT, propertyName2);
QueryObjectModel qom = createQuery(QueryObjectModelConstants.JCR_JOIN_TYPE_RIGHT_OUTER, c);
- checkQOM(qom, new Node[][]{{n1, n2}, {n2, n2}});
+ checkQOM(qom, new Node[][]{{null, n1}, {n1, n2}, {n2, n2}});
}
public void testRightOuterJoin2() throws RepositoryException {
@@ -85,6 +85,6 @@ public void testLeftOuterJoin2() throws RepositoryException {
JoinCondition c = qf.equiJoinCondition(
LEFT, propertyName2, RIGHT, propertyName1);
QueryObjectModel qom = createQuery(QueryObjectModelConstants.JCR_JOIN_TYPE_LEFT_OUTER, c);
- checkQOM(qom, new Node[][]{{n2, n1}, {n2, n2}});
+ checkQOM(qom, new Node[][]{{n1, null}, {n2, n1}, {n2, n2}});
}
}
@@ -96,6 +96,8 @@
No notification about changes to registered namespace(s) -->
org.apache.jackrabbit.jcr2spi.name.NamespaceRegistryTest#testReRegisteredNamespace
org.apache.jackrabbit.jcr2spi.name.NamespaceRegistryTest#testReRegisteredNamespaceVisibility
+org.apache.jackrabbit.test.api.query.qom.EquiJoinConditionTest#testRightOuterJoin1<!--JCR-3493, JCR-3498-->
+org.apache.jackrabbit.test.api.query.qom.EquiJoinConditionTest#testLeftOuterJoin2<!--JCR-3493, JCR-3498-->
</value>
</property>
<property>
@@ -60,6 +60,8 @@
org.apache.jackrabbit.test.api.observation.NodeReorderTest#testNodeReorderMove
org.apache.jackrabbit.test.api.version.simple
org.apache.jackrabbit.test.api.LifecycleTest
+org.apache.jackrabbit.test.api.query.qom.EquiJoinConditionTest#testRightOuterJoin1<!--JCR-3493, JCR-3498-->
+org.apache.jackrabbit.test.api.query.qom.EquiJoinConditionTest#testLeftOuterJoin2<!--JCR-3493, JCR-3498-->
</value>
</property>
</systemProperties>

0 comments on commit 316f6cf

Please sign in to comment.