dbustest

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package dbustest runs a private D-Bus daemon for tests of code that talks to session services (the Secret Service, notifications).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bus

func Bus(t testing.TB) string

Bus runs a dbus-daemon for one test and returns its address. The test is skipped where dbus-daemon is not installed, unless FROSTNOTES_REQUIRE_DBUS is set (CI sets it), which makes a missing daemon a failure (frostyard/core ADR-0022).

func Connect

func Connect(t testing.TB, addr string) *dbus.Conn

Connect opens a connection to the bus at addr, closed when the test ends.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL