org.jboss.test.cache.test.replicated
Class AsyncUnitTestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.test.cache.test.replicated.AsyncUnitTestCase

public class AsyncUnitTestCase
extends TestCase

Unit test for replicated async TreeCache. Use locking and multiple threads to test concurrent access to the tree.

See Also:
Serialized Form

Constructor Summary
AsyncUnitTestCase(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void setUp()
           
static Test suite()
           
 void tearDown()
           
 void testAsyncReplDelay()
           
 void testPutShouldNotReplicateToDifferentCluster()
           
 void testStateTransfer()
           
 void testSyncRepl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncUnitTestCase

public AsyncUnitTestCase(java.lang.String name)
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

public void tearDown()
              throws java.lang.Exception
Throws:
java.lang.Exception

testPutShouldNotReplicateToDifferentCluster

public void testPutShouldNotReplicateToDifferentCluster()

testStateTransfer

public void testStateTransfer()

testAsyncReplDelay

public void testAsyncReplDelay()

testSyncRepl

public void testSyncRepl()
                  throws java.lang.Exception
Throws:
java.lang.Exception

suite

public static Test suite()

main

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