public abstract class AbstractOnParentVersionTest extends AbstractVersionTest
AbstractOnParentVersionTest
: the abstract base class for
all tests related to OnParentVersion issues.Modifier and Type | Field and Description |
---|---|
protected String |
childNodeTypeName |
protected String |
initialPropValue |
protected String |
newPropValue |
protected int |
OPVAction |
protected Property |
p |
nonVersionableNode, nonVersionableNodeType, propertyValue, versionableNode, versionableNodeType
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 |
---|
AbstractOnParentVersionTest() |
Modifier and Type | Method and Description |
---|---|
protected Node |
addChildNode(int requiredOpvBehaviour)
Add a child node to the versionable node created in the setup with the
name and nodetype name defined in the corresponding configuration.
|
protected void |
setUp() |
protected void |
tearDown() |
createVersionableNode, getNumberOfVersions
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 int OPVAction
protected Property p
protected String initialPropValue
protected String newPropValue
protected String childNodeTypeName
protected void setUp() throws Exception
setUp
in class AbstractVersionTest
Exception
protected void tearDown() throws Exception
tearDown
in class AbstractVersionTest
Exception
protected Node addChildNode(int requiredOpvBehaviour) throws RepositoryException
NOTE: the child node is removed together with the versionable node after each test.
requiredOpvBehaviour
- RepositoryException
Copyright © 2004–2023 The Apache Software Foundation. All rights reserved.