checkResult(qom.execute(), new Node[][]{{n2, n1}, {null, n2}});
}
public void testLeftOuterJoin() throws RepositoryException {
JoinCondition c = qomFactory.childNodeJoinCondition(LEFT, RIGHT);
QueryObjectModel qom = createQuery(JOIN_TYPE_LEFT_OUTER, c);
List result = new ArrayList();
result.add(new Node[]{n2, n1});
if (testRootNode.isNodeType(testNodeType)) {
result.add(new Node[]{n1, testRootNode});
} else {
result.add(new Node[]{n1, null});
}
checkResult(qom.execute(), (Node[][]) result.toArray(new Node[result.size()][]));
}