public void doJoinExpectError(long millis, Class<? extends Throwable> expected) throws InterruptedException { super.join(millis); if (t == null) throw new AssertionFailedError("No error from thread " + this); AbstractTestCase.checkThrowable(expected, t); } }
public void doJoinExpectError(Class<? extends Throwable> expected) throws InterruptedException { super.join(); if (t == null) throw new AssertionFailedError("No error from thread " + this); AbstractTestCase.checkThrowable(expected, t); }
public void doJoinExpectError(Class<? extends Throwable> expected) throws InterruptedException { super.join(); if (t == null) throw new AssertionFailedError("No error from thread " + this); AbstractTestCase.checkThrowable(expected, t); }
public void doJoinExpectError(long millis, Class<? extends Throwable> expected) throws InterruptedException { super.join(millis); if (t == null) throw new AssertionFailedError("No error from thread " + this); AbstractTestCase.checkThrowable(expected, t); } }