|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.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
public class QueryObjectModelFactoryTest
QueryObjectModelFactoryTest
tests all methods on the
QueryObjectModelFactory
.
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, 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, 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, testPath, testRoot, testRootNode, workspaceName |
Fields inherited from class org.apache.jackrabbit.test.JUnitTest |
---|
log |
Constructor Summary | |
---|---|
QueryObjectModelFactoryTest()
|
Method Summary | |
---|---|
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) |
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, createQuery, createQuery, createQuery, escapeIdentifierForSQL, evaluateResultOrder, execute, execute, executeSqlQuery, executeXPathQuery, isSupportedLanguage, setUp, tearDown, toArray |
Methods inherited from class org.apache.jackrabbit.test.AbstractJCRTest |
---|
checkSupportedOption, cleanUp, cleanUpTestRoot, createRandomString, ensureCanSetProperty, ensureCanSetProperty, ensureCanSetProperty, ensureKnowsNodeType, ensureMixinType, ensureMultipleWorkspacesSupported, getHelper, getJcrValue, getLocalName, getNonExistingWorkspaceName, getProperty, getProperty, getSize, isSupported, needsMixin, run |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
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, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QueryObjectModelFactoryTest()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |