Java Reference
In-Depth Information
Listing 12.6. Producer and Consumer Classes Used in PutTakeTest .
In tests that run until they complete a fixed number of operations, it is possible that the test
case will never finish if the code being tested encounters an exception due to a bug. The most
common way to handle this is to have the test framework abort tests that do not terminate
Search WWH ::




Custom Search