mock_mrerr

package
v0.10.9 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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

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

func (*MockStackTracer) Item added in v0.10.4

func (m *MockStackTracer) Item(index int) (string, string, int)

Item mocks base method.

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

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) Code

func (m *MockcodeGetter) Code() string

Code mocks base method.

func (*MockcodeGetter) EXPECT

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

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

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.

Jump to

Keyboard shortcuts

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