org.apache.commons.transaction.memory
Class PessimisticMapWrapperTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.transaction.memory.MapWrapperTest
              extended by org.apache.commons.transaction.memory.PessimisticMapWrapperTest
All Implemented Interfaces:
junit.framework.Test

public class PessimisticMapWrapperTest
extends MapWrapperTest

Tests for map wrapper.

Version:
$Id: PessimisticMapWrapperTest.java 493628 2007-01-07 01:42:48Z joerg $

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

TIMEOUT

protected static final long TIMEOUT
See Also:
Constant Field Values
Constructor Detail

PessimisticMapWrapperTest

public PessimisticMapWrapperTest(java.lang.String testName)
Method Detail

suite

public static junit.framework.Test suite()

main

public static void main(java.lang.String[] args)

getNewWrapper

protected org.apache.commons.transaction.memory.TransactionalMapWrapper getNewWrapper(java.util.Map map)
Overrides:
getNewWrapper in class MapWrapperTest

testBasic

public void testBasic()
               throws java.lang.Throwable
Overrides:
testBasic in class MapWrapperTest
Throws:
java.lang.Throwable

testComplex

public void testComplex()
                 throws java.lang.Throwable
Overrides:
testComplex in class MapWrapperTest
Throws:
java.lang.Throwable

testSets

public void testSets()
              throws java.lang.Throwable
Overrides:
testSets in class MapWrapperTest
Throws:
java.lang.Throwable

testMulti

public void testMulti()
               throws java.lang.Throwable
Overrides:
testMulti in class MapWrapperTest
Throws:
java.lang.Throwable

testConflict

public void testConflict()
                  throws java.lang.Throwable
Throws:
java.lang.Throwable

testTxControl

public void testTxControl()
                   throws java.lang.Throwable
Overrides:
testTxControl in class MapWrapperTest
Throws:
java.lang.Throwable


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.