public class AggregatedTestResultEvent extends Object implements AggregatedResultEvent
Constructor and Description |
---|
AggregatedTestResultEvent(ForkedJvmInfo slave,
org.junit.runner.Description suiteDescription,
org.junit.runner.Description description) |
Modifier and Type | Method and Description |
---|---|
String |
getCauseForIgnored() |
org.junit.runner.Description |
getDescription() |
List<IEvent> |
getEventStream()
Raw
IEvent stream received during the duration of this test. |
long |
getExecutionTime()
Execution time in millis.
|
List<FailureMirror> |
getFailures() |
ForkedJvmInfo |
getSlave() |
long |
getStartTimestamp()
Execution start timestamp (on the slave).
|
TestStatus |
getStatus()
Exit status for this test.
|
org.junit.runner.Description |
getSuiteDescription() |
TestFinishedEvent |
getTestFinishedEvent()
This isn't a nice hack but it allows associating
TestFinishedEvent and
AggregatedTestResultEvent by identity. |
boolean |
isSuccessful() |
public AggregatedTestResultEvent(ForkedJvmInfo slave, org.junit.runner.Description suiteDescription, org.junit.runner.Description description)
public org.junit.runner.Description getDescription()
getDescription
in interface AggregatedResultEvent
public boolean isSuccessful()
isSuccessful
in interface AggregatedResultEvent
public org.junit.runner.Description getSuiteDescription()
public ForkedJvmInfo getSlave()
getSlave
in interface AggregatedResultEvent
public List<FailureMirror> getFailures()
getFailures
in interface AggregatedResultEvent
public long getExecutionTime()
getExecutionTime
in interface AggregatedResultEvent
public long getStartTimestamp()
getStartTimestamp
in interface AggregatedResultEvent
public List<IEvent> getEventStream()
IEvent
stream received during the duration of this test.getEventStream
in interface AggregatedResultEvent
public TestStatus getStatus()
public String getCauseForIgnored()
public TestFinishedEvent getTestFinishedEvent()
TestFinishedEvent
and
AggregatedTestResultEvent
by identity. =Copyright © 2011–2015 Carrot Search s.c.. All rights reserved.