Searched refs:ThreadShouldThrow (Results 1 – 3 of 3) sorted by relevance
121 Thread t1 = new ThreadShouldThrow(InterruptedException.class) { in testAwait1_Interrupted_BrokenBarrier()126 Thread t2 = new ThreadShouldThrow(BrokenBarrierException.class) { in testAwait1_Interrupted_BrokenBarrier()147 Thread t1 = new ThreadShouldThrow(InterruptedException.class) { in testAwait2_Interrupted_BrokenBarrier()152 Thread t2 = new ThreadShouldThrow(BrokenBarrierException.class) { in testAwait2_Interrupted_BrokenBarrier()247 Thread t1 = new ThreadShouldThrow(BrokenBarrierException.class) { in testReset_BrokenBarrier()252 Thread t2 = new ThreadShouldThrow(BrokenBarrierException.class) { in testReset_BrokenBarrier()357 Thread t1 = new ThreadShouldThrow(InterruptedException.class) { in testResetAfterInterrupt()363 Thread t2 = new ThreadShouldThrow(BrokenBarrierException.class) { in testResetAfterInterrupt()429 Thread t1 = new ThreadShouldThrow(BrokenBarrierException.class) { in testResetAfterCommandException()435 Thread t2 = new ThreadShouldThrow(BrokenBarrierException.class) { in testResetAfterCommandException()
703 public abstract class ThreadShouldThrow extends Thread { class in JSR166TestCase708 <T extends Throwable> ThreadShouldThrow(Class<T> exceptionClass) { in ThreadShouldThrow() method in JSR166TestCase.ThreadShouldThrow
630 Thread t1 = new ThreadShouldThrow(CancellationException.class) { in testTimedGet_Cancellation()635 Thread t2 = new ThreadShouldThrow(CancellationException.class) { in testTimedGet_Cancellation()