StreamExpectation<Actual> class
A class exposing custom expectations for streams
- Inheritance
-
- Object
- ExpectationBase<
Stream< Actual> , Future<void> , Actual> - StreamExpectation
- Available Extensions
Properties
-
actual
→ Stream<
Actual> -
The value that is tested
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
not
→ ExpectationBase<
Stream< Actual> , Future<void> , Actual> -
Reverse the expectation
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createMatcher(
Matcher match) → Matcher -
Apply transformations to a matcher.
inherited
-
isA<
T> () → Future< void> -
Returns a matcher that matches objects with type
T
.inherited -
isNull(
) → Future< void> -
A matcher that matches any null value.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
runMatcher(
Matcher match) → Future< void> -
Expect that actual matches with a Matcher from the Dart SDK.
override
-
toBe(
Actual expected) → Future< void> -
Returns a matches that matches if the value is the same instance
as
expected
, using identical.inherited -
toEqual(
Actual expected, [int limit = 100]) → Future< void> -
Returns a matcher that matches if the value is structurally equal to
expected
.inherited -
toMatch(
Pattern re) → Future< void> -
Returns a matcher that matches if the match argument is a string and
matches the regular expression given by
re
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited