Phase class

A object responsible for controlling a period of time during the test which can be prevented from ending.

Raising Objections on a Phase keeps this portion of the test from completing.

Constructors

Phase()

Properties

hashCode int
The hash code for this object.
no setterinherited
objections Iterable<Objection>
An unmodifiable Iterable of all active Objections which are preventing this phase from completing.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

allObjectionsDropped() Future<void>
A Future which will complete once there are no more raised objections on this Phase.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
raiseObjection([String name = '']) Objection
Creates and returns a new objection named name applied to this Phase.
toString() String
A string representation of this object.
inherited

Operators

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