FakeRadioInterfaceService
class FakeRadioInterfaceService(val serviceScope: CoroutineScope = MainScope()) : RadioInterfaceService(source)
A test double for RadioInterfaceService that provides an in-memory implementation. Address selection remains separate from session admission: connect publishes a fresh monotonically increasing session generation. Tests that need a connection state use FakeServiceRepository.connectionState, which the real service publishes to.
Properties
Link copied to clipboard
Link copied to clipboard
The SDK client clientForSession hands out while a session is admitted.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Broker messages handed to deliverMqttProxy, in order.
Link copied to clipboard
Whether requestGattCacheInvalidationOnNextConnect was called.
Link copied to clipboard
No capture asset in tests; flip per-test when exercising replay-gated behaviour.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
How many received frames were reported through reportReceiveActivity.
Link copied to clipboard
How many outbound packets were reported through reportSendActivity.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard