API#
VM configuration#
|
Declare host configuration. |
Declare parametrized host configurations. |
Fixtures#
|
Function-scope fixture that expands to a list of VM host proxies ( |
|
Function-scope fixture. |
Host plugins#
Plugin to insert code to VM host side. |
|
|
Host plugin providing org.bluez.Agent1 test implementation. |
Host plugin providing host.bdaddr. |
|
Host plugin for starting and controlling bluetoothctl with pexpect. |
|
|
Host plugin starting Bluetoothd. |
|
Host plugin running btmon and forwarding output to logging. |
Host plugin providing |
|
Host plugin providing system DBus, at address impl.plugins["dbus-session"].address. |
|
Host plugin providing system DBus, at address impl.plugins["dbus-system"].address. |
|
Host plugin starting obexd. |
|
Host plugin for starting and controlling processes with pexpect. |
|
|
Host plugin setting pipe buffer size defaults. |
|
Exception raised on the VM side, passed through RPC. |
Utilities#
|
Logger that forwards input from a stream to logging, and optionally tees to another stream. |
|
Get bdaddr of controller with given index |
|
Find absolute path to the given executable, either within BlueZ build directory or on host. |
Wrap function to assert it runs from GLib main loop |
|
|
Blocking invoke of func in GLib main loop. |
Wrap function to run in GLib main loop thread |
|
|
Quote shell command |
|
Same as subprocess.run() but log output while running. |
|
|
Asynchronous event. |
Simple expect() / reply() pattern for handing async events in host plugins. |
|
dbus.service.method that pushes Event instances to self.events |
Internals#
|
Parent host-side representation of one VM host with loadable plugins. |
Host-side proxy for a plugin: RPC calls |
Internal fixtures:
|
Host setup configuration |
|
Fixture for kernel image. |
|
Fixture for available HW USB controllers. |
|
Function-scope virtual machine fixture. |
|
Function-scope virtual machine fixture. |
|
VM setup configuration |