mock_api

package
v2.0.15 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_api is a generated GoMock package.

Package mock_api is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIConn

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

MockIConn is a mock of IConn interface.

func NewMockIConn

func NewMockIConn(ctrl *gomock.Controller) *MockIConn

NewMockIConn creates a new mock instance.

func (*MockIConn) AddMatchSignal

func (m *MockIConn) AddMatchSignal(options ...dbus.MatchOption) error

AddMatchSignal mocks base method.

func (*MockIConn) Close

func (m *MockIConn) Close() error

Close mocks base method.

func (*MockIConn) EXPECT

func (m *MockIConn) EXPECT() *MockIConnMockRecorder

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

func (*MockIConn) Object

func (m *MockIConn) Object(dest string, path dbus.ObjectPath) dbus.BusObject

Object mocks base method.

func (*MockIConn) Signal

func (m *MockIConn) Signal(ch chan<- *dbus.Signal)

Signal mocks base method.

type MockIConnMockRecorder

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

MockIConnMockRecorder is the mock recorder for MockIConn.

func (*MockIConnMockRecorder) AddMatchSignal

func (mr *MockIConnMockRecorder) AddMatchSignal(options ...any) *gomock.Call

AddMatchSignal indicates an expected call of AddMatchSignal.

func (*MockIConnMockRecorder) Close

func (mr *MockIConnMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockIConnMockRecorder) Object

func (mr *MockIConnMockRecorder) Object(dest, path any) *gomock.Call

Object indicates an expected call of Object.

func (*MockIConnMockRecorder) Signal

func (mr *MockIConnMockRecorder) Signal(ch any) *gomock.Call

Signal indicates an expected call of Signal.

type MockIContext

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

MockIContext is a mock of IContext interface.

func NewMockIContext

func NewMockIContext(ctrl *gomock.Controller) *MockIContext

NewMockIContext creates a new mock instance.

func (*MockIContext) DrawStringWrapped

func (m *MockIContext) DrawStringWrapped(s string, x, y, ax, ay, width, lineSpacing float64, align gg.Align)

DrawStringWrapped mocks base method.

func (*MockIContext) EXPECT

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

func (*MockIContext) Height

func (m *MockIContext) Height() int

Height mocks base method.

func (*MockIContext) Image

func (m *MockIContext) Image() image.Image

Image mocks base method.

func (*MockIContext) MeasureMultilineString

func (m *MockIContext) MeasureMultilineString(text string, fontSize float64) (float64, float64)

MeasureMultilineString mocks base method.

func (*MockIContext) SetFontFace

func (m *MockIContext) SetFontFace(arg0 font.Face)

SetFontFace mocks base method.

func (*MockIContext) SetHexColor

func (m *MockIContext) SetHexColor(color string)

SetHexColor mocks base method.

func (*MockIContext) SetRGB

func (m *MockIContext) SetRGB(r, g, b float64)

SetRGB mocks base method.

func (*MockIContext) Width

func (m *MockIContext) Width() int

Width mocks base method.

func (*MockIContext) WordWrap

func (m *MockIContext) WordWrap(text string, width float64) []string

WordWrap mocks base method.

type MockIContextMockRecorder

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

MockIContextMockRecorder is the mock recorder for MockIContext.

func (*MockIContextMockRecorder) DrawStringWrapped

func (mr *MockIContextMockRecorder) DrawStringWrapped(s, x, y, ax, ay, width, lineSpacing, align any) *gomock.Call

DrawStringWrapped indicates an expected call of DrawStringWrapped.

func (*MockIContextMockRecorder) Height

func (mr *MockIContextMockRecorder) Height() *gomock.Call

Height indicates an expected call of Height.

func (*MockIContextMockRecorder) Image

func (mr *MockIContextMockRecorder) Image() *gomock.Call

Image indicates an expected call of Image.

func (*MockIContextMockRecorder) MeasureMultilineString

func (mr *MockIContextMockRecorder) MeasureMultilineString(text, lineSpacing any) *gomock.Call

MeasureMultilineString indicates an expected call of MeasureMultilineString.

func (*MockIContextMockRecorder) SetFontFace

func (mr *MockIContextMockRecorder) SetFontFace(arg0 any) *gomock.Call

SetFontFace indicates an expected call of SetFontFace.

func (*MockIContextMockRecorder) SetHexColor

func (mr *MockIContextMockRecorder) SetHexColor(color any) *gomock.Call

SetHexColor indicates an expected call of SetHexColor.

func (*MockIContextMockRecorder) SetRGB

func (mr *MockIContextMockRecorder) SetRGB(r, g, b any) *gomock.Call

SetRGB indicates an expected call of SetRGB.

func (*MockIContextMockRecorder) Width

func (mr *MockIContextMockRecorder) Width() *gomock.Call

Width indicates an expected call of Width.

func (*MockIContextMockRecorder) WordWrap

func (mr *MockIContextMockRecorder) WordWrap(text, width any) *gomock.Call

WordWrap indicates an expected call of WordWrap.

Jump to

Keyboard shortcuts

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