Class QueryObjectModelFactoryTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.apache.jackrabbit.test.JUnitTest
-
- org.apache.jackrabbit.test.AbstractJCRTest
-
- org.apache.jackrabbit.test.api.query.AbstractQueryTest
-
- org.apache.jackrabbit.test.api.query.qom.AbstractQOMTest
-
- org.apache.jackrabbit.test.api.query.qom.QueryObjectModelFactoryTest
-
- All Implemented Interfaces:
junit.framework.Test
public class QueryObjectModelFactoryTest extends AbstractQOMTest
QueryObjectModelFactoryTesttests all methods on theQueryObjectModelFactory.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.jackrabbit.test.api.query.qom.AbstractQOMTest
AbstractQOMTest.Callable
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.test.api.query.AbstractQueryTest
jcrContains, jcrDeref, jcrPath, jcrRoot, jcrScore, qf, qm, qsSQL, qsXPATH, vf, xpathRoot
-
Fields inherited from class org.apache.jackrabbit.test.AbstractJCRTest
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, ntActivity, ntBase, ntFrozenNode, ntQuery, ntUnstructured, ntVersion, ntVersionHistory, ntVersionLabels, propertyName1, propertyName2, superuser, testNodeType, testNodeTypeNoChildren, testNodeTypeTestRoot, testPath, testRoot, testRootNode, workspaceName
-
-
Constructor Summary
Constructors Constructor Description QueryObjectModelFactoryTest()
-
Method Summary
-
Methods inherited from class org.apache.jackrabbit.test.api.query.qom.AbstractQOMTest
bindVariableValue, checkQOM, checkQOM, checkResult, checkResultOrder, checkResultOrder, forQOMandSQL2, getPath
-
Methods inherited from class org.apache.jackrabbit.test.api.query.AbstractQueryTest
checkResult, checkResult, checkResult, checkResult, createQuery, createQuery, createQuery, escapeIdentifierForSQL, evaluateResultOrder, execute, execute, executeSqlQuery, executeSqlQuery, executeXPathQuery, isSupportedLanguage, setUp, tearDown, toArray
-
Methods inherited from class org.apache.jackrabbit.test.AbstractJCRTest
checkSupportedOption, cleanUp, cleanUpTestRoot, createRandomString, ensureCanSetProperty, ensureCanSetProperty, ensureCanSetProperty, ensureKnowsNodeType, ensureLockingSupported, ensureMixinType, ensureMultipleWorkspacesSupported, getHelper, getJcrValue, getLocalName, getNonExistingWorkspaceName, getPrefix, getProperty, getProperty, getQualifiedName, getSize, isSupported, needsMixin, run
-
Methods inherited from class junit.framework.TestCase
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
-
-
-
-
Method Detail
-
testAnd
public void testAnd() throws RepositoryExceptionTest case forQueryObjectModelFactory.and(Constraint, Constraint)- Throws:
RepositoryException
-
testOrderingAscending
public void testOrderingAscending() throws RepositoryExceptionTest case forQueryObjectModelFactory.ascending(DynamicOperand)- Throws:
RepositoryException
-
testBindVariableValue
public void testBindVariableValue() throws RepositoryExceptionTest case forQueryObjectModelFactory.bindVariable(String)- Throws:
RepositoryException
-
testChildNode
public void testChildNode() throws RepositoryExceptionTest case forQueryObjectModelFactory.childNode(String, String)- Throws:
RepositoryException
-
testChildNodeWithSelector
public void testChildNodeWithSelector() throws RepositoryExceptionTest case forQueryObjectModelFactory.childNode(String, String)- Throws:
RepositoryException
-
testChildNodeJoinCondition
public void testChildNodeJoinCondition() throws RepositoryException- Throws:
RepositoryException
-
testColumn
public void testColumn() throws RepositoryExceptionTest case forQueryObjectModelFactory.column(String, String, String)- Throws:
RepositoryException
-
testColumnAllProperties
public void testColumnAllProperties() throws RepositoryExceptionTest case forQueryObjectModelFactory.column(String, String, String)- Throws:
RepositoryException
-
testColumnWithColumnName
public void testColumnWithColumnName() throws RepositoryExceptionTest case forQueryObjectModelFactory.column(String, String, String)- Throws:
RepositoryException
-
testColumnWithSelector
public void testColumnWithSelector() throws RepositoryExceptionTest case forQueryObjectModelFactory.column(String, String, String)- Throws:
RepositoryException
-
testComparison
public void testComparison() throws RepositoryException- Throws:
RepositoryException
-
testCreateQuery
public void testCreateQuery() throws RepositoryException- Throws:
RepositoryException
-
testCreateQueryWithConstraint
public void testCreateQueryWithConstraint() throws RepositoryException- Throws:
RepositoryException
-
testCreateQueryWithConstraintAndOrdering
public void testCreateQueryWithConstraintAndOrdering() throws RepositoryException- Throws:
RepositoryException
-
testCreateQueryWithConstraintOrderingAndColumn
public void testCreateQueryWithConstraintOrderingAndColumn() throws RepositoryException- Throws:
RepositoryException
-
testCreateQueryFromSource
public void testCreateQueryFromSource() throws RepositoryException- Throws:
RepositoryException
-
testCreateQueryFromSourceWithConstraint
public void testCreateQueryFromSourceWithConstraint() throws RepositoryException- Throws:
RepositoryException
-
testCreateQueryFromSourceWithConstraintAndOrdering
public void testCreateQueryFromSourceWithConstraintAndOrdering() throws RepositoryException- Throws:
RepositoryException
-
testCreateQueryFromSourceWithConstraintOrderingAndColumn
public void testCreateQueryFromSourceWithConstraintOrderingAndColumn() throws RepositoryException- Throws:
RepositoryException
-
testDescendantNode
public void testDescendantNode() throws RepositoryExceptionTest case forQueryObjectModelFactory.descendantNode(String, String)- Throws:
RepositoryException
-
testDescendantNodeWithSelector
public void testDescendantNodeWithSelector() throws RepositoryExceptionTest case forQueryObjectModelFactory.descendantNode(String, String)- Throws:
RepositoryException
-
testDescendantNodeJoinCondition
public void testDescendantNodeJoinCondition() throws RepositoryException- Throws:
RepositoryException
-
testOrderingDescending
public void testOrderingDescending() throws RepositoryExceptionTest case forQueryObjectModelFactory.descending(DynamicOperand)- Throws:
RepositoryException
-
testEquiJoinCondition
public void testEquiJoinCondition() throws RepositoryException- Throws:
RepositoryException
-
testFullTextSearch
public void testFullTextSearch() throws RepositoryException- Throws:
RepositoryException
-
testFullTextSearchAllProperties
public void testFullTextSearchAllProperties() throws RepositoryException- Throws:
RepositoryException
-
testFullTextSearchWithBindVariableValue
public void testFullTextSearchWithBindVariableValue() throws RepositoryException- Throws:
RepositoryException
-
testFullTextSearchScore
public void testFullTextSearchScore() throws RepositoryExceptionTest case forQueryObjectModelFactory.fullTextSearchScore(String)- Throws:
RepositoryException
-
testFullTextSearchScoreWithSelector
public void testFullTextSearchScoreWithSelector() throws RepositoryExceptionTest case forQueryObjectModelFactory.fullTextSearchScore(String)- Throws:
RepositoryException
-
testJoin
public void testJoin() throws RepositoryException- Throws:
RepositoryException
-
testLength
public void testLength() throws RepositoryExceptionTest case forQueryObjectModelFactory.length(PropertyValue)- Throws:
RepositoryException
-
testLiteral
public void testLiteral() throws RepositoryExceptionTest case forQueryObjectModelFactory.literal(Value)- Throws:
RepositoryException
-
testLowerCase
public void testLowerCase() throws RepositoryExceptionTest case forQueryObjectModelFactory.lowerCase(DynamicOperand)- Throws:
RepositoryException
-
testNodeLocalName
public void testNodeLocalName() throws RepositoryExceptionTest case forQueryObjectModelFactory.nodeLocalName(String)- Throws:
RepositoryException
-
testNodeLocalNameWithSelector
public void testNodeLocalNameWithSelector() throws RepositoryExceptionTest case forQueryObjectModelFactory.nodeLocalName(String)- Throws:
RepositoryException
-
testNodeName
public void testNodeName() throws RepositoryExceptionTest case forQueryObjectModelFactory.nodeName(String)- Throws:
RepositoryException
-
testNodeNameWithSelector
public void testNodeNameWithSelector() throws RepositoryExceptionTest case forQueryObjectModelFactory.nodeName(String)- Throws:
RepositoryException
-
testNot
public void testNot() throws RepositoryExceptionTest case forQueryObjectModelFactory.not(Constraint)- Throws:
RepositoryException
-
testOr
public void testOr() throws RepositoryExceptionTest case forQueryObjectModelFactory.or(Constraint, Constraint)- Throws:
RepositoryException
-
testPropertyExistence
public void testPropertyExistence() throws RepositoryException- Throws:
RepositoryException
-
testPropertyExistenceWithSelector
public void testPropertyExistenceWithSelector() throws RepositoryException- Throws:
RepositoryException
-
testPropertyValue
public void testPropertyValue() throws RepositoryExceptionTest case forQueryObjectModelFactory.propertyValue(String, String)- Throws:
RepositoryException
-
testPropertyValueWithSelector
public void testPropertyValueWithSelector() throws RepositoryExceptionTest case forQueryObjectModelFactory.propertyValue(String, String)- Throws:
RepositoryException
-
testSameNode
public void testSameNode() throws RepositoryExceptionTest case forQueryObjectModelFactory.sameNode(String, String)- Throws:
RepositoryException
-
testSameNodeWithSelector
public void testSameNodeWithSelector() throws RepositoryExceptionTest case forQueryObjectModelFactory.sameNode(String, String)- Throws:
RepositoryException
-
testSameNodeJoinCondition
public void testSameNodeJoinCondition() throws RepositoryException- Throws:
RepositoryException
-
testSameNodeJoinConditionWithPath
public void testSameNodeJoinConditionWithPath() throws RepositoryException- Throws:
RepositoryException
-
testSelector
public void testSelector() throws RepositoryExceptionTest case forQueryObjectModelFactory.selector(String, String)- Throws:
RepositoryException
-
testSelectorWithName
public void testSelectorWithName() throws RepositoryExceptionTest case forQueryObjectModelFactory.selector(String, String)- Throws:
RepositoryException
-
testUpperCase
public void testUpperCase() throws RepositoryExceptionTest case forQueryObjectModelFactory.upperCase(DynamicOperand)- Throws:
RepositoryException
-
-