Package-level declarations
Types
An AttributeIdentity for mock wrappers; each instance is distinct, mirroring the per-attribute identity of the platform implementations.
A mock implementation of BluetoothServer. The status, isAdvertising and services flows are backed by MutableStateFlows the test can update directly, while the methods are mocked using the Kaluga mocking library so calls can be stubbed and verified.
A mock implementation of BaseBluetoothServerBuilder that creates MockBluetoothServers.
A mock implementation of ConnectedDevice for use in tests. The platform handle (device/cbCentral) is not mockable and throws if accessed; only identifier is provided.
A mock implementation of ConnectedDevice for use in tests. The platform handle (device/cbCentral) is not mockable and throws if accessed; only identifier is provided.
A mock implementation of ConnectedDevice for use in tests. The platform handle (device/cbCentral) is not mockable and throws if accessed; only identifier is provided.
A LocalCharacteristicWrapper for use in tests.
A LocalCharacteristicWrapper for use in tests.
A LocalCharacteristicWrapper for use in tests.
A LocalDescriptorWrapper for use in tests.
A LocalDescriptorWrapper for use in tests.
A LocalDescriptorWrapper for use in tests.
A LocalServiceWrapper for use in tests. Holds only the modeled attributes; the platform-level actions (adding to a server, notifying) are not supported and throw if invoked.
A LocalServiceWrapper for use in tests. Holds only the modeled attributes; the platform-level actions (adding to a server, notifying) are not supported and throw if invoked.
A LocalServiceWrapper for use in tests. Holds only the modeled attributes; the platform-level actions (adding to a server, notifying) are not supported and throw if invoked.
A LocalServiceWrapperBuilder that produces mock wrappers, allowing attribute graphs to be built in tests on any platform without a live Bluetooth stack.