Home
last modified time | relevance | path

Searched refs:ThreadShouldThrow (Results 1 – 3 of 3) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DCyclicBarrierTest.java121 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()
DJSR166TestCase.java703 public abstract class ThreadShouldThrow extends Thread { class in JSR166TestCase
708 <T extends Throwable> ThreadShouldThrow(Class<T> exceptionClass) { in ThreadShouldThrow() method in JSR166TestCase.ThreadShouldThrow
DFutureTaskTest.java630 Thread t1 = new ThreadShouldThrow(CancellationException.class) { in testTimedGet_Cancellation()
635 Thread t2 = new ThreadShouldThrow(CancellationException.class) { in testTimedGet_Cancellation()