Package sbt.testing
Interface Event
-
public interface Event
An event fired by the test framework during a run.
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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 thefullyQualifiedName
method on thisEvent
.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()
AnOptionalThrowable
associated with thisEvent
.
-
-
-
Method Detail
-
fullyQualifiedName
java.lang.String fullyQualifiedName()
The fully qualified name of a class that can rerun the suite or test about which an event was fired.
-
fingerprint
Fingerprint fingerprint()
The fingerprint of the test class whose fully qualifed name is returned by thefullyQualifiedName
method on thisEvent
. If theisModule
method of the fingerprint indicates that thefullyQualifiedName
refers to a module (singleton object), thefullyQualifiedName
string does not include the trailing dollar sign.
-
selector
Selector selector()
Additional information identifying the suite or test about which an event was fired.
-
status
Status status()
Indicates whether the event represents a test success, failure, error, skipped, ignored, canceled, pending.
-
throwable
OptionalThrowable throwable()
AnOptionalThrowable
associated with thisEvent
.
-
duration
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.
-
-