public class NameTest extends AbstractJCRTest
NameTest
...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, vf, workspaceName
Constructor and Description |
---|
NameTest() |
Modifier and Type | Method and Description |
---|---|
void |
testExpandedNameItem()
Test if the name of property created with an expanded name is properly
return as standard JCR name.
|
void |
testExpandedNameNodeUnmappedNamespace()
Test whether a node can be created with an expanded name (using a previously unused namespace name).
|
void |
testExpandedNameValue()
Expanded names must always be resolved.
|
void |
testExpandedNameValueProperty()
Expanded names must always be resolved.
|
void |
testExpandedNodeTypeName()
Test if creating a node with an expanded node type name returns the proper
standard JCR node type name, and that it works for
Node.setPrimaryType(String) . |
void |
testReallyNotAndExpandedName()
Test whether a node can be created with something looking like an expanded name which is not
|
checkSupportedOption, cleanUp, cleanUpTestRoot, createRandomString, ensureCanSetProperty, ensureCanSetProperty, ensureCanSetProperty, ensureKnowsNodeType, ensureLockingSupported, ensureMixinType, ensureMultipleWorkspacesSupported, getHelper, getJcrValue, getLocalName, getNonExistingWorkspaceName, getPrefix, getProperty, getProperty, getQualifiedName, getSize, isSupported, needsMixin, run, setUp, tearDown
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
public void testExpandedNameValue() throws RepositoryException
RepositoryException
public void testExpandedNameValueProperty() throws RepositoryException
RepositoryException
public void testExpandedNameItem() throws RepositoryException
RepositoryException
public void testExpandedNameNodeUnmappedNamespace() throws RepositoryException
RepositoryException
public void testReallyNotAndExpandedName() throws RepositoryException
RepositoryException
public void testExpandedNodeTypeName() throws RepositoryException
Node.setPrimaryType(String)
.RepositoryException
Copyright © 2004–2023 The Apache Software Foundation. All rights reserved.