Documentation
¶
Overview ¶
Package mock_dbus is a generated GoMock package.
Index ¶
- type MockBusObject
- func (m *MockBusObject) AddMatchSignal(iface, member string, options ...dbus.MatchOption) *dbus.Call
- func (m *MockBusObject) Call(method string, flags dbus.Flags, args ...any) *dbus.Call
- func (m *MockBusObject) CallWithContext(ctx context.Context, method string, flags dbus.Flags, args ...any) *dbus.Call
- func (m *MockBusObject) Destination() string
- func (m *MockBusObject) EXPECT() *MockBusObjectMockRecorder
- func (m *MockBusObject) GetProperty(p string) (dbus.Variant, error)
- func (m *MockBusObject) Go(method string, flags dbus.Flags, ch chan *dbus.Call, args ...any) *dbus.Call
- func (m *MockBusObject) GoWithContext(ctx context.Context, method string, flags dbus.Flags, ch chan *dbus.Call, ...) *dbus.Call
- func (m *MockBusObject) Path() dbus.ObjectPath
- func (m *MockBusObject) RemoveMatchSignal(iface, member string, options ...dbus.MatchOption) *dbus.Call
- func (m *MockBusObject) SetProperty(p string, v any) error
- func (m *MockBusObject) StoreProperty(p string, value any) error
- type MockBusObjectMockRecorder
- func (mr *MockBusObjectMockRecorder) AddMatchSignal(iface, member any, options ...any) *gomock.Call
- func (mr *MockBusObjectMockRecorder) Call(method, flags any, args ...any) *gomock.Call
- func (mr *MockBusObjectMockRecorder) CallWithContext(ctx, method, flags any, args ...any) *gomock.Call
- func (mr *MockBusObjectMockRecorder) Destination() *gomock.Call
- func (mr *MockBusObjectMockRecorder) GetProperty(p any) *gomock.Call
- func (mr *MockBusObjectMockRecorder) Go(method, flags, ch any, args ...any) *gomock.Call
- func (mr *MockBusObjectMockRecorder) GoWithContext(ctx, method, flags, ch any, args ...any) *gomock.Call
- func (mr *MockBusObjectMockRecorder) Path() *gomock.Call
- func (mr *MockBusObjectMockRecorder) RemoveMatchSignal(iface, member any, options ...any) *gomock.Call
- func (mr *MockBusObjectMockRecorder) SetProperty(p, v any) *gomock.Call
- func (mr *MockBusObjectMockRecorder) StoreProperty(p, value any) *gomock.Call
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) 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 ¶
func (m *MockBusObject) EXPECT() *MockBusObjectMockRecorder
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) 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 ¶
func (mr *MockBusObjectMockRecorder) Path() *gomock.Call
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.