TestAdapter mixin

A mixin providing some utility functions for adapters that run tests and provides some basic test reporting since otherwise nothing is printed when using the JSON test reporter.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendEvent(EventBody body, {String? eventType}) → void
sendOutput(String category, String message, {int? variablesReference, bool? parseStackFrames}) → void
sendTestEvents(Object testNotification) → void
sendTestTextOutput(Map<String, Object?> testNotification) → void
Sends textual output for tests, including pass/fail and test output.
toString() → String
A string representation of this object.
inherited

Operators

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