org.apache.jackrabbit.test.api.query.qom
Class NodeLocalNameTest
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.NodeLocalNameTest
- All Implemented Interfaces:
- junit.framework.Test
public class NodeLocalNameTest
- extends AbstractQOMTest
NodeLocalNameTest
checks if conversion of literals is correctly
performed and operators work as specified.
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 |
Methods inherited from class org.apache.jackrabbit.test.api.query.AbstractQueryTest |
checkResult, checkResult, checkResult, createQuery, createQuery, createQuery, escapeIdentifierForSQL, evaluateResultOrder, execute, execute, executeSqlQuery, executeXPathQuery, isSupportedLanguage, 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 |
NodeLocalNameTest
public NodeLocalNameTest()
setUp
protected void setUp()
throws java.lang.Exception
- Description copied from class:
AbstractQueryTest
- Set-up the configuration values used for the test. Per default retrieves
a session, configures testRoot, and nodetype and checks if the query
language for the current language is available.
- Overrides:
setUp
in class AbstractQueryTest
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Overrides:
tearDown
in class AbstractQueryTest
- Throws:
java.lang.Exception
testStringLiteral
public void testStringLiteral()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testStringLiteralInvalidName
public void testStringLiteralInvalidName()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testBinaryLiteral
public void testBinaryLiteral()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testDateLiteral
public void testDateLiteral()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testDoubleLiteral
public void testDoubleLiteral()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testDecimalLiteral
public void testDecimalLiteral()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testLongLiteral
public void testLongLiteral()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testBooleanLiteral
public void testBooleanLiteral()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testNameLiteral
public void testNameLiteral()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testPathLiteral
public void testPathLiteral()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testReferenceLiteral
public void testReferenceLiteral()
throws javax.jcr.RepositoryException,
NotExecutableException
- Throws:
javax.jcr.RepositoryException
NotExecutableException
testWeakReferenceLiteral
public void testWeakReferenceLiteral()
throws javax.jcr.RepositoryException,
NotExecutableException
- Throws:
javax.jcr.RepositoryException
NotExecutableException
testURILiteral
public void testURILiteral()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testEqualTo
public void testEqualTo()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testGreaterThan
public void testGreaterThan()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testGreaterThanOrEqualTo
public void testGreaterThanOrEqualTo()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testLessThan
public void testLessThan()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testLessThanOrEqualTo
public void testLessThanOrEqualTo()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testLike
public void testLike()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testNotEqualTo
public void testNotEqualTo()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.