TestHandle class final


hashCode int
The hash code for this object.
no setterinherited
name String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldBeDone bool
Whether this test has already completed successfully.
no setter


formatStackTrace(StackTrace stackTrace) Chain
Converts stackTrace to a Chain according to the current test's configuration.
markPending() OutstandingWork
Indicates that this test should not be considered done until the returned OutstandingWork is marked as complete.
markSkipped(String message) → void
Marks this test as skipped.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.

Static Properties

current TestHandle
Returns handle for the currently running test.
no setter