ComponentTester class

Tests any jaspr component in a simulated testing environment.

Unit-test components using the pumpComponent method and simulate dom events using the click method.

Properties

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

Methods

click(Finder finder, {bool pump = true}) Future<void>
Simulates a 'click' event on the given element and pumps the next frame.
dispatchEvent(Finder finder, String event, dynamic data) → void
Simulates event on the given element.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pump() Future<void>
pumpComponent(Component component) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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