testing library
Classes
- FakeAiroHapticPlatform
- Fake implementation of AiroHapticsPlatform for unit and widget testing.
- HapticInvocation
- Recorded haptic invocation record for test assertions.
Functions
-
expectHapticPatternPlayed(
FakeAiroHapticPlatform fake, String patternId) → void -
Helper assertion: verifies a pattern with id
patternIdwas played onfake. -
expectHapticPlayed(
FakeAiroHapticPlatform fake, AiroHapticFeedbackType type) → void -
Helper assertion: verifies a semantic feedback type was performed on
fake. -
expectNoHapticPlayed(
FakeAiroHapticPlatform fake) → void -
Helper assertion: verifies no haptic feedback was triggered on
fake.
Typedefs
- FakeAiroHaptics = FakeAiroHapticPlatform
- Type aliases for testing convenience.
- RecordingAiroHaptics = FakeAiroHapticPlatform
- RecordingHapticBackend = FakeAiroHapticPlatform