| Constructor and Description |
|---|
ConcurrentTestCase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
await() |
protected void |
await(long delay) |
protected void |
await(long delay,
int expectedResumes) |
protected void |
await(long delay,
TimeUnit timeUnit) |
protected void |
await(long delay,
TimeUnit timeUnit,
int expectedResumes) |
protected void |
resume() |
void |
rethrow(Throwable reason) |
void |
threadAssertEquals(Object expected,
Object actual) |
void |
threadAssertFalse(boolean b) |
void |
threadAssertNotNull(Object object) |
void |
threadAssertNull(Object x) |
void |
threadAssertTrue(boolean b) |
void |
threadFail() |
void |
threadFail(String reason) |
void |
threadFail(Throwable reason) |
public void threadAssertEquals(Object expected, Object actual)
Waiter.assertEquals(Object, Object)public void threadAssertFalse(boolean b)
Waiter.assertTrue(boolean)public void threadAssertNotNull(Object object)
Waiter.assertNotNull(Object)public void threadAssertNull(Object x)
Waiter.assertNull(Object)public void threadAssertTrue(boolean b)
Waiter.assertTrue(boolean)public void threadFail()
Waiter.fail()public void threadFail(String reason)
Waiter.fail(String)public void threadFail(Throwable reason)
Waiter.fail(Throwable)public void rethrow(Throwable reason)
Waiter.rethrow(Throwable)protected void await()
throws TimeoutException,
InterruptedException
TimeoutExceptionInterruptedExceptionWaiter.await()protected void await(long delay)
throws TimeoutException,
InterruptedException
TimeoutExceptionInterruptedExceptionWaiter.await(long)protected void await(long delay,
int expectedResumes)
throws TimeoutException,
InterruptedException
TimeoutExceptionInterruptedExceptionWaiter.await(long, int)protected void await(long delay,
TimeUnit timeUnit)
throws TimeoutException,
InterruptedException
TimeoutExceptionInterruptedExceptionWaiter.await(long, TimeUnit)protected void await(long delay,
TimeUnit timeUnit,
int expectedResumes)
throws TimeoutException,
InterruptedException
TimeoutExceptionInterruptedExceptionWaiter.await(long, TimeUnit, int)protected void resume()
Waiter.resume()Copyright © 2010–2019. All rights reserved.