TestHandle class Null safety

Properties

hashCode int
The hash code for this object.
read-onlyinherited
name String
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
shouldBeDone bool
Whether this test has already completed successfully.
read-only

Methods

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 non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

current TestHandle
Returns handle for the currently running test.
read-only