LocalSessionWaitOperations class
Executes the session's wait conditions behind the session boundary.
Keeping condition translation here leaves LocalTestExecutionSession responsible for lifecycle and resource ownership while preserving one queue, policy, resolver, and executor for every wait.
Constructors
- LocalSessionWaitOperations({required WidgetTester tester, required EnsembleTestContext context, required TestStepExecutor executor, required LocalSessionPolicy policy, required FlutterTargetResolver resolver, required LeafCommandQueue queue, required void ensureOpen(), required String nextOperationId(String prefix), required TestExecutionError mapExecutorFailure(EnsembleTestFailure error)})
Properties
- context → EnsembleTestContext
-
final
- ensureOpen → void Function()
-
final
- executor → TestStepExecutor
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mapExecutorFailure → TestExecutionError Function(EnsembleTestFailure error)
-
final
- nextOperationId → String Function(String prefix)
-
final
- policy → LocalSessionPolicy
-
final
- queue → LeafCommandQueue
-
final
- resolver → FlutterTargetResolver
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tester → WidgetTester
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
waitFor(
TestOperation operation, {Duration? timeout}) → Future< WaitResult> - Executes one registry-selected wait request.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited