public class NodeNameTest extends AbstractQOMTest
NodeNameTest
checks if conversion of literals is correctly
performed and operators work as specified.AbstractQOMTest.Callable
jcrContains, jcrDeref, jcrPath, jcrRoot, jcrScore, qf, qm, qsSQL, qsXPATH, vf, xpathRoot
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 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, getPath
checkResult, checkResult, checkResult, checkResult, createQuery, createQuery, createQuery, escapeIdentifierForSQL, evaluateResultOrder, execute, execute, executeSqlQuery, executeSqlQuery, executeXPathQuery, isSupportedLanguage, toArray
checkSupportedOption, cleanUp, cleanUpTestRoot, createRandomString, ensureCanSetProperty, ensureCanSetProperty, ensureCanSetProperty, ensureKnowsNodeType, ensureLockingSupported, ensureMixinType, ensureMultipleWorkspacesSupported, getHelper, getJcrValue, getLocalName, getNonExistingWorkspaceName, getPrefix, getProperty, getProperty, getQualifiedName, getSize, isSupported, needsMixin, run
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
protected void setUp() throws Exception
AbstractQueryTest
setUp
in class AbstractQueryTest
Exception
protected void tearDown() throws Exception
tearDown
in class AbstractQueryTest
Exception
public void testStringLiteral() throws RepositoryException
RepositoryException
public void testStringLiteralInvalidName() throws RepositoryException
RepositoryException
public void testBinaryLiteral() throws RepositoryException
RepositoryException
public void testDateLiteral() throws RepositoryException
RepositoryException
public void testDoubleLiteral() throws RepositoryException
RepositoryException
public void testDecimalLiteral() throws RepositoryException
RepositoryException
public void testLongLiteral() throws RepositoryException
RepositoryException
public void testBooleanLiteral() throws RepositoryException
RepositoryException
public void testNameLiteral() throws RepositoryException
RepositoryException
public void testPathLiteral() throws RepositoryException
RepositoryException
public void testReferenceLiteral() throws RepositoryException, NotExecutableException
public void testWeakReferenceLiteral() throws RepositoryException, NotExecutableException
public void testURILiteral() throws RepositoryException
RepositoryException
public void testEqualTo() throws RepositoryException
RepositoryException
public void testNotEqualTo() throws RepositoryException
RepositoryException
Copyright © 2004–2023 The Apache Software Foundation. All rights reserved.