parsermocks

package
v0.0.0-...-ae0dd77 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package parsermocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockParser

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

MockParser is a mock of Parser interface.

func NewMockParser

func NewMockParser(ctrl *gomock.Controller) *MockParser

NewMockParser creates a new mock instance.

func (*MockParser) CompareNativeBlocks

func (m *MockParser) CompareNativeBlocks(arg0 context.Context, arg1 uint64, arg2, arg3 *chainstorage.NativeBlock) error

CompareNativeBlocks mocks base method.

func (*MockParser) EXPECT

func (m *MockParser) EXPECT() *MockParserMockRecorder

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

func (*MockParser) GetNativeTransaction

func (m *MockParser) GetNativeTransaction(arg0 context.Context, arg1 *chainstorage.NativeBlock, arg2 string) (*chainstorage.NativeTransaction, error)

GetNativeTransaction mocks base method.

func (*MockParser) ParseNativeBlock

func (m *MockParser) ParseNativeBlock(arg0 context.Context, arg1 *chainstorage.Block) (*chainstorage.NativeBlock, error)

ParseNativeBlock mocks base method.

func (*MockParser) ParseRosettaBlock

func (m *MockParser) ParseRosettaBlock(arg0 context.Context, arg1 *chainstorage.Block) (*chainstorage.RosettaBlock, error)

ParseRosettaBlock mocks base method.

func (*MockParser) ValidateAccountState

ValidateAccountState mocks base method.

func (*MockParser) ValidateBlock

func (m *MockParser) ValidateBlock(arg0 context.Context, arg1 *chainstorage.NativeBlock) error

ValidateBlock mocks base method.

func (*MockParser) ValidateRosettaBlock

ValidateRosettaBlock mocks base method.

type MockParserMockRecorder

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

MockParserMockRecorder is the mock recorder for MockParser.

func (*MockParserMockRecorder) CompareNativeBlocks

func (mr *MockParserMockRecorder) CompareNativeBlocks(arg0, arg1, arg2, arg3 any) *gomock.Call

CompareNativeBlocks indicates an expected call of CompareNativeBlocks.

func (*MockParserMockRecorder) GetNativeTransaction

func (mr *MockParserMockRecorder) GetNativeTransaction(arg0, arg1, arg2 any) *gomock.Call

GetNativeTransaction indicates an expected call of GetNativeTransaction.

func (*MockParserMockRecorder) ParseNativeBlock

func (mr *MockParserMockRecorder) ParseNativeBlock(arg0, arg1 any) *gomock.Call

ParseNativeBlock indicates an expected call of ParseNativeBlock.

func (*MockParserMockRecorder) ParseRosettaBlock

func (mr *MockParserMockRecorder) ParseRosettaBlock(arg0, arg1 any) *gomock.Call

ParseRosettaBlock indicates an expected call of ParseRosettaBlock.

func (*MockParserMockRecorder) ValidateAccountState

func (mr *MockParserMockRecorder) ValidateAccountState(arg0, arg1 any) *gomock.Call

ValidateAccountState indicates an expected call of ValidateAccountState.

func (*MockParserMockRecorder) ValidateBlock

func (mr *MockParserMockRecorder) ValidateBlock(arg0, arg1 any) *gomock.Call

ValidateBlock indicates an expected call of ValidateBlock.

func (*MockParserMockRecorder) ValidateRosettaBlock

func (mr *MockParserMockRecorder) ValidateRosettaBlock(arg0, arg1, arg2 any) *gomock.Call

ValidateRosettaBlock indicates an expected call of ValidateRosettaBlock.

Jump to

Keyboard shortcuts

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