public abstract class AbstractMergeTest extends AbstractJCRTest
AbstractMergeTest
is the abstract base class for all merge
related test classes.Modifier and Type | Field and Description |
---|---|
protected static String |
CHANGED_STRING
The modified string to check
|
protected String |
nonVersionableNodeType |
protected javax.jcr.Session |
superuserW2
The superuser session for the second workspace
|
protected javax.jcr.Node |
testRootNodeW2
The test root node in second workspace to test
|
protected String |
versionableNodeType |
protected javax.jcr.Workspace |
workspace
The default workspace
|
protected javax.jcr.Workspace |
workspaceW2
The second workspace
|
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, ntBase, ntFrozenNode, ntQuery, ntUnstructured, ntVersion, ntVersionHistory, ntVersionLabels, propertyName1, propertyName2, superuser, testNodeType, testNodeTypeNoChildren, testNodeTypeTestRoot, testPath, testRoot, testRootNode, vf, workspaceName
Constructor and Description |
---|
AbstractMergeTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp()
Initialising used variables coming from the properties file.
Setup some nodes on the 2 workspaces. |
protected void |
tearDown()
Tidy the testRootNodes of both workspaces, then logout sessions
|
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 String versionableNodeType
protected String nonVersionableNodeType
protected javax.jcr.Session superuserW2
protected javax.jcr.Workspace workspace
protected javax.jcr.Workspace workspaceW2
protected javax.jcr.Node testRootNodeW2
protected static final String CHANGED_STRING
protected void setUp() throws Exception
setUp
in class AbstractJCRTest
Exception
protected void tearDown() throws Exception
tearDown
in class AbstractJCRTest
Exception
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.