Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAccountUpdater
- type MockAccountUpdaterMockRecorder
- type MockHandler
- func (m *MockHandler) Args(arg0 byte) scale.Type
- func (m *MockHandler) EXPECT() *MockHandlerMockRecorder
- func (m *MockHandler) Exec(arg0 core.Host, arg1 byte, arg2 scale.Encodable) error
- func (m *MockHandler) Load(arg0 []byte) (core.Template, error)
- func (m *MockHandler) New(arg0 interface{}) (core.Template, error)
- func (m *MockHandler) Parse(arg0 core.Host, arg1 byte, arg2 *scale.Decoder) (core.ParseOutput, error)
- type MockHandlerMockRecorder
- func (mr *MockHandlerMockRecorder) Args(arg0 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) Exec(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) Load(arg0 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) New(arg0 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) Parse(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockTemplate
- func (m *MockTemplate) BaseGas(arg0 byte) uint64
- func (m *MockTemplate) EXPECT() *MockTemplateMockRecorder
- func (m *MockTemplate) EncodeScale(arg0 *scale.Encoder) (int, error)
- func (m *MockTemplate) ExecGas(arg0 byte) uint64
- func (m *MockTemplate) LoadGas() uint64
- func (m *MockTemplate) MaxSpend(arg0 byte, arg1 interface{}) (uint64, error)
- func (m *MockTemplate) Verify(arg0 core.Host, arg1 []byte, arg2 *scale.Decoder) bool
- type MockTemplateMockRecorder
- func (mr *MockTemplateMockRecorder) BaseGas(arg0 interface{}) *gomock.Call
- func (mr *MockTemplateMockRecorder) EncodeScale(arg0 interface{}) *gomock.Call
- func (mr *MockTemplateMockRecorder) ExecGas(arg0 interface{}) *gomock.Call
- func (mr *MockTemplateMockRecorder) LoadGas() *gomock.Call
- func (mr *MockTemplateMockRecorder) MaxSpend(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTemplateMockRecorder) Verify(arg0, arg1, arg2 interface{}) *gomock.Call
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 ¶
func (m *MockAccountUpdater) EXPECT() *MockAccountUpdaterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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) EXPECT ¶
func (m *MockHandler) EXPECT() *MockHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHandler) Load ¶
func (m *MockHandler) Load(arg0 []byte) (core.Template, error)
Load 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 ¶
func (m *MockTemplate) EXPECT() *MockTemplateMockRecorder
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.
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.