AbstractTestability class abstract
Tesability base class that implements some of the rules for calling the IsStableCallbacks as defined by FrameworkStabilizers. The extending frameworks are responsible for providing their own implementation of isStable and they are responsible for calling checkStable whenever they have potentially moved from an unstable to a stable state.
- Implemented types
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isStable → bool
-
Returns true if the framework is in a stable state, false otherwise.
no setteroverride
- name → String
-
Name of the testability. Defaults to the runtimeType.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkStable(
) → void - The extending framework needs to call checkStable whenever it has potentially reached a stable state. If a stable state is reached, the callbacks will be executed.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
) → void -
Registers the framework's FrameworkStabilizer function on the global
window object to make it accessable in webdriver tests.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
whenStable(
IsStableCallback fn) → void -
Hook for tests to register an IsStableCallback that is called when
a stable state is reached.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited