public class QueryObjectModelFactoryTest extends AbstractQOMTest
QueryObjectModelFactoryTest
tests all methods on the
QueryObjectModelFactory
.AbstractQOMTest.Callable
jcrContains, jcrDeref, jcrPath, jcrRoot, jcrScore, qf, qm, qsSQL, qsXPATH, vf, xpathRoot
isReadOnly, 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, getPath
checkResult, checkResult, checkResult, checkResult, createQuery, createQuery, createQuery, escapeIdentifierForSQL, evaluateResultOrder, execute, execute, executeSqlQuery, executeSqlQuery, executeXPathQuery, isSupportedLanguage, setUp, tearDown, toArray
checkSupportedOption, cleanUp, cleanUpTestRoot, createRandomString, ensureCanSetProperty, ensureCanSetProperty, ensureCanSetProperty, ensureKnowsNodeType, ensureLockingSupported, ensureMixinType, ensureMultipleWorkspacesSupported, getHelper, getJcrValue, getLocalName, getNonExistingWorkspaceName, getPrefix, getProperty, getProperty, getQualifiedName, getSize, isSupported, needsMixin, run
assertEquals, 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, toString
public void testAnd() throws javax.jcr.RepositoryException
QueryObjectModelFactory.and(Constraint, Constraint)
javax.jcr.RepositoryException
public void testOrderingAscending() throws javax.jcr.RepositoryException
QueryObjectModelFactory.ascending(DynamicOperand)
javax.jcr.RepositoryException
public void testBindVariableValue() throws javax.jcr.RepositoryException
QueryObjectModelFactory.bindVariable(String)
javax.jcr.RepositoryException
public void testChildNode() throws javax.jcr.RepositoryException
QueryObjectModelFactory.childNode(String, String)
javax.jcr.RepositoryException
public void testChildNodeWithSelector() throws javax.jcr.RepositoryException
QueryObjectModelFactory.childNode(String, String)
javax.jcr.RepositoryException
public void testChildNodeJoinCondition() throws javax.jcr.RepositoryException
QueryObjectModelFactory.childNodeJoinCondition(String, String)
javax.jcr.RepositoryException
public void testColumn() throws javax.jcr.RepositoryException
QueryObjectModelFactory.column(String, String, String)
javax.jcr.RepositoryException
public void testColumnAllProperties() throws javax.jcr.RepositoryException
QueryObjectModelFactory.column(String, String, String)
javax.jcr.RepositoryException
public void testColumnWithColumnName() throws javax.jcr.RepositoryException
QueryObjectModelFactory.column(String, String, String)
javax.jcr.RepositoryException
public void testColumnWithSelector() throws javax.jcr.RepositoryException
QueryObjectModelFactory.column(String, String, String)
javax.jcr.RepositoryException
public void testComparison() throws javax.jcr.RepositoryException
QueryObjectModelFactory.comparison(DynamicOperand, String, StaticOperand)
javax.jcr.RepositoryException
public void testCreateQuery() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public void testCreateQueryWithConstraint() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public void testCreateQueryWithConstraintAndOrdering() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public void testCreateQueryWithConstraintOrderingAndColumn() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public void testCreateQueryFromSource() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public void testCreateQueryFromSourceWithConstraint() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public void testCreateQueryFromSourceWithConstraintAndOrdering() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public void testCreateQueryFromSourceWithConstraintOrderingAndColumn() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public void testDescendantNode() throws javax.jcr.RepositoryException
QueryObjectModelFactory.descendantNode(String, String)
javax.jcr.RepositoryException
public void testDescendantNodeWithSelector() throws javax.jcr.RepositoryException
QueryObjectModelFactory.descendantNode(String, String)
javax.jcr.RepositoryException
public void testDescendantNodeJoinCondition() throws javax.jcr.RepositoryException
QueryObjectModelFactory.descendantNodeJoinCondition(String, String)
javax.jcr.RepositoryException
public void testOrderingDescending() throws javax.jcr.RepositoryException
QueryObjectModelFactory.descending(DynamicOperand)
javax.jcr.RepositoryException
public void testEquiJoinCondition() throws javax.jcr.RepositoryException
QueryObjectModelFactory.equiJoinCondition(String, String, String, String)
javax.jcr.RepositoryException
public void testFullTextSearch() throws javax.jcr.RepositoryException
QueryObjectModelFactory.fullTextSearch(String, String, StaticOperand)
javax.jcr.RepositoryException
public void testFullTextSearchAllProperties() throws javax.jcr.RepositoryException
QueryObjectModelFactory.fullTextSearch(String, String, StaticOperand)
javax.jcr.RepositoryException
public void testFullTextSearchWithBindVariableValue() throws javax.jcr.RepositoryException
QueryObjectModelFactory.fullTextSearch(String, String, StaticOperand)
javax.jcr.RepositoryException
public void testFullTextSearchScore() throws javax.jcr.RepositoryException
QueryObjectModelFactory.fullTextSearchScore(String)
javax.jcr.RepositoryException
public void testFullTextSearchScoreWithSelector() throws javax.jcr.RepositoryException
QueryObjectModelFactory.fullTextSearchScore(String)
javax.jcr.RepositoryException
public void testJoin() throws javax.jcr.RepositoryException
QueryObjectModelFactory.join(Source, Source, String, JoinCondition)
javax.jcr.RepositoryException
public void testLength() throws javax.jcr.RepositoryException
QueryObjectModelFactory.length(PropertyValue)
javax.jcr.RepositoryException
public void testLiteral() throws javax.jcr.RepositoryException
QueryObjectModelFactory.literal(Value)
javax.jcr.RepositoryException
public void testLowerCase() throws javax.jcr.RepositoryException
QueryObjectModelFactory.lowerCase(DynamicOperand)
javax.jcr.RepositoryException
public void testNodeLocalName() throws javax.jcr.RepositoryException
QueryObjectModelFactory.nodeLocalName(String)
javax.jcr.RepositoryException
public void testNodeLocalNameWithSelector() throws javax.jcr.RepositoryException
QueryObjectModelFactory.nodeLocalName(String)
javax.jcr.RepositoryException
public void testNodeName() throws javax.jcr.RepositoryException
QueryObjectModelFactory.nodeName(String)
javax.jcr.RepositoryException
public void testNodeNameWithSelector() throws javax.jcr.RepositoryException
QueryObjectModelFactory.nodeName(String)
javax.jcr.RepositoryException
public void testNot() throws javax.jcr.RepositoryException
QueryObjectModelFactory.not(Constraint)
javax.jcr.RepositoryException
public void testOr() throws javax.jcr.RepositoryException
QueryObjectModelFactory.or(Constraint, Constraint)
javax.jcr.RepositoryException
public void testPropertyExistence() throws javax.jcr.RepositoryException
QueryObjectModelFactory.propertyExistence(String, String)
javax.jcr.RepositoryException
public void testPropertyExistenceWithSelector() throws javax.jcr.RepositoryException
QueryObjectModelFactory.propertyExistence(String, String)
javax.jcr.RepositoryException
public void testPropertyValue() throws javax.jcr.RepositoryException
QueryObjectModelFactory.propertyValue(String, String)
javax.jcr.RepositoryException
public void testPropertyValueWithSelector() throws javax.jcr.RepositoryException
QueryObjectModelFactory.propertyValue(String, String)
javax.jcr.RepositoryException
public void testSameNode() throws javax.jcr.RepositoryException
QueryObjectModelFactory.sameNode(String, String)
javax.jcr.RepositoryException
public void testSameNodeWithSelector() throws javax.jcr.RepositoryException
QueryObjectModelFactory.sameNode(String, String)
javax.jcr.RepositoryException
public void testSameNodeJoinCondition() throws javax.jcr.RepositoryException
QueryObjectModelFactory.sameNodeJoinCondition(String, String, String)
javax.jcr.RepositoryException
public void testSameNodeJoinConditionWithPath() throws javax.jcr.RepositoryException
QueryObjectModelFactory.sameNodeJoinCondition(String, String, String)
javax.jcr.RepositoryException
public void testSelector() throws javax.jcr.RepositoryException
QueryObjectModelFactory.selector(String, String)
javax.jcr.RepositoryException
public void testSelectorWithName() throws javax.jcr.RepositoryException
QueryObjectModelFactory.selector(String, String)
javax.jcr.RepositoryException
public void testUpperCase() throws javax.jcr.RepositoryException
QueryObjectModelFactory.upperCase(DynamicOperand)
javax.jcr.RepositoryException
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.