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, ntActivity, 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 RepositoryException
RepositoryExceptionpublic void testStringLiteralInvalidName()
throws RepositoryException
RepositoryExceptionpublic void testBinaryLiteral()
throws RepositoryException
RepositoryExceptionpublic void testDateLiteral()
throws RepositoryException
RepositoryExceptionpublic void testDoubleLiteral()
throws RepositoryException
RepositoryExceptionpublic void testDecimalLiteral()
throws RepositoryException
RepositoryExceptionpublic void testLongLiteral()
throws RepositoryException
RepositoryExceptionpublic void testBooleanLiteral()
throws RepositoryException
RepositoryExceptionpublic void testNameLiteral()
throws RepositoryException
RepositoryExceptionpublic void testPathLiteral()
throws RepositoryException
RepositoryExceptionpublic void testReferenceLiteral()
throws RepositoryException,
NotExecutableException
public void testWeakReferenceLiteral()
throws RepositoryException,
NotExecutableException
public void testURILiteral()
throws RepositoryException
RepositoryExceptionpublic void testEqualTo()
throws RepositoryException
RepositoryExceptionpublic void testNotEqualTo()
throws RepositoryException
RepositoryExceptionCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.