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.
no setter
hashCode int
The hash code for this object.
no setterinherited
rootElement Element
Root element.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
All text nodes within the fixture.
no setter

Methods

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

Operators

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