Documentation
¶
Overview ¶
Package dbustest provides a helper to run an isolated bus instance in tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bus ¶
type Bus struct {
// contains filtered or unexported fields
}
Bus is an isolated DBus instance for tests.
func New ¶
New launches a DBus instance dedicated to the calling test.
If Available is false, New calls t.Skip to skip the calling test.
If logMonitor is true, the returned bus logs all bus messages using t.Logf.
Click to show internal directories.
Click to hide internal directories.