public class AggregatingListener extends Object
JUnitCore
to higher-level events that
contain a full summary of a given test's execution. Simplifies reporting
logic.Constructor and Description |
---|
AggregatingListener(com.google.common.eventbus.EventBus target,
ForkedJvmInfo slave) |
Modifier and Type | Method and Description |
---|---|
void |
appendToEventStream(IEvent e) |
void |
receiveSuiteEnd(SuiteCompletedEvent e) |
void |
receiveSuiteFailure(SuiteFailureEvent e) |
void |
receiveSuiteStart(SuiteStartedEvent e) |
void |
receiveTestAssumptionIgnored(TestIgnoredAssumptionEvent e) |
void |
receiveTestEnd(TestFinishedEvent e) |
void |
receiveTestFailure(TestFailureEvent e) |
void |
receiveTestIgnored(TestIgnoredEvent e) |
void |
receiveTestStart(TestStartedEvent e) |
void |
slowHeartBeat(LowLevelHeartBeatEvent e)
Detect slow heartbeat (long time without any events) from the forked JVM.
|
public AggregatingListener(com.google.common.eventbus.EventBus target, ForkedJvmInfo slave)
target
- Which event bus to repost aggregated events to?public void appendToEventStream(IEvent e)
public void slowHeartBeat(LowLevelHeartBeatEvent e)
public void receiveSuiteStart(SuiteStartedEvent e)
public void receiveTestStart(TestStartedEvent e)
public void receiveTestIgnored(TestIgnoredEvent e)
public void receiveTestAssumptionIgnored(TestIgnoredAssumptionEvent e)
public void receiveTestFailure(TestFailureEvent e)
public void receiveTestEnd(TestFinishedEvent e)
public void receiveSuiteEnd(SuiteCompletedEvent e)
public void receiveSuiteFailure(SuiteFailureEvent e)
Copyright © 2011–2015 Carrot Search s.c.. All rights reserved.