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 like |
Host plugins#
Base class for plugins that run code in a VM host. |
|
|
Host plugin providing org.bluez.Agent1 test implementation. |
|
Host plugin providing |
|
Host plugin for starting and controlling one |
|
Host plugin starting Bluetoothd. |
|
Host plugin running btmon and forwarding output to logging. |
|
Host plugin providing |
Host plugin starting a private session D-Bus for VM-host plugins. |
|
Host plugin starting a private system D-Bus for VM-host plugins. |
|
|
Host plugin registering a minimal connectable |
|
Host plugin starting obexd. |
|
Host plugin for starting and controlling processes with pexpect, providing |
|
Host plugin setting pipe buffer size defaults. |
Exceptions#
|
Exception raised in a VM host and passed through RPC. |
Raised when an RPC call to a VM host does not reply within its timeout (see |
Utilities#
|
Logger that forwards input from a stream to logging, and optionally tees to another stream. |
Location of the BlueZ source tree, as given by |
|
Return a default timeout, chosen to deal with VM load. |
|
|
Get bdaddr of controller with given index |
|
Get DBus system or session bus. |
|
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 |
|
Run a command and log its output while it executes. |
|
Call |
Warning emitted if some process crashed and dumped core |
|
Warning emitted if kernel prints BUG:/WARNING: messages |
|
Warning emitted if a sanitizer report (e.g. AddressSanitizer) is found in the output of a test process. |
|
Asynchronous event. |
Simple |
|
|
dbus.service.method that pushes Event instances to self.events |
Host proxies#
The upper-tester objects used to access VM-host plugins. host.<name>
is a PluginProxy unless a plugin exposes a value
through value.
|
Upper-tester representation of one VM host with loadable plugins. |
Upper-tester RPC proxy for a VM-host plugin. |
Internals#
Internal fixtures, used by host_config.
|
Fixture for kernel image. |
|
Fixture for available HW USB controllers. |
|
Package-scope virtual machine fixture. |
|
Function-scope virtual machine fixture. |
|
Host setup configuration |
|
VM setup configuration |