public class DestinationAwaitClassTestRule extends ClassTestRule<Set<CountDownLatch>>
Modifier and Type | Field and Description |
---|---|
static DestinationAwaitClassTestRule |
INSTANCE |
Constructor and Description |
---|
DestinationAwaitClassTestRule(String... destinationNames) |
Modifier and Type | Method and Description |
---|---|
void |
afterClass(org.junit.runner.Description description,
Set<CountDownLatch> endCountDownLatches) |
Set<CountDownLatch> |
beforeClass(org.junit.runner.Description description) |
afterMethod, beforeMethod, createMethodStatement
apply, createClassStatement
public static final DestinationAwaitClassTestRule INSTANCE
public DestinationAwaitClassTestRule(String... destinationNames)
public void afterClass(org.junit.runner.Description description, Set<CountDownLatch> endCountDownLatches) throws Throwable
afterClass
in class AbstractTestRule<Set<CountDownLatch>,Void>
Throwable
public Set<CountDownLatch> beforeClass(org.junit.runner.Description description) throws InterruptedException
beforeClass
in class AbstractTestRule<Set<CountDownLatch>,Void>
InterruptedException