public class NodeNameTest extends AbstractQOMTest
NodeNameTest checks if conversion of literals is correctly
performed and operators work as specified.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 |
|---|
NodeNameTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp()
Set-up the configuration values used for the test.
|
protected void |
tearDown() |
void |
testBinaryLiteral() |
void |
testBooleanLiteral() |
void |
testDateLiteral() |
void |
testDecimalLiteral() |
void |
testDoubleLiteral() |
void |
testEqualTo() |
void |
testLongLiteral() |
void |
testNameLiteral() |
void |
testNotEqualTo() |
void |
testPathLiteral() |
void |
testReferenceLiteral() |
void |
testStringLiteral() |
void |
testStringLiteralInvalidName() |
void |
testURILiteral()
If the URI consists of a single path segment without a colon (for
example, simply bar) it is converted to a NAME by percent-unescaping
followed by UTF-8-decoding of the byte sequence.
|
void |
testWeakReferenceLiteral() |
bindVariableValue, checkQOM, checkQOM, checkResult, checkResultOrder, checkResultOrder, forQOMandSQL2, getPathcheckResult, checkResult, checkResult, checkResult, createQuery, createQuery, createQuery, escapeIdentifierForSQL, evaluateResultOrder, execute, execute, executeSqlQuery, executeSqlQuery, executeXPathQuery, isSupportedLanguage, 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, toStringprotected void setUp()
throws Exception
AbstractQueryTestsetUp in class AbstractQueryTestExceptionprotected void tearDown()
throws Exception
tearDown in class AbstractQueryTestExceptionpublic void testStringLiteral()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testStringLiteralInvalidName()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testBinaryLiteral()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testDateLiteral()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testDoubleLiteral()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testDecimalLiteral()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testLongLiteral()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testBooleanLiteral()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testNameLiteral()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testPathLiteral()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testReferenceLiteral()
throws javax.jcr.RepositoryException,
NotExecutableException
javax.jcr.RepositoryExceptionNotExecutableExceptionpublic void testWeakReferenceLiteral()
throws javax.jcr.RepositoryException,
NotExecutableException
javax.jcr.RepositoryExceptionNotExecutableExceptionpublic void testURILiteral()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testEqualTo()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testNotEqualTo()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.