Documentation ¶
Overview ¶
Package mock_mrerr is a generated GoMock package.
Package mock_mrerr is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStackTracer ¶ added in v0.10.2
type MockStackTracer struct {
// contains filtered or unexported fields
}
MockStackTracer is a mock of StackTracer interface.
func NewMockStackTracer ¶ added in v0.10.2
func NewMockStackTracer(ctrl *gomock.Controller) *MockStackTracer
NewMockStackTracer creates a new mock instance.
func (*MockStackTracer) Count ¶ added in v0.10.2
func (m *MockStackTracer) Count() int
Count mocks base method.
func (*MockStackTracer) EXPECT ¶ added in v0.10.2
func (m *MockStackTracer) EXPECT() *MockStackTracerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockStackTracerMockRecorder ¶ added in v0.10.2
type MockStackTracerMockRecorder struct {
// contains filtered or unexported fields
}
MockStackTracerMockRecorder is the mock recorder for MockStackTracer.
func (*MockStackTracerMockRecorder) Count ¶ added in v0.10.2
func (mr *MockStackTracerMockRecorder) Count() *gomock.Call
Count indicates an expected call of Count.
func (*MockStackTracerMockRecorder) Item ¶ added in v0.10.4
func (mr *MockStackTracerMockRecorder) Item(index interface{}) *gomock.Call
Item indicates an expected call of Item.
type MockcodeGetter ¶
type MockcodeGetter struct {
// contains filtered or unexported fields
}
MockcodeGetter is a mock of codeGetter interface.
func NewMockcodeGetter ¶
func NewMockcodeGetter(ctrl *gomock.Controller) *MockcodeGetter
NewMockcodeGetter creates a new mock instance.
func (*MockcodeGetter) EXPECT ¶
func (m *MockcodeGetter) EXPECT() *MockcodeGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockcodeGetterMockRecorder ¶
type MockcodeGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockcodeGetterMockRecorder is the mock recorder for MockcodeGetter.
func (*MockcodeGetterMockRecorder) Code ¶
func (mr *MockcodeGetterMockRecorder) Code() *gomock.Call
Code indicates an expected call of Code.
type Mocktranslator ¶
type Mocktranslator struct {
// contains filtered or unexported fields
}
Mocktranslator is a mock of translator interface.
func NewMocktranslator ¶
func NewMocktranslator(ctrl *gomock.Controller) *Mocktranslator
NewMocktranslator creates a new mock instance.
func (*Mocktranslator) EXPECT ¶
func (m *Mocktranslator) EXPECT() *MocktranslatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Mocktranslator) HasErrorCode ¶
func (m *Mocktranslator) HasErrorCode(code string) bool
HasErrorCode mocks base method.
func (*Mocktranslator) TranslateError ¶
func (m *Mocktranslator) TranslateError(code, defaultMessage string, args ...mrmsg.NamedArg) mrmsg.ErrorMessage
TranslateError mocks base method.
type MocktranslatorMockRecorder ¶
type MocktranslatorMockRecorder struct {
// contains filtered or unexported fields
}
MocktranslatorMockRecorder is the mock recorder for Mocktranslator.
func (*MocktranslatorMockRecorder) HasErrorCode ¶
func (mr *MocktranslatorMockRecorder) HasErrorCode(code interface{}) *gomock.Call
HasErrorCode indicates an expected call of HasErrorCode.
func (*MocktranslatorMockRecorder) TranslateError ¶
func (mr *MocktranslatorMockRecorder) TranslateError(code, defaultMessage interface{}, args ...interface{}) *gomock.Call
TranslateError indicates an expected call of TranslateError.