com.carrotsearch.ant.tasks.junit4.events.aggregated
Class AggregatingListener
java.lang.Object
com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatingListener
public class AggregatingListener
- extends Object
Aggregates atomic events from JUnitCore to higher-level events that
contain a full summary of a given test's execution. Simplifies reporting
logic.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AggregatingListener
public AggregatingListener(EventBus target,
SlaveInfo slave)
- Parameters:
target - Which event bus to repost aggregated events to?
appendToEventStream
public void appendToEventStream(IEvent e)
slowHeartBeat
public void slowHeartBeat(LowLevelHeartBeatEvent e)
- Detect slow heartbeat (long time without any events) from the forked JVM.
receiveSuiteStart
public void receiveSuiteStart(SuiteStartedEvent e)
receiveTestStart
public void receiveTestStart(TestStartedEvent e)
receiveTestIgnored
public void receiveTestIgnored(TestIgnoredEvent e)
receiveTestAssumptionIgnored
public void receiveTestAssumptionIgnored(TestIgnoredAssumptionEvent e)
receiveTestFailure
public void receiveTestFailure(TestFailureEvent e)
receiveTestEnd
public void receiveTestEnd(TestFinishedEvent e)
receiveSuiteEnd
public void receiveSuiteEnd(SuiteCompletedEvent e)
receiveSuiteFailure
public void receiveSuiteFailure(SuiteFailureEvent e)
Copyright © 2011-2012 Carrot Search s.c.. All Rights Reserved.