TestDoneEvent class

An event emitted when a test completes. The result attribute indicates the result of the test.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

TestDoneEvent({required int testID, required TestResult result, required bool hidden, required bool skipped, required int time})
An event emitted when a test completes. The result attribute indicates the result of the test.
const
TestDoneEvent.fromJson(Map<String, dynamic> json)
An event emitted when a test completes. The result attribute indicates the result of the test.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
hidden bool
Whether the test's result should be hidden.
final
result TestResult
The result of the test.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skipped bool
Whether the test (or some part of it) was skipped.
final
testID int
The ID of the test that completed.
final
time int
The time (in milliseconds) that has elapsed since the test runner started.
finalinherited
type String
The type of the event.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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