UnitTestGiven<T> class
You can use this class directly and then author your own extensions to it
for your specific behaviors or you can extend this class and provide any
dependencies you require. See example_unit_test_support.dart
for a
complete example
- Implementers
Constructors
- UnitTestGiven(T harness)
-
Creates the UnitTestGiven, which makes the
T
available for use in test pre conditions.
Properties
- harness → T
-
An instance of the
T
that is used for setting up preconditions in a test.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited