com.atlassian.beehive
Class AbstractClusterLockServiceTckTest
java.lang.Object
com.atlassian.beehive.AbstractClusterLockServiceTckTest
public abstract class AbstractClusterLockServiceTckTest
- extends Object
Generic tests that should be able to be run on any implementation of ClusterLockService as a Technology Compatibility Kit (TCK).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clusterLockService
protected final ClusterLockService clusterLockService
AbstractClusterLockServiceTckTest
public AbstractClusterLockServiceTckTest()
createClusterLockService
protected abstract ClusterLockService createClusterLockService()
test_runWithLock_differentLockNames
public void test_runWithLock_differentLockNames()
throws Exception
- Throws:
Exception
test_runWithLock_reentrancy
public void test_runWithLock_reentrancy()
throws Exception
- Throws:
Exception
test_runWithLock_sameLockNames
public void test_runWithLock_sameLockNames()
throws Exception
- Throws:
Exception
test_runWithLock_doInterrupt
public void test_runWithLock_doInterrupt()
throws Exception
- Throws:
Exception
test_runWithLockInterruptibly_doInterrupt
public void test_runWithLockInterruptibly_doInterrupt()
throws Exception
- Throws:
Exception
test_tryRunWithLock_no_acquire
public void test_tryRunWithLock_no_acquire()
throws Exception
- Throws:
Exception
test_tryRunWithLock_acquireLater
public void test_tryRunWithLock_acquireLater()
throws Exception
- Throws:
Exception
runTestThreads
protected void runTestThreads(AbstractClusterLockServiceTckTest.TestThread... threads)
throws InterruptedException
- Throws:
InterruptedException
Copyright © 2014 Atlassian. All Rights Reserved.