Chapter 12 Testing Concurrent Programs
<Back
12.1 Bounded buffer using Semaphore
12.2 Basic unit tests for BoundedBuffer
12.3 Testing blocking and responsiveness to interruption
12.4 Medium-quality random number generator suitable for testing
12.5 Producer-consumer test program for BoundedBuffer
12.6 Producer and consumer classes used in PutTakeTest
12.7 Testing for resource leaks
12.8 Thread factory for testing ThreadPoolExecutor
12.9 Test method to verify thread pool expansion
12.10 Using Thread.yield to generate more interleaving
12.11 Barrier-based timer
12.12 Testing with a barrier-based timer
12.13 Driver program for TimedPutTakeTest