public class AggregatedSuiteResultEvent extends Object implements AggregatedResultEvent
Constructor and Description |
---|
AggregatedSuiteResultEvent(ForkedJvmInfo id,
org.junit.runner.Description description,
List<FailureMirror> suiteFailures,
List<AggregatedTestResultEvent> tests,
List<IEvent> eventStream,
long startTimestamp,
long executionTime) |
Modifier and Type | Method and Description |
---|---|
org.junit.runner.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.
|
ForkedJvmInfo |
getSlave() |
long |
getStartTimestamp()
Execution start timestamp (on the slave).
|
List<AggregatedTestResultEvent> |
getTests() |
boolean |
isSuccessful() |
public AggregatedSuiteResultEvent(ForkedJvmInfo id, org.junit.runner.Description description, List<FailureMirror> suiteFailures, List<AggregatedTestResultEvent> tests, List<IEvent> eventStream, long startTimestamp, long executionTime)
public List<AggregatedTestResultEvent> getTests()
public List<FailureMirror> getFailures()
getFailures
in interface AggregatedResultEvent
public boolean isSuccessful()
isSuccessful
in interface AggregatedResultEvent
public List<IEvent> getEventStream()
getEventStream
in interface AggregatedResultEvent
public ForkedJvmInfo getSlave()
getSlave
in interface AggregatedResultEvent
public org.junit.runner.Description getDescription()
getDescription
in interface AggregatedResultEvent
public long getExecutionTime()
getExecutionTime
in interface AggregatedResultEvent
public long getStartTimestamp()
getStartTimestamp
in interface AggregatedResultEvent
public int getFailureCount()
TestStatus.FAILURE
and
include assertion violations at suite level.public int getErrorCount()
TestStatus.ERROR
and
include the suite-level errors.public int getIgnoredCount()
Copyright © 2011–2015 Carrot Search s.c.. All rights reserved.