TestRuntimeAssertionOperations class final
Owns the assertion operations selected by the shared operation registry.
Constructors
-
TestRuntimeAssertionOperations({required TestServiceExpectations expectations, required AssertionEngine assertions, required Finder finderForTargetStep(OperationInput step, {bool allowEmpty, bool requireInteractive}), required Future<
void> waitForTextContains({List<String> anyOf, String? text, required int timeoutMs}), required Future<void> waitForText(OperationInput step, {required int timeoutMs}), required Future<void> waitForVisible(OperationInput step, {required int timeoutMs})})
Properties
- assertions → AssertionEngine
-
final
- expectations → TestServiceExpectations
-
final
- finderForTargetStep → Finder Function(OperationInput step, {bool allowEmpty, bool requireInteractive})
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
operationHandlers
→ Map<
String, Future< bool> Function(OperationInput)> -
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
waitForText
→ Future<
void> Function(OperationInput step, {required int timeoutMs}) -
final
-
waitForTextContains
→ Future<
void> Function({List<String> anyOf, String? text, required int timeoutMs}) -
final
-
waitForVisible
→ Future<
void> Function(OperationInput step, {required int timeoutMs}) -
final
Methods
-
execute(
OperationInput operation, {required String handlerKey}) → Future< bool> -
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