NgTestFixture<T> class

Constructors

NgTestFixture(ApplicationRef applicationRef, ComponentRef<T> rootComponentRef, NgTestStabilizer testStabilizer)
factory

Properties

assertOnlyInstance → T
A component instance to use for read-only operations (expect, assert) ONLY. [...]
read-only
rootElement Element
Root element.
read-only
text → String
All text nodes within the fixture. [...]
read-only
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

dispose() → Future<void>
Destroys the test case, returning a future that completes after disposed. [...]
update([void run(T instance) ]) → Future<void>
Returns a future that completes after the DOM is reported stable. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited