net.grinder.synchronisation
Class TestClientBarrierGroups

java.lang.Object
  extended by net.grinder.synchronisation.TestClientBarrierGroups

public class TestClientBarrierGroups
extends Object

Unit tests for ClientBarrierGroups.

Version:
$Revision:$
Author:
Philip Aston

Constructor Summary
TestClientBarrierGroups()
           
 
Method Summary
 void addMoreWaitersThanBarriers()
           
 void setUp()
           
 void testBarrierGroup()
           
 void testBarrierGroupAddTooManyWaiters()
           
 void testBarrierGroupAddWaiter()
           
 void testCancelWaiter()
           
 void testCreateAndRetrieve()
           
 void testInvalidGroup()
           
 void testMessageHandler()
           
 void testRemoveBarriers()
           
 void testRemoveTooManyBarriers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestClientBarrierGroups

public TestClientBarrierGroups()
Method Detail

setUp

public void setUp()

testCreateAndRetrieve

public void testCreateAndRetrieve()
                           throws Exception
Throws:
Exception

testMessageHandler

public void testMessageHandler()
                        throws Exception
Throws:
Exception

testBarrierGroup

public void testBarrierGroup()

testBarrierGroupAddWaiter

public void testBarrierGroupAddWaiter()
                               throws Exception
Throws:
Exception

testBarrierGroupAddTooManyWaiters

public void testBarrierGroupAddTooManyWaiters()
                                       throws Exception
Throws:
Exception

testRemoveBarriers

public void testRemoveBarriers()
                        throws Exception
Throws:
Exception

testRemoveTooManyBarriers

public void testRemoveTooManyBarriers()
                               throws Exception
Throws:
Exception

testInvalidGroup

public void testInvalidGroup()
                      throws Exception
Throws:
Exception

addMoreWaitersThanBarriers

public void addMoreWaitersThanBarriers()
                                throws Exception
Throws:
Exception

testCancelWaiter

public void testCancelWaiter()
                      throws Exception
Throws:
Exception


Copyright © 2000-2013. All Rights Reserved.