|
||||||||||
| 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.apache.commons.transaction.memory.MapWrapperTest
org.apache.commons.transaction.memory.PessimisticMapWrapperTest
public class PessimisticMapWrapperTest
Tests for map wrapper.
| Field Summary | |
|---|---|
protected static long |
TIMEOUT
|
| Fields inherited from class org.apache.commons.transaction.memory.MapWrapperTest |
|---|
BARRIER_TIMEOUT |
| Constructor Summary | |
|---|---|
PessimisticMapWrapperTest(java.lang.String testName)
|
|
| Method Summary | |
|---|---|
protected org.apache.commons.transaction.memory.TransactionalMapWrapper |
getNewWrapper(java.util.Map map)
|
static void |
main(java.lang.String[] args)
|
static junit.framework.Test |
suite()
|
void |
testBasic()
|
void |
testComplex()
|
void |
testConflict()
|
void |
testMulti()
|
void |
testSets()
|
void |
testTxControl()
|
| Methods inherited from class org.apache.commons.transaction.memory.MapWrapperTest |
|---|
checkCollection, report, testContainsKeyWithNullValue |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final long TIMEOUT
| Constructor Detail |
|---|
public PessimisticMapWrapperTest(java.lang.String testName)
| Method Detail |
|---|
public static junit.framework.Test suite()
public static void main(java.lang.String[] args)
protected org.apache.commons.transaction.memory.TransactionalMapWrapper getNewWrapper(java.util.Map map)
getNewWrapper in class MapWrapperTest
public void testBasic()
throws java.lang.Throwable
testBasic in class MapWrapperTestjava.lang.Throwable
public void testComplex()
throws java.lang.Throwable
testComplex in class MapWrapperTestjava.lang.Throwable
public void testSets()
throws java.lang.Throwable
testSets in class MapWrapperTestjava.lang.Throwable
public void testMulti()
throws java.lang.Throwable
testMulti in class MapWrapperTestjava.lang.Throwable
public void testConflict()
throws java.lang.Throwable
java.lang.Throwable
public void testTxControl()
throws java.lang.Throwable
testTxControl in class MapWrapperTestjava.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||