public class QueryObjectModelFactoryTest extends AbstractQOMTest
QueryObjectModelFactoryTest tests all methods on the
QueryObjectModelFactory.AbstractQOMTest.CallablejcrContains, jcrDeref, jcrPath, jcrRoot, jcrScore, qf, qm, qsSQL, qsXPATH, vf, xpathRootisReadOnly, jcrBaseVersion, jcrCopiedFrom, jcrCreated, jcrFrozenNode, jcrFrozenUuid, jcrIsCheckedOut, jcrlockIsDeep, jcrLockOwner, jcrMergeFailed, jcrMixinTypes, jcrPredecessors, jcrPrimaryType, jcrRootVersion, jcrSuccessors, jcrSystem, jcrUUID, jcrVersionHistory, mixLockable, mixReferenceable, mixShareable, mixSimpleVersionable, mixTitle, mixVersionable, nodeName1, nodeName2, nodeName3, nodeName4, NS_JCR_URI, NS_MIX_URI, NS_NT_URI, NS_SV_URI, ntBase, ntFrozenNode, ntQuery, ntUnstructured, ntVersion, ntVersionHistory, ntVersionLabels, propertyName1, propertyName2, superuser, testNodeType, testNodeTypeNoChildren, testNodeTypeTestRoot, testPath, testRoot, testRootNode, workspaceName| Constructor and Description |
|---|
QueryObjectModelFactoryTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testAnd()
Test case for
QueryObjectModelFactory.and(Constraint, Constraint) |
void |
testBindVariableValue()
Test case for
QueryObjectModelFactory.bindVariable(String) |
void |
testChildNode()
Test case for
QueryObjectModelFactory.childNode(String, String) |
void |
testChildNodeJoinCondition()
Test case for
QueryObjectModelFactory.childNodeJoinCondition(String, String) |
void |
testChildNodeWithSelector()
Test case for
QueryObjectModelFactory.childNode(String, String) |
void |
testColumn()
Test case for
QueryObjectModelFactory.column(String, String, String) |
void |
testColumnAllProperties()
Test case for
QueryObjectModelFactory.column(String, String, String) |
void |
testColumnWithColumnName()
Test case for
QueryObjectModelFactory.column(String, String, String) |
void |
testColumnWithSelector()
Test case for
QueryObjectModelFactory.column(String, String, String) |
void |
testComparison()
Test case for
QueryObjectModelFactory.comparison(DynamicOperand, String, StaticOperand) |
void |
testCreateQuery() |
void |
testCreateQueryFromSource() |
void |
testCreateQueryFromSourceWithConstraint() |
void |
testCreateQueryFromSourceWithConstraintAndOrdering() |
void |
testCreateQueryFromSourceWithConstraintOrderingAndColumn() |
void |
testCreateQueryWithConstraint() |
void |
testCreateQueryWithConstraintAndOrdering() |
void |
testCreateQueryWithConstraintOrderingAndColumn() |
void |
testDescendantNode()
Test case for
QueryObjectModelFactory.descendantNode(String, String) |
void |
testDescendantNodeJoinCondition()
Test case for
QueryObjectModelFactory.descendantNodeJoinCondition(String, String) |
void |
testDescendantNodeWithSelector()
Test case for
QueryObjectModelFactory.descendantNode(String, String) |
void |
testEquiJoinCondition()
Test case for
QueryObjectModelFactory.equiJoinCondition(String, String, String, String) |
void |
testFullTextSearch()
Test case for
QueryObjectModelFactory.fullTextSearch(String, String, StaticOperand) |
void |
testFullTextSearchAllProperties()
Test case for
QueryObjectModelFactory.fullTextSearch(String, String, StaticOperand) |
void |
testFullTextSearchScore()
Test case for
QueryObjectModelFactory.fullTextSearchScore(String) |
void |
testFullTextSearchScoreWithSelector()
Test case for
QueryObjectModelFactory.fullTextSearchScore(String) |
void |
testFullTextSearchWithBindVariableValue()
Test case for
QueryObjectModelFactory.fullTextSearch(String, String, StaticOperand) |
void |
testJoin()
Test case for
QueryObjectModelFactory.join(Source, Source, String, JoinCondition) |
void |
testLength()
Test case for
QueryObjectModelFactory.length(PropertyValue) |
void |
testLiteral()
Test case for
QueryObjectModelFactory.literal(Value) |
void |
testLowerCase()
Test case for
QueryObjectModelFactory.lowerCase(DynamicOperand) |
void |
testNodeLocalName()
Test case for
QueryObjectModelFactory.nodeLocalName(String) |
void |
testNodeLocalNameWithSelector()
Test case for
QueryObjectModelFactory.nodeLocalName(String) |
void |
testNodeName()
Test case for
QueryObjectModelFactory.nodeName(String) |
void |
testNodeNameWithSelector()
Test case for
QueryObjectModelFactory.nodeName(String) |
void |
testNot()
Test case for
QueryObjectModelFactory.not(Constraint) |
void |
testOr()
Test case for
QueryObjectModelFactory.or(Constraint, Constraint) |
void |
testOrderingAscending()
Test case for
QueryObjectModelFactory.ascending(DynamicOperand) |
void |
testOrderingDescending()
Test case for
QueryObjectModelFactory.descending(DynamicOperand) |
void |
testPropertyExistence()
Test case for
QueryObjectModelFactory.propertyExistence(String, String) |
void |
testPropertyExistenceWithSelector()
Test case for
QueryObjectModelFactory.propertyExistence(String, String) |
void |
testPropertyValue()
Test case for
QueryObjectModelFactory.propertyValue(String, String) |
void |
testPropertyValueWithSelector()
Test case for
QueryObjectModelFactory.propertyValue(String, String) |
void |
testSameNode()
Test case for
QueryObjectModelFactory.sameNode(String, String) |
void |
testSameNodeJoinCondition()
Test case for
QueryObjectModelFactory.sameNodeJoinCondition(String, String, String) |
void |
testSameNodeJoinConditionWithPath()
Test case for
QueryObjectModelFactory.sameNodeJoinCondition(String, String, String) |
void |
testSameNodeWithSelector()
Test case for
QueryObjectModelFactory.sameNode(String, String) |
void |
testSelector()
Test case for
QueryObjectModelFactory.selector(String, String) |
void |
testSelectorWithName()
Test case for
QueryObjectModelFactory.selector(String, String) |
void |
testUpperCase()
Test case for
QueryObjectModelFactory.upperCase(DynamicOperand) |
bindVariableValue, checkQOM, checkQOM, checkResult, checkResultOrder, checkResultOrder, forQOMandSQL2, getPathcheckResult, checkResult, checkResult, checkResult, createQuery, createQuery, createQuery, escapeIdentifierForSQL, evaluateResultOrder, execute, execute, executeSqlQuery, executeSqlQuery, executeXPathQuery, isSupportedLanguage, setUp, tearDown, toArraycheckSupportedOption, cleanUp, cleanUpTestRoot, createRandomString, ensureCanSetProperty, ensureCanSetProperty, ensureCanSetProperty, ensureKnowsNodeType, ensureLockingSupported, ensureMixinType, ensureMultipleWorkspacesSupported, getHelper, getJcrValue, getLocalName, getNonExistingWorkspaceName, getPrefix, getProperty, getProperty, getQualifiedName, getSize, isSupported, needsMixin, runassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, runBare, runTest, setName, toStringpublic void testAnd()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.and(Constraint, Constraint)javax.jcr.RepositoryExceptionpublic void testOrderingAscending()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.ascending(DynamicOperand)javax.jcr.RepositoryExceptionpublic void testBindVariableValue()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.bindVariable(String)javax.jcr.RepositoryExceptionpublic void testChildNode()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.childNode(String, String)javax.jcr.RepositoryExceptionpublic void testChildNodeWithSelector()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.childNode(String, String)javax.jcr.RepositoryExceptionpublic void testChildNodeJoinCondition()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.childNodeJoinCondition(String, String)javax.jcr.RepositoryExceptionpublic void testColumn()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.column(String, String, String)javax.jcr.RepositoryExceptionpublic void testColumnAllProperties()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.column(String, String, String)javax.jcr.RepositoryExceptionpublic void testColumnWithColumnName()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.column(String, String, String)javax.jcr.RepositoryExceptionpublic void testColumnWithSelector()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.column(String, String, String)javax.jcr.RepositoryExceptionpublic void testComparison()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.comparison(DynamicOperand, String, StaticOperand)javax.jcr.RepositoryExceptionpublic void testCreateQuery()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testCreateQueryWithConstraint()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testCreateQueryWithConstraintAndOrdering()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testCreateQueryWithConstraintOrderingAndColumn()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testCreateQueryFromSource()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testCreateQueryFromSourceWithConstraint()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testCreateQueryFromSourceWithConstraintAndOrdering()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testCreateQueryFromSourceWithConstraintOrderingAndColumn()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testDescendantNode()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.descendantNode(String, String)javax.jcr.RepositoryExceptionpublic void testDescendantNodeWithSelector()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.descendantNode(String, String)javax.jcr.RepositoryExceptionpublic void testDescendantNodeJoinCondition()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.descendantNodeJoinCondition(String, String)javax.jcr.RepositoryExceptionpublic void testOrderingDescending()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.descending(DynamicOperand)javax.jcr.RepositoryExceptionpublic void testEquiJoinCondition()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.equiJoinCondition(String, String, String, String)javax.jcr.RepositoryExceptionpublic void testFullTextSearch()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.fullTextSearch(String, String, StaticOperand)javax.jcr.RepositoryExceptionpublic void testFullTextSearchAllProperties()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.fullTextSearch(String, String, StaticOperand)javax.jcr.RepositoryExceptionpublic void testFullTextSearchWithBindVariableValue()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.fullTextSearch(String, String, StaticOperand)javax.jcr.RepositoryExceptionpublic void testFullTextSearchScore()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.fullTextSearchScore(String)javax.jcr.RepositoryExceptionpublic void testFullTextSearchScoreWithSelector()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.fullTextSearchScore(String)javax.jcr.RepositoryExceptionpublic void testJoin()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.join(Source, Source, String, JoinCondition)javax.jcr.RepositoryExceptionpublic void testLength()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.length(PropertyValue)javax.jcr.RepositoryExceptionpublic void testLiteral()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.literal(Value)javax.jcr.RepositoryExceptionpublic void testLowerCase()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.lowerCase(DynamicOperand)javax.jcr.RepositoryExceptionpublic void testNodeLocalName()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.nodeLocalName(String)javax.jcr.RepositoryExceptionpublic void testNodeLocalNameWithSelector()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.nodeLocalName(String)javax.jcr.RepositoryExceptionpublic void testNodeName()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.nodeName(String)javax.jcr.RepositoryExceptionpublic void testNodeNameWithSelector()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.nodeName(String)javax.jcr.RepositoryExceptionpublic void testNot()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.not(Constraint)javax.jcr.RepositoryExceptionpublic void testOr()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.or(Constraint, Constraint)javax.jcr.RepositoryExceptionpublic void testPropertyExistence()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.propertyExistence(String, String)javax.jcr.RepositoryExceptionpublic void testPropertyExistenceWithSelector()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.propertyExistence(String, String)javax.jcr.RepositoryExceptionpublic void testPropertyValue()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.propertyValue(String, String)javax.jcr.RepositoryExceptionpublic void testPropertyValueWithSelector()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.propertyValue(String, String)javax.jcr.RepositoryExceptionpublic void testSameNode()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.sameNode(String, String)javax.jcr.RepositoryExceptionpublic void testSameNodeWithSelector()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.sameNode(String, String)javax.jcr.RepositoryExceptionpublic void testSameNodeJoinCondition()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.sameNodeJoinCondition(String, String, String)javax.jcr.RepositoryExceptionpublic void testSameNodeJoinConditionWithPath()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.sameNodeJoinCondition(String, String, String)javax.jcr.RepositoryExceptionpublic void testSelector()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.selector(String, String)javax.jcr.RepositoryExceptionpublic void testSelectorWithName()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.selector(String, String)javax.jcr.RepositoryExceptionpublic void testUpperCase()
throws javax.jcr.RepositoryException
QueryObjectModelFactory.upperCase(DynamicOperand)javax.jcr.RepositoryExceptionCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.