public interface Event
| Modifier and Type | Method | Description |
|---|---|---|
long |
duration() |
An amount of time, in milliseconds, that was required to complete the action reported by this event, or -1, if no duration was available.
|
Fingerprint |
fingerprint() |
The fingerprint of the test class whose fully qualifed name is returned by the
fullyQualifiedName
method on this Event. |
java.lang.String |
fullyQualifiedName() |
The fully qualified name of a class that can rerun the suite or test
about which an event was fired.
|
Selector |
selector() |
Additional information identifying the suite or test about which an event was fired.
|
Status |
status() |
Indicates whether the event represents a test success, failure, error, skipped, ignored, canceled, pending.
|
OptionalThrowable |
throwable() |
An
OptionalThrowable associated with this Event. |
java.lang.String fullyQualifiedName()
Fingerprint fingerprint()
fullyQualifiedName
method on this Event. If the isModule method of the fingerprint indicates that the
fullyQualifiedName refers to a module (singleton object), the
fullyQualifiedName string does not include the trailing dollar sign.Selector selector()
Status status()
OptionalThrowable throwable()
OptionalThrowable associated with this Event.long duration()