TestabilityRegistry class

A global registry of Testability instances given an app root element.

Constructors

TestabilityRegistry()

Properties

allTestabilities Iterable<Testability>
Returns all testability instances registered.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

findTestabilityInTree(Element? tree) Testability?
Walks the DOM tree looking for a registered Testability instance.
initializeEagerly() → void
Used to eagerly initialize the JS-interop bits before the app is ready.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerApplication(Element appRoot, Testability testability) → void
Associate appRoot with the provided testability instance.
testabilityFor(Element appRoot) Testability?
Returns the registered testability instance for appRoot, or null.
toString() String
A string representation of this object.
inherited

Operators

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