mock_dbus

package
v2.0.17 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package mock_dbus is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBusObject

type MockBusObject struct {
	// contains filtered or unexported fields
}

MockBusObject is a mock of BusObject interface.

func NewMockBusObject

func NewMockBusObject(ctrl *gomock.Controller) *MockBusObject

NewMockBusObject creates a new mock instance.

func (*MockBusObject) AddMatchSignal

func (m *MockBusObject) AddMatchSignal(iface, member string, options ...dbus.MatchOption) *dbus.Call

AddMatchSignal mocks base method.

func (*MockBusObject) Call

func (m *MockBusObject) Call(method string, flags dbus.Flags, args ...any) *dbus.Call

Call mocks base method.

func (*MockBusObject) CallWithContext

func (m *MockBusObject) CallWithContext(ctx context.Context, method string, flags dbus.Flags, args ...any) *dbus.Call

CallWithContext mocks base method.

func (*MockBusObject) Destination

func (m *MockBusObject) Destination() string

Destination mocks base method.

func (*MockBusObject) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBusObject) GetProperty

func (m *MockBusObject) GetProperty(p string) (dbus.Variant, error)

GetProperty mocks base method.

func (*MockBusObject) Go

func (m *MockBusObject) Go(method string, flags dbus.Flags, ch chan *dbus.Call, args ...any) *dbus.Call

Go mocks base method.

func (*MockBusObject) GoWithContext

func (m *MockBusObject) GoWithContext(ctx context.Context, method string, flags dbus.Flags, ch chan *dbus.Call, args ...any) *dbus.Call

GoWithContext mocks base method.

func (*MockBusObject) Path

func (m *MockBusObject) Path() dbus.ObjectPath

Path mocks base method.

func (*MockBusObject) RemoveMatchSignal

func (m *MockBusObject) RemoveMatchSignal(iface, member string, options ...dbus.MatchOption) *dbus.Call

RemoveMatchSignal mocks base method.

func (*MockBusObject) SetProperty

func (m *MockBusObject) SetProperty(p string, v any) error

SetProperty mocks base method.

func (*MockBusObject) StoreProperty

func (m *MockBusObject) StoreProperty(p string, value any) error

StoreProperty mocks base method.

type MockBusObjectMockRecorder

type MockBusObjectMockRecorder struct {
	// contains filtered or unexported fields
}

MockBusObjectMockRecorder is the mock recorder for MockBusObject.

func (*MockBusObjectMockRecorder) AddMatchSignal

func (mr *MockBusObjectMockRecorder) AddMatchSignal(iface, member any, options ...any) *gomock.Call

AddMatchSignal indicates an expected call of AddMatchSignal.

func (*MockBusObjectMockRecorder) Call

func (mr *MockBusObjectMockRecorder) Call(method, flags any, args ...any) *gomock.Call

Call indicates an expected call of Call.

func (*MockBusObjectMockRecorder) CallWithContext

func (mr *MockBusObjectMockRecorder) CallWithContext(ctx, method, flags any, args ...any) *gomock.Call

CallWithContext indicates an expected call of CallWithContext.

func (*MockBusObjectMockRecorder) Destination

func (mr *MockBusObjectMockRecorder) Destination() *gomock.Call

Destination indicates an expected call of Destination.

func (*MockBusObjectMockRecorder) GetProperty

func (mr *MockBusObjectMockRecorder) GetProperty(p any) *gomock.Call

GetProperty indicates an expected call of GetProperty.

func (*MockBusObjectMockRecorder) Go

func (mr *MockBusObjectMockRecorder) Go(method, flags, ch any, args ...any) *gomock.Call

Go indicates an expected call of Go.

func (*MockBusObjectMockRecorder) GoWithContext

func (mr *MockBusObjectMockRecorder) GoWithContext(ctx, method, flags, ch any, args ...any) *gomock.Call

GoWithContext indicates an expected call of GoWithContext.

func (*MockBusObjectMockRecorder) Path

Path indicates an expected call of Path.

func (*MockBusObjectMockRecorder) RemoveMatchSignal

func (mr *MockBusObjectMockRecorder) RemoveMatchSignal(iface, member any, options ...any) *gomock.Call

RemoveMatchSignal indicates an expected call of RemoveMatchSignal.

func (*MockBusObjectMockRecorder) SetProperty

func (mr *MockBusObjectMockRecorder) SetProperty(p, v any) *gomock.Call

SetProperty indicates an expected call of SetProperty.

func (*MockBusObjectMockRecorder) StoreProperty

func (mr *MockBusObjectMockRecorder) StoreProperty(p, value any) *gomock.Call

StoreProperty indicates an expected call of StoreProperty.

Jump to

Keyboard shortcuts

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