testing library
Classes
- DeviceFixtures
-
Test fixtures, fake platform implementations, and matchers for testing
applications using
flutter_local_device_discovery. - FakeFlutterLocalDeviceDiscoveryPlatform
-
A fake in-memory implementation of
FlutterLocalDeviceDiscoveryPlatformfor testing. - FakeLocalDiscoverySession
- A fake controllable LocalDiscoverySession for testing.
Functions
-
hasDeviceCapability(
LocalDeviceCapability capability) → Matcher - Custom matcher to verify if a LocalDevice has a given LocalDeviceCapability.
-
hasServiceType(
String serviceType) → Matcher - Custom matcher to verify if a LocalDevice advertises a given service type.
-
isDiscoveredDevice(
{String? displayName, LocalDeviceType? type}) → Matcher - Custom matcher to verify if an object is a LocalDevice.