TestControllerState class

Constructors

TestControllerState({String? currentStep, String? currentTest, bool passing = false, double progress = 0.0, bool runningSuite = false, bool runningTest = false})

Properties

currentStep String?
Returns the name of the current step or null if no step is currently running.
getter/setter pair
currentStepStream Stream<String?>
Stream that fires whenever the test controller starts a new test step.
no setter
currentTest String?
Returns the name of the current test or null if no test is currently running.
getter/setter pair
currentTestStream Stream<String?>
Stream that fires whenever the test controller starts a new test.
no setter
hashCode int
The hash code for this object.
no setterinherited
passing bool
Returns whether or not the test is currently passing. Will be false if no test is currently running.
getter/setter pair
passingStream Stream<bool>
Stream that fires whenever the passing state for a test changes.
no setter
progress double
Returns the current progress within a test run or 0 if no test is running.
getter/setter pair
progressStream Stream<double>
Stream that fires whenever the progress of a test run changes.
no setter
runningSuite bool
Returns whether or not a test suite is running. To know if anything is running, clients should OR this against runningTest.
getter/setter pair
runningSuiteStream Stream<bool>
Stream that fires whenever a test starts or finishes running.
no setter
runningTest bool
Returns whether or not an individual test is running. To know if anything is running, clients should OR this against runningSuite.
getter/setter pair
runningTestStream Stream<bool>
Stream that fires whenever a test starts or finishes running.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Disposes the controller state.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Abstract function that concrete classes must implement. This must encode the internal data model to a JSON compatible representation.
toString() String
Returns the string encoded JSON representation for this class. This will remove all null values and empty collections from the returned string.
inherited

Operators

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

Static Methods

fromDynamic(dynamic map) TestControllerState