net.grinder.synchronisation
Class TestBarrierImplementation

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

public class TestBarrierImplementation
extends Object

Unit tests for BarrierImplementation.

Version:
$Revision:$
Author:
Philip Aston

Constructor Summary
TestBarrierImplementation()
           
 
Method Summary
 void setUp()
           
static void tearDownClass()
           
 void testAwaitHappyCase()
           
 void testAwaitInterrupted()
           
 void testAwaitTimeout()
           
 void testAwaitTimeout2()
           
 void testAwaitTimeoutInterrupted()
           
 void testCancelTimedWaiter()
           
 void testCancelVirginBarrier()
           
 void testCancelWaiterThenAwaken()
           
 void testConcurrentAwaitDisalllowedThenCancelWaiter()
           
 void testConstruction()
           
 void testGetGroupName()
           
 void testUseCancelledBarrier()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestBarrierImplementation

public TestBarrierImplementation()
Method Detail

setUp

public void setUp()

tearDownClass

public static void tearDownClass()

testConstruction

public void testConstruction()
                      throws Exception
Throws:
Exception

testGetGroupName

public void testGetGroupName()
                      throws Exception
Throws:
Exception

testAwaitTimeout

public void testAwaitTimeout()
                      throws Exception
Throws:
Exception

testAwaitTimeout2

public void testAwaitTimeout2()
                       throws Exception
Throws:
Exception

testAwaitInterrupted

public void testAwaitInterrupted()
                          throws Exception
Throws:
Exception

testAwaitTimeoutInterrupted

public void testAwaitTimeoutInterrupted()
                                 throws Exception
Throws:
Exception

testAwaitHappyCase

public void testAwaitHappyCase()
                        throws Exception
Throws:
Exception

testConcurrentAwaitDisalllowedThenCancelWaiter

public void testConcurrentAwaitDisalllowedThenCancelWaiter()
                                                    throws Exception
Throws:
Exception

testCancelVirginBarrier

public void testCancelVirginBarrier()
                             throws Exception
Throws:
Exception

testUseCancelledBarrier

public void testUseCancelledBarrier()
                             throws Exception
Throws:
Exception

testCancelWaiterThenAwaken

public void testCancelWaiterThenAwaken()
                                throws Exception
Throws:
Exception

testCancelTimedWaiter

public void testCancelTimedWaiter()
                           throws Exception
Throws:
Exception


Copyright © 2000-2013. All Rights Reserved.