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

/libcore/jsr166-tests/src/test/java/jsr166/
H A DCyclicBarrierTest.java132 Thread t1 = new ThreadShouldThrow(InterruptedException.class) {
137 Thread t2 = new ThreadShouldThrow(BrokenBarrierException.class) {
158 Thread t1 = new ThreadShouldThrow(InterruptedException.class) {
163 Thread t2 = new ThreadShouldThrow(BrokenBarrierException.class) {
258 Thread t1 = new ThreadShouldThrow(BrokenBarrierException.class) {
263 Thread t2 = new ThreadShouldThrow(BrokenBarrierException.class) {
368 Thread t1 = new ThreadShouldThrow(InterruptedException.class) {
374 Thread t2 = new ThreadShouldThrow(BrokenBarrierException.class) {
440 Thread t1 = new ThreadShouldThrow(BrokenBarrierException.class) {
446 Thread t2 = new ThreadShouldThrow(BrokenBarrierExceptio
[all...]
H A DFutureTaskTest.java648 Thread t1 = new ThreadShouldThrow(CancellationException.class) {
653 Thread t2 = new ThreadShouldThrow(CancellationException.class) {
H A DJSR166TestCase.java761 public abstract class ThreadShouldThrow extends Thread { class in class:JSR166TestCase
766 <T extends Throwable> ThreadShouldThrow(Class<T> exceptionClass) { method in class:JSR166TestCase.ThreadShouldThrow

Completed in 47 milliseconds