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

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

public class AggregatedSuiteResultEvent
extends Object
implements AggregatedResultEvent


Constructor Summary
AggregatedSuiteResultEvent(SlaveInfo id, Description description, List<FailureMirror> suiteFailures, List<AggregatedTestResultEvent> tests, List<IEvent> eventStream, long startTimestamp, long executionTime)
           
 
Method Summary
 Description getDescription()
           
 int getErrorCount()
          The number of tests that have TestStatus.ERROR and include the suite-level errors.
 List<IEvent> getEventStream()
           
 long getExecutionTime()
          Execution time in milliseconds.
 int getFailureCount()
          The number of tests that have TestStatus.FAILURE and include assertion violations at suite level.
 List<FailureMirror> getFailures()
           
 int getIgnoredCount()
          Return the number of ignored or assumption-ignored tests.
 SlaveInfo getSlave()
           
 long getStartTimestamp()
          Execution start timestamp (on the slave).
 List<AggregatedTestResultEvent> getTests()
           
 boolean isSuccessful()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregatedSuiteResultEvent

public AggregatedSuiteResultEvent(SlaveInfo id,
                                  Description description,
                                  List<FailureMirror> suiteFailures,
                                  List<AggregatedTestResultEvent> tests,
                                  List<IEvent> eventStream,
                                  long startTimestamp,
                                  long executionTime)
Method Detail

getTests

public List<AggregatedTestResultEvent> getTests()

getFailures

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

isSuccessful

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

getEventStream

public List<IEvent> getEventStream()
Specified by:
getEventStream in interface AggregatedResultEvent

getSlave

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

getDescription

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

getExecutionTime

public long getExecutionTime()
Execution time in milliseconds.

Specified by:
getExecutionTime in interface AggregatedResultEvent

getStartTimestamp

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

Specified by:
getStartTimestamp in interface AggregatedResultEvent

getFailureCount

public int getFailureCount()
The number of tests that have TestStatus.FAILURE and include assertion violations at suite level.


getErrorCount

public int getErrorCount()
The number of tests that have TestStatus.ERROR and include the suite-level errors.


getIgnoredCount

public int getIgnoredCount()
Return the number of ignored or assumption-ignored tests.



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