Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.ghettojedi.opp.aspect.concurrent
Class TransactionalMapTest  view TransactionalMapTest download TransactionalMapTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.ghettojedi.opp.aspect.concurrent.TransactionalMapTest
All Implemented Interfaces:
junit.framework.Test

public class TransactionalMapTest
extends junit.framework.TestCase


Field Summary
private  java.util.Map realMap
           
private  TransactionalMap transactionalMap
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TransactionalMapTest()
           
 
Method Summary
private  TransactionalMap copy()
           
private  java.util.Map createOtherMap()
           
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
 void testEntrySetEquals()
           
 void testPutAll()
           
 void testRealMapNotAffected()
           
 void testRemovingWhileIteratingOverKeys()
           
 void testSerialization()
           
 void testSizeIsUpdatedCorrectly()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

realMap

private java.util.Map realMap

transactionalMap

private TransactionalMap transactionalMap
Constructor Detail

TransactionalMapTest

public TransactionalMapTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


testRealMapNotAffected

public void testRealMapNotAffected()

testSizeIsUpdatedCorrectly

public void testSizeIsUpdatedCorrectly()

testPutAll

public void testPutAll()

testEntrySetEquals

public void testEntrySetEquals()

testSerialization

public void testSerialization()
                       throws java.lang.Exception

testRemovingWhileIteratingOverKeys

public void testRemovingWhileIteratingOverKeys()
                                        throws java.lang.Exception

copy

private TransactionalMap copy()
                       throws java.io.IOException,
                              java.lang.ClassNotFoundException

createOtherMap

private java.util.Map createOtherMap()