public class PredefinedNodeTypeTest extends AbstractJCRTest
PredefinedNodeTypeTest tests if the predefined node types are
implemented correctly.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 |
|---|
PredefinedNodeTypeTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp()
Sets up the fixture for this test.
|
protected void |
tearDown()
Releases the session aquired in
setUp(). |
void |
testActivity()
Test for the predefined nt:activity node type.
|
void |
testBase()
Test for the predefined nt:base node type.
|
void |
testChildNodeDef()
Test for the predefined nt:childNodeDef node type.
|
void |
testConfiguration()
Test for the predefined nt:configuration node type.
|
void |
testFile()
Test for the predefined nt:file node type.
|
void |
testFolder()
Test for the predefined nt:folder node type.
|
void |
testFrozenNode()
Test for the predefined nt:frozenNode node type.
|
void |
testHierarchyNode()
Test for the predefined nt:hierarchyNode node type.
|
void |
testIfPrimaryNodeTypesAreSubtypesOfNTBase()
Tests if all primary node types are subtypes of node type
nt:base |
void |
testLifecycle()
Test for the predefined mix:lifecycle node type.
|
void |
testLinkedFile()
Test for the predefined nt:linkedFile node type.
|
void |
testLockable()
Test for the predefined mix:lockable node type.
|
void |
testMixCreated()
Test for the predefined mix:created node type.
|
void |
testMixETag()
Test for the predefined mix:etag node type.
|
void |
testMixLanguage()
Test for the predefined mix:language node type.
|
void |
testMixLastModified()
Test for the predefined mix:lastModified node type.
|
void |
testMixMimeType()
Test for the predefined mix:language node type.
|
void |
testMixTitle()
Test for the predefined mix:title node type.
|
void |
testNodeType()
Test for the predefined nt:nodeType node type.
|
void |
testNtAddress()
Test for the predefined nt:address node type.
|
void |
testPropertyDef()
Test for the predefined nt:propertyDef node type.
|
void |
testQuery()
Test for the predefined nt:query node type.
|
void |
testReferenceable()
Test for the predefined mix:referenceable node type.
|
void |
testResource()
Test for the predefined nt:resource node type.
|
void |
testShareable()
Test for the predefined mix:referenceable node type.
|
void |
testSimpleVersionable()
Test for the predefined mix:simpleVersionable node type.
|
void |
testUnstructured()
Test for the predefined nt:unstructured node type.
|
void |
testVersion()
Test for the predefined nt:version node type.
|
void |
testVersionable()
Test for the predefined mix:versionable node type.
|
void |
testVersionedChild()
Test for the predefined nt:versionedChild node type.
|
void |
testVersionHistory()
Test for the predefined nt:versionHistory node type.
|
void |
testVersionLabels()
Test for the predefined nt:versionLabels node type.
|
checkSupportedOption, 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
setUp in class AbstractJCRTestExceptionprotected void tearDown()
throws Exception
setUp().tearDown in class AbstractJCRTestExceptionpublic void testIfPrimaryNodeTypesAreSubtypesOfNTBase()
throws RepositoryException
nt:baseRepositoryExceptionpublic void testLifecycle()
throws NotExecutableException
NotExecutableExceptionpublic void testLockable()
throws NotExecutableException
NotExecutableExceptionpublic void testReferenceable()
throws NotExecutableException
NotExecutableExceptionpublic void testShareable()
throws NotExecutableException
NotExecutableExceptionpublic void testVersionable()
throws NotExecutableException
NotExecutableExceptionpublic void testSimpleVersionable()
throws NotExecutableException
NotExecutableExceptionpublic void testMixCreated()
throws NotExecutableException
NotExecutableExceptionpublic void testMixLastModified()
throws NotExecutableException
NotExecutableExceptionpublic void testMixETag()
throws NotExecutableException
NotExecutableExceptionpublic void testMixTitle()
throws NotExecutableException
NotExecutableExceptionpublic void testMixLanguage()
throws NotExecutableException
NotExecutableExceptionpublic void testMixMimeType()
throws NotExecutableException
NotExecutableExceptionpublic void testNtAddress()
throws NotExecutableException
NotExecutableExceptionpublic void testBase()
throws NotExecutableException
NotExecutableExceptionpublic void testUnstructured()
throws NotExecutableException
NotExecutableExceptionpublic void testHierarchyNode()
throws NotExecutableException
NotExecutableExceptionpublic void testFile()
throws NotExecutableException
NotExecutableExceptionpublic void testLinkedFile()
throws NotExecutableException
NotExecutableExceptionpublic void testFolder()
throws NotExecutableException
NotExecutableExceptionpublic void testNodeType()
throws NotExecutableException
NotExecutableExceptionpublic void testPropertyDef()
throws NotExecutableException
NotExecutableExceptionpublic void testChildNodeDef()
throws NotExecutableException
NotExecutableExceptionpublic void testVersionHistory()
throws NotExecutableException
NotExecutableExceptionpublic void testVersionLabels()
throws NotExecutableException
NotExecutableExceptionpublic void testVersion()
throws NotExecutableException
NotExecutableExceptionpublic void testActivity()
throws NotExecutableException
NotExecutableExceptionpublic void testConfiguration()
throws NotExecutableException
NotExecutableExceptionpublic void testFrozenNode()
throws NotExecutableException
NotExecutableExceptionpublic void testVersionedChild()
throws NotExecutableException
NotExecutableExceptionpublic void testQuery()
throws NotExecutableException
NotExecutableExceptionpublic void testResource()
throws NotExecutableException
NotExecutableExceptionCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.