|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jboss.cache.tests.ReadWriteLockTest
Tests the various ReadWriteLock implementations
Constructor Summary | |
ReadWriteLockTest()
|
Method Summary | |
static void |
main(String[] args)
|
protected void |
setUp()
|
static junit.framework.Test |
suite()
|
protected void |
tearDown()
|
void |
testMoreReadReleasesThanAcquisitions()
|
void |
testMoreWriteReleasesThanAcquisitions()
|
void |
testOneWriterMultipleReaders()
|
void |
testSimple()
|
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
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, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ReadWriteLockTest()
Method Detail |
protected void setUp() throws Exception
Exception
protected void tearDown() throws Exception
Exception
public void testMoreWriteReleasesThanAcquisitions() throws InterruptedException
InterruptedException
public void testMoreReadReleasesThanAcquisitions() throws InterruptedException
InterruptedException
public void testSimple() throws InterruptedException
InterruptedException
public void testOneWriterMultipleReaders() throws InterruptedException
InterruptedException
public static junit.framework.Test suite()
public static void main(String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |