DefaultTestVariant class

The TestVariant that represents the "default" test that is run if no variants iterable is specified for testWidgets.

This variant can be added into a list of other test variants to provide a "control" test where nothing is changed from the base test environment.

Inheritance

Constructors

DefaultTestVariant()
A const constructor for a DefaultTestVariant.
const

Properties

values Iterable<void>
Returns an iterable of the variations that this test dimension represents. [...]
read-only, override
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

describeValue(void value) String
Returns the string that will be used to both add to the test description, and be printed when a test fails for this variation.
override
setUp(void value) Future<void>
A function that will be called before each value is tested, with the value that will be tested. [...]
override
tearDown(void value, covariant void memento) Future<void>
A function that is guaranteed to be called after a value is tested, even if it throws an exception. [...]
override
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