Package-level declarations

Types

Link copied to clipboard

An AttributeIdentity for mock wrappers; each instance is distinct, mirroring the per-attribute identity of the platform implementations.

Link copied to clipboard
class MockBluetoothServer(initialStatus: ServerStatus = ServerStatus.AVAILABLE, setupMocks: Boolean = true) : BluetoothServer

A behavioral mock implementation of BluetoothServer.

Link copied to clipboard

A mock implementation of BaseBluetoothServerBuilder that creates behavioral MockBluetoothServers.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

A LocalServiceWrapperBuilder that produces mock wrappers, allowing attribute graphs to be built in tests on any platform without a live Bluetooth stack.