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: 5 Imported by: 0

Documentation

Overview

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

Generated by this command:

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

Package mock is a generated GoMock package.

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

Generated by this command:

mockgen -source=internal/core/processor/evolution/processor.go -destination=internal/core/processor/evolution/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 MockHTTPClient

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

MockHTTPClient is a mock of HTTPClient interface.

func NewMockHTTPClient

func NewMockHTTPClient(ctrl *gomock.Controller) *MockHTTPClient

NewMockHTTPClient creates a new mock instance.

func (*MockHTTPClient) Do

func (m *MockHTTPClient) Do(req *http.Request) (*http.Response, error)

Do mocks base method.

func (*MockHTTPClient) EXPECT

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

type MockHTTPClientMockRecorder

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

MockHTTPClientMockRecorder is the mock recorder for MockHTTPClient.

func (*MockHTTPClientMockRecorder) Do

Do indicates an expected call of Do.

type MockLaosRPCRequests

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

MockLaosRPCRequests is a mock of LaosRPCRequests interface.

func NewMockLaosRPCRequests

func NewMockLaosRPCRequests(ctrl *gomock.Controller) *MockLaosRPCRequests

NewMockLaosRPCRequests creates a new mock instance.

func (*MockLaosRPCRequests) BlockNumber

func (m *MockLaosRPCRequests) BlockNumber(blockHash string) (*big.Int, error)

BlockNumber mocks base method.

func (*MockLaosRPCRequests) EXPECT

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

func (*MockLaosRPCRequests) LatestFinalizedBlockHash

func (m *MockLaosRPCRequests) LatestFinalizedBlockHash() (string, error)

LatestFinalizedBlockHash mocks base method.

type MockLaosRPCRequestsMockRecorder

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

MockLaosRPCRequestsMockRecorder is the mock recorder for MockLaosRPCRequests.

func (*MockLaosRPCRequestsMockRecorder) BlockNumber

func (mr *MockLaosRPCRequestsMockRecorder) BlockNumber(blockHash any) *gomock.Call

BlockNumber indicates an expected call of BlockNumber.

func (*MockLaosRPCRequestsMockRecorder) LatestFinalizedBlockHash

func (mr *MockLaosRPCRequestsMockRecorder) LatestFinalizedBlockHash() *gomock.Call

LatestFinalizedBlockHash indicates an expected call of LatestFinalizedBlockHash.

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

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

ProcessEvoBlockRange mocks base method.

func (*MockProcessor) VerifyChainConsistency

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

VerifyChainConsistency 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) ProcessEvoBlockRange

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

ProcessEvoBlockRange indicates an expected call of ProcessEvoBlockRange.

func (*MockProcessorMockRecorder) VerifyChainConsistency

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

VerifyChainConsistency indicates an expected call of VerifyChainConsistency.

Jump to

Keyboard shortcuts

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