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 patternId was played on fake.
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.