mocks

package
v0.3.9-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccountUpdater

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

MockAccountUpdater is a mock of AccountUpdater interface.

func NewMockAccountUpdater

func NewMockAccountUpdater(ctrl *gomock.Controller) *MockAccountUpdater

NewMockAccountUpdater creates a new mock instance.

func (*MockAccountUpdater) EXPECT

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

func (*MockAccountUpdater) Update

func (m *MockAccountUpdater) Update(arg0 types.Account) error

Update mocks base method.

type MockAccountUpdaterMockRecorder

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

MockAccountUpdaterMockRecorder is the mock recorder for MockAccountUpdater.

func (*MockAccountUpdaterMockRecorder) Update

func (mr *MockAccountUpdaterMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockHandler

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

MockHandler is a mock of Handler interface.

func NewMockHandler

func NewMockHandler(ctrl *gomock.Controller) *MockHandler

NewMockHandler creates a new mock instance.

func (*MockHandler) Args

func (m *MockHandler) Args(arg0 byte) scale.Type

Args mocks base method.

func (*MockHandler) EXPECT

func (m *MockHandler) EXPECT() *MockHandlerMockRecorder

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

func (*MockHandler) Exec

func (m *MockHandler) Exec(arg0 core.Host, arg1 byte, arg2 scale.Encodable) error

Exec mocks base method.

func (*MockHandler) Load

func (m *MockHandler) Load(arg0 []byte) (core.Template, error)

Load mocks base method.

func (*MockHandler) New

func (m *MockHandler) New(arg0 interface{}) (core.Template, error)

New mocks base method.

func (*MockHandler) Parse

func (m *MockHandler) Parse(arg0 core.Host, arg1 byte, arg2 *scale.Decoder) (core.ParseOutput, error)

Parse mocks base method.

type MockHandlerMockRecorder

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

MockHandlerMockRecorder is the mock recorder for MockHandler.

func (*MockHandlerMockRecorder) Args

func (mr *MockHandlerMockRecorder) Args(arg0 interface{}) *gomock.Call

Args indicates an expected call of Args.

func (*MockHandlerMockRecorder) Exec

func (mr *MockHandlerMockRecorder) Exec(arg0, arg1, arg2 interface{}) *gomock.Call

Exec indicates an expected call of Exec.

func (*MockHandlerMockRecorder) Load

func (mr *MockHandlerMockRecorder) Load(arg0 interface{}) *gomock.Call

Load indicates an expected call of Load.

func (*MockHandlerMockRecorder) New

func (mr *MockHandlerMockRecorder) New(arg0 interface{}) *gomock.Call

New indicates an expected call of New.

func (*MockHandlerMockRecorder) Parse

func (mr *MockHandlerMockRecorder) Parse(arg0, arg1, arg2 interface{}) *gomock.Call

Parse indicates an expected call of Parse.

type MockTemplate

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

MockTemplate is a mock of Template interface.

func NewMockTemplate

func NewMockTemplate(ctrl *gomock.Controller) *MockTemplate

NewMockTemplate creates a new mock instance.

func (*MockTemplate) BaseGas

func (m *MockTemplate) BaseGas(arg0 byte) uint64

BaseGas mocks base method.

func (*MockTemplate) EXPECT

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

func (*MockTemplate) EncodeScale

func (m *MockTemplate) EncodeScale(arg0 *scale.Encoder) (int, error)

EncodeScale mocks base method.

func (*MockTemplate) ExecGas

func (m *MockTemplate) ExecGas(arg0 byte) uint64

ExecGas mocks base method.

func (*MockTemplate) LoadGas

func (m *MockTemplate) LoadGas() uint64

LoadGas mocks base method.

func (*MockTemplate) MaxSpend

func (m *MockTemplate) MaxSpend(arg0 byte, arg1 interface{}) (uint64, error)

MaxSpend mocks base method.

func (*MockTemplate) Verify

func (m *MockTemplate) Verify(arg0 core.Host, arg1 []byte, arg2 *scale.Decoder) bool

Verify mocks base method.

type MockTemplateMockRecorder

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

MockTemplateMockRecorder is the mock recorder for MockTemplate.

func (*MockTemplateMockRecorder) BaseGas

func (mr *MockTemplateMockRecorder) BaseGas(arg0 interface{}) *gomock.Call

BaseGas indicates an expected call of BaseGas.

func (*MockTemplateMockRecorder) EncodeScale

func (mr *MockTemplateMockRecorder) EncodeScale(arg0 interface{}) *gomock.Call

EncodeScale indicates an expected call of EncodeScale.

func (*MockTemplateMockRecorder) ExecGas

func (mr *MockTemplateMockRecorder) ExecGas(arg0 interface{}) *gomock.Call

ExecGas indicates an expected call of ExecGas.

func (*MockTemplateMockRecorder) LoadGas

func (mr *MockTemplateMockRecorder) LoadGas() *gomock.Call

LoadGas indicates an expected call of LoadGas.

func (*MockTemplateMockRecorder) MaxSpend

func (mr *MockTemplateMockRecorder) MaxSpend(arg0, arg1 interface{}) *gomock.Call

MaxSpend indicates an expected call of MaxSpend.

func (*MockTemplateMockRecorder) Verify

func (mr *MockTemplateMockRecorder) Verify(arg0, arg1, arg2 interface{}) *gomock.Call

Verify indicates an expected call of Verify.

Jump to

Keyboard shortcuts

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