KeySimulatorTransitModeVariant class

A TestVariant that runs tests with transit modes set to different values of KeyDataTransitMode.

Inheritance
Annotations
  • @Deprecated('No longer supported. Transit mode is always key data only. ' 'This feature was deprecated after v3.18.0-2.0.pre.')

Constructors

KeySimulatorTransitModeVariant(Set<KeyDataTransitMode> values)
Creates a KeySimulatorTransitModeVariant that tests the given values.
const
KeySimulatorTransitModeVariant.all()
Creates a KeySimulatorTransitModeVariant for each value option of KeyDataTransitMode.
KeySimulatorTransitModeVariant.keyDataThenRawKeyData()
Creates a KeySimulatorTransitModeVariant that only contains KeyDataTransitMode.keyDataThenRawKeyData.
KeySimulatorTransitModeVariant.rawKeyData()
Creates a KeySimulatorTransitModeVariant that only contains KeyDataTransitMode.rawKeyData.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values Set<KeyDataTransitMode>
Returns an iterable of the variations that this test dimension represents.
final

Methods

describeValue(KeyDataTransitMode 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
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setUp(KeyDataTransitMode value) Future<KeyDataTransitMode?>
A function that will be called before each value is tested, with the value that will be tested.
override
tearDown(KeyDataTransitMode value, covariant KeyDataTransitMode? memento) Future<void>
A function that is guaranteed to be called after a value is tested, even if it throws an exception.
override
toString() String
A string representation of this object.
inherited

Operators

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