org.jboss.cache.tests
Class ReadWriteLockTest
java.lang.Object
TestCase
org.jboss.cache.tests.ReadWriteLockTest
- public class ReadWriteLockTest
- extends TestCase
Tests the various ReadWriteLock implementations
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadWriteLockTest
public ReadWriteLockTest()
setUp
protected void setUp()
throws java.lang.Exception
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMoreWriteReleasesThanAcquisitions
public void testMoreWriteReleasesThanAcquisitions()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
testMoreReadReleasesThanAcquisitions
public void testMoreReadReleasesThanAcquisitions()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
testSimple
public void testSimple()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
testOneWriterMultipleReaders
public void testOneWriterMultipleReaders()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
suite
public static Test suite()
main
public static void main(java.lang.String[] args)