Method |
Description |
|
testAcquireTimesOut ( ) |
Tests failing to acquire the lock due to a timeout. |
|
testExecuteBarelySucceeds ( ) |
Tests executing code which barely doesn't hit the timeout. |
|
testExecuteTimeoutLeavesOneSecondForKeyToExpire ( ) |
Tests executing exactly unitl the timeout will leave the key one more second. |
|
testExecuteTooLong ( ) |
Tests executing code which exceeds the timeout fails. |
|
testFailAcquireLock ( ) |
Tests failing to acquire the lock. |
|
testFailReleasingLock ( ) |
Tests failing to release a lock. |
|