mocks

package
v0.0.0-...-351850b Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBusAPI

type DBusAPI struct {
	mock.Mock
}

DBusAPI is an autogenerated mock type for the DBusAPI type

func (*DBusAPI) BusGet

func (_m *DBusAPI) BusGet(_a0 uint) (dbus.Handle, error)

BusGet provides a mock function with given fields: _a0

func (*DBusAPI) BusProxyCall

func (_m *DBusAPI) BusProxyCall(_a0 dbus.Handle, _a1 string, _a2 interface{}, _a3 int) (dbus.DBusCallResponse, error)

BusProxyCall provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*DBusAPI) BusProxyNew

func (_m *DBusAPI) BusProxyNew(_a0 dbus.Handle, _a1 string, _a2 string, _a3 string) (dbus.Handle, error)

BusProxyNew provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*DBusAPI) HandleSignal

func (_m *DBusAPI) HandleSignal(signalName string, params []dbus.SignalParams)

HandleSignal provides a mock function with given fields: signalName

func (*DBusAPI) MainLoopNew

func (_m *DBusAPI) MainLoopNew() dbus.MainLoop

MainLoopNew provides a mock function with given fields:

func (*DBusAPI) MainLoopQuit

func (_m *DBusAPI) MainLoopQuit(_a0 dbus.MainLoop)

MainLoopQuit provides a mock function with given fields: _a0

func (*DBusAPI) MainLoopRun

func (_m *DBusAPI) MainLoopRun(_a0 dbus.MainLoop)

MainLoopRun provides a mock function with given fields: _a0

func (*DBusAPI) WaitForSignal

func (_m *DBusAPI) WaitForSignal(signalName string, timeout time.Duration) ([]dbus.SignalParams, error)

WaitForSignal provides a mock function with given fields: signalName, timeout

type DBusCallResponse

type DBusCallResponse struct {
	mock.Mock
}

DBusCallResponse is an autogenerated mock type for the DBusCallResponse type

func (*DBusCallResponse) GetBoolean

func (_m *DBusCallResponse) GetBoolean() bool

GetBoolean provides a mock function with given fields:

func (*DBusCallResponse) GetString

func (_m *DBusCallResponse) GetString() string

GetString provides a mock function with given fields:

Jump to

Keyboard shortcuts

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