mock

package
v0.0.0-...-0ff5682 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: internal/core/processor/universal/processor.go

Generated by this command:

mockgen -source=internal/core/processor/universal/processor.go -destination=internal/core/processor/universal/mock/processor.go -package=mock

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProcessor

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

MockProcessor is a mock of Processor interface.

func NewMockProcessor

func NewMockProcessor(ctrl *gomock.Controller) *MockProcessor

NewMockProcessor creates a new mock instance.

func (*MockProcessor) EXPECT

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

func (*MockProcessor) GetInitStartingBlock

func (m *MockProcessor) GetInitStartingBlock(ctx context.Context) (uint64, error)

GetInitStartingBlock mocks base method.

func (*MockProcessor) GetLastBlock

func (m *MockProcessor) GetLastBlock(ctx context.Context, startingBlock uint64) (uint64, error)

GetLastBlock mocks base method.

func (*MockProcessor) IsEvoSyncedWithOwnership

func (m *MockProcessor) IsEvoSyncedWithOwnership(ctx context.Context, lastOwnershipBlock uint64) (bool, error)

IsEvoSyncedWithOwnership mocks base method.

func (*MockProcessor) ProcessUniversalBlockRange

func (m *MockProcessor) ProcessUniversalBlockRange(ctx context.Context, startingBlock, lastBlock uint64) error

ProcessUniversalBlockRange mocks base method.

func (*MockProcessor) RecoverFromReorg

func (m *MockProcessor) RecoverFromReorg(ctx context.Context, startingBlock uint64) (*model.Block, error)

RecoverFromReorg mocks base method.

type MockProcessorMockRecorder

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

MockProcessorMockRecorder is the mock recorder for MockProcessor.

func (*MockProcessorMockRecorder) GetInitStartingBlock

func (mr *MockProcessorMockRecorder) GetInitStartingBlock(ctx any) *gomock.Call

GetInitStartingBlock indicates an expected call of GetInitStartingBlock.

func (*MockProcessorMockRecorder) GetLastBlock

func (mr *MockProcessorMockRecorder) GetLastBlock(ctx, startingBlock any) *gomock.Call

GetLastBlock indicates an expected call of GetLastBlock.

func (*MockProcessorMockRecorder) IsEvoSyncedWithOwnership

func (mr *MockProcessorMockRecorder) IsEvoSyncedWithOwnership(ctx, lastOwnershipBlock any) *gomock.Call

IsEvoSyncedWithOwnership indicates an expected call of IsEvoSyncedWithOwnership.

func (*MockProcessorMockRecorder) ProcessUniversalBlockRange

func (mr *MockProcessorMockRecorder) ProcessUniversalBlockRange(ctx, startingBlock, lastBlock any) *gomock.Call

ProcessUniversalBlockRange indicates an expected call of ProcessUniversalBlockRange.

func (*MockProcessorMockRecorder) RecoverFromReorg

func (mr *MockProcessorMockRecorder) RecoverFromReorg(ctx, startingBlock any) *gomock.Call

RecoverFromReorg indicates an expected call of RecoverFromReorg.

Jump to

Keyboard shortcuts

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