com.carrotsearch.ant.tasks.junit4.events.aggregated
Class AggregatedTestResultEvent

java.lang.Object
  extended by com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
All Implemented Interfaces:
AggregatedResultEvent

public class AggregatedTestResultEvent
extends Object
implements AggregatedResultEvent

A single test's execution information.


Constructor Summary
AggregatedTestResultEvent(SlaveInfo slave, Description suiteDescription, Description description)
           
 
Method Summary
 String getCauseForIgnored()
           
 Description getDescription()
           
 List<IEvent> getEventStream()
          Raw IEvent stream received during the duration of this test.
 int getExecutionTime()
          Execution time in millis.
 List<FailureMirror> getFailures()
           
 SlaveInfo getSlave()
           
 long getStartTimestamp()
          Execution start timestamp (on the slave).
 TestStatus getStatus()
          Exit status for this test.
 Description getSuiteDescription()
           
 boolean isSuccessful()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregatedTestResultEvent

public AggregatedTestResultEvent(SlaveInfo slave,
                                 Description suiteDescription,
                                 Description description)
Method Detail

getDescription

public Description getDescription()
Specified by:
getDescription in interface AggregatedResultEvent

isSuccessful

public boolean isSuccessful()
Specified by:
isSuccessful in interface AggregatedResultEvent

getSuiteDescription

public Description getSuiteDescription()

getSlave

public SlaveInfo getSlave()
Specified by:
getSlave in interface AggregatedResultEvent

getFailures

public List<FailureMirror> getFailures()
Specified by:
getFailures in interface AggregatedResultEvent

getExecutionTime

public int getExecutionTime()
Execution time in millis.


getStartTimestamp

public long getStartTimestamp()
Execution start timestamp (on the slave).


getEventStream

public List<IEvent> getEventStream()
Raw IEvent stream received during the duration of this test.

Specified by:
getEventStream in interface AggregatedResultEvent

getStatus

public TestStatus getStatus()
Exit status for this test.


getCauseForIgnored

public String getCauseForIgnored()


Copyright © 2011-2012 Carrot Search s.c.. All Rights Reserved.