LockTest LockTest(
$methodName
)
|
|
Parameters:
void testAcquireReadLockParents(
)
|
|
void testAcquireReadLockParentsOnRoot(
)
|
|
void testManyReadLocks(
)
|
|
void testManyWriteLocks(
)
|
|
void testReadReadAgainThenWrite(
)
|
|
void testReadThenWrite(
)
|
|
void testReadThenWritePartial(
)
|
|
void testReleaseLocksNotBeforeCommit(
)
|
|
Verify that locks are not being released before commit on transactional databases.
http://sourceforge.net/tracker/index.php?func=detail&aid=1345508&group_id=7130&atid=107130
void testRelockWriteMore(
)
|
|
void testRelockWritePartial(
)
|
|
void testWriteThenRead(
)
|
|
void testWriteThenReadPartial(
)
|
|
void _testAcquireReadLockParents(
$lockSystem
)
|
|
Parameters:
void _testAcquireReadLockParentsOnRoot(
$lockSystem
)
|
|
Parameters:
void _testManyReadLocks(
$lockSystem
)
|
|
Parameters:
void _testManyWriteLocks(
$lockSystem
)
|
|
Parameters:
void _testOneReadLock(
$lockSystem
)
|
|
Parameters:
void _testOneWriteLock(
$lockSystem
)
|
|
Parameters:
void _testReadLockToWriteLock(
$lockSystem
)
|
|
Test acquiring a write lock on an entity that has already been read locked. We don't
currently require this ability, but it could be useful if adding or deleting an item from an album triggered an update to that album. Uncomment this test if this type of locking is ever used. (Note that Windows has problems doing this with flock based locks, so we may avoid any functionality that needs this.)
Parameters:
void _testReadReadAgainThenWrite(
$lockSystem
)
|
|
Parameters:
void _testReleaseEmpty(
$lockSystem
)
|
|
Parameters:
void _testReleaseNull(
$lockSystem
)
|
|
Parameters:
void _tryAllLockSystems(
$testFunction
)
|
|
Parameters: