public class SessionScopedLockTest extends AbstractLockTest
SessionScopedLockTest
...childNode, lock, lockedNode, lockMgr
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 |
---|
SessionScopedLockTest() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isDeep() |
protected boolean |
isSessionScoped() |
void |
testGetLockToken()
Lock.getLockToken() must
always return null for session scoped locks. |
void |
testImplicitUnlock()
Test locks are released when session logs out
|
void |
testImplicitUnlock2()
Test locks are released when session logs out
|
assertLockable, getLockManager, getLockOwner, getTimeoutHint, setUp, tearDown, testGetLockOnChild, testGetLockOnNewChild, testGetSecondsRemaining, testGetSecondsRemainingAfterUnlock, testHoldsLockChild, testHoldsLockNewChild, testIsDeep, testIsLive, testIsLockedChild, testIsLockedNewChild, testIsLockOwningSession, testIsSessionScoped, testLockExpiration, testLockHoldingNode, testLockVisibility, testNodeHoldsLocked, testNodeIsLocked, testOwnerHint, testRefresh, testRefreshNotLive, testRemoveMixLockableFromLockedNode, testUnlock, testUnlockByOtherSession
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 boolean isSessionScoped()
isSessionScoped
in class AbstractLockTest
protected boolean isDeep()
isDeep
in class AbstractLockTest
public void testGetLockToken()
Lock.getLockToken()
must
always return null
for session scoped locks.public void testImplicitUnlock() throws RepositoryException, NotExecutableException
public void testImplicitUnlock2() throws RepositoryException, NotExecutableException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.