Documentation
¶
Overview ¶
Package mock_api is a generated GoMock package.
Package mock_api is a generated GoMock package.
Index ¶
- type MockIConn
- type MockIConnMockRecorder
- type MockIContext
- func (m *MockIContext) DrawStringWrapped(s string, x, y, ax, ay, width, lineSpacing float64, align gg.Align)
- func (m *MockIContext) EXPECT() *MockIContextMockRecorder
- func (m *MockIContext) Height() int
- func (m *MockIContext) Image() image.Image
- func (m *MockIContext) MeasureMultilineString(text string, fontSize float64) (float64, float64)
- func (m *MockIContext) SetFontFace(arg0 font.Face)
- func (m *MockIContext) SetHexColor(color string)
- func (m *MockIContext) SetRGB(r, g, b float64)
- func (m *MockIContext) Width() int
- func (m *MockIContext) WordWrap(text string, width float64) []string
- type MockIContextMockRecorder
- func (mr *MockIContextMockRecorder) DrawStringWrapped(s, x, y, ax, ay, width, lineSpacing, align any) *gomock.Call
- func (mr *MockIContextMockRecorder) Height() *gomock.Call
- func (mr *MockIContextMockRecorder) Image() *gomock.Call
- func (mr *MockIContextMockRecorder) MeasureMultilineString(text, lineSpacing any) *gomock.Call
- func (mr *MockIContextMockRecorder) SetFontFace(arg0 any) *gomock.Call
- func (mr *MockIContextMockRecorder) SetHexColor(color any) *gomock.Call
- func (mr *MockIContextMockRecorder) SetRGB(r, g, b any) *gomock.Call
- func (mr *MockIContextMockRecorder) Width() *gomock.Call
- func (mr *MockIContextMockRecorder) WordWrap(text, width any) *gomock.Call
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) EXPECT ¶
func (m *MockIConn) EXPECT() *MockIConnMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.
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 ¶
func (m *MockIContext) EXPECT() *MockIContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.
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.