TarpitStall class
Thrown into a widget test that made no progress for Tarpit.stallAfter.
- Implemented types
Constructors
- TarpitStall({required String description, required Duration stallAfter, required Duration realElapsed, required Duration fakeElapsed, required int frames, required int transientCallbacks, required bool frameScheduled, bool bodyReturned = false})
-
Creates the report. Public for tests and custom reporters.
const
Properties
- bodyReturned → bool
-
Whether the test body had already returned: the test was stuck in
flutter_test's own code after it, not in the body.
final
- description → String
-
The test's description.
final
- fakeElapsed → Duration
-
How far the test's fake clock moved.
final
- frames → int
-
Frames pumped by the test.
final
- frameScheduled → bool
-
Whether a frame was requested but not pumped.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- realElapsed → Duration
-
Real time since the test body started.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stallAfter → Duration
-
The limit that was reached.
final
- transientCallbacks → int
-
Running tickers and animations (
transientCallbackCount).final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited