ComponentHarness class Null safety

Constructors

ComponentHarness.mount({required Component component})
factory

Properties

events List<Event>
final
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sut Component
final

Methods

atLeastEvents(List<Event> events) bool
atLeastEventsInOrder(List<Event> events) bool
eventOfType<T extends Event>() bool
eventOfTypes(List<Type> types) bool
exactEvent<T extends Event>(T event, [int count = 1]) bool
exactEvents(List<Event> events) bool
mockEvent<T extends Event>(EventListener<T> event) → void
noEvents() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
sendTest<T extends Event>(T event) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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