WidgetTestThen<T extends WidgetTestHarness> class
You can use this class directly and then author your own extensions to it
for your specific behaviors or you can
extend this class and provide any dependencies you require.
See example_widget_test_support.dart
for a complete example
- Inheritance
-
- Object
- UnitTestThen<
T> - WidgetTestThen
Constructors
- WidgetTestThen(T harness)
- Creates the WidgetTestThen, which makes both the WidgetTestHarness and the WidgetTester available for use in test actions.
Properties
- harness → T
-
An instance of the
T
that is used for making assertions about the code under test.finalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tester → WidgetTester
-
Class that programmatically interacts with widgets and the test
environment.
no setter
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