mocks

package
v0.77.4 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: AGPL-3.0 Imports: 7 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.

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 MockEthCallEngine

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

MockEthCallEngine is a mock of EthCallEngine interface.

func NewMockEthCallEngine

func NewMockEthCallEngine(ctrl *gomock.Controller) *MockEthCallEngine

NewMockEthCallEngine creates a new mock instance.

func (*MockEthCallEngine) CallSpec

func (m *MockEthCallEngine) CallSpec(arg0 context.Context, arg1 string, arg2 uint64) (ethcall.Result, error)

CallSpec mocks base method.

func (*MockEthCallEngine) EXPECT

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

func (*MockEthCallEngine) GetEthTime

func (m *MockEthCallEngine) GetEthTime(arg0 context.Context, arg1 uint64) (uint64, error)

GetEthTime mocks base method.

func (*MockEthCallEngine) GetInitialTriggerTime

func (m *MockEthCallEngine) GetInitialTriggerTime(arg0 string) (uint64, error)

GetInitialTriggerTime mocks base method.

func (*MockEthCallEngine) GetRequiredConfirmations

func (m *MockEthCallEngine) GetRequiredConfirmations(arg0 string) (uint64, error)

GetRequiredConfirmations mocks base method.

func (*MockEthCallEngine) MakeResult

func (m *MockEthCallEngine) MakeResult(arg0 string, arg1 []byte) (ethcall.Result, error)

MakeResult mocks base method.

func (*MockEthCallEngine) Start

func (m *MockEthCallEngine) Start()

Start mocks base method.

func (*MockEthCallEngine) StartAtHeight

func (m *MockEthCallEngine) StartAtHeight(arg0, arg1 uint64)

StartAtHeight mocks base method.

type MockEthCallEngineMockRecorder

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

MockEthCallEngineMockRecorder is the mock recorder for MockEthCallEngine.

func (*MockEthCallEngineMockRecorder) CallSpec

func (mr *MockEthCallEngineMockRecorder) CallSpec(arg0, arg1, arg2 interface{}) *gomock.Call

CallSpec indicates an expected call of CallSpec.

func (*MockEthCallEngineMockRecorder) GetEthTime

func (mr *MockEthCallEngineMockRecorder) GetEthTime(arg0, arg1 interface{}) *gomock.Call

GetEthTime indicates an expected call of GetEthTime.

func (*MockEthCallEngineMockRecorder) GetInitialTriggerTime

func (mr *MockEthCallEngineMockRecorder) GetInitialTriggerTime(arg0 interface{}) *gomock.Call

GetInitialTriggerTime indicates an expected call of GetInitialTriggerTime.

func (*MockEthCallEngineMockRecorder) GetRequiredConfirmations

func (mr *MockEthCallEngineMockRecorder) GetRequiredConfirmations(arg0 interface{}) *gomock.Call

GetRequiredConfirmations indicates an expected call of GetRequiredConfirmations.

func (*MockEthCallEngineMockRecorder) MakeResult

func (mr *MockEthCallEngineMockRecorder) MakeResult(arg0, arg1 interface{}) *gomock.Call

MakeResult indicates an expected call of MakeResult.

func (*MockEthCallEngineMockRecorder) Start

Start indicates an expected call of Start.

func (*MockEthCallEngineMockRecorder) StartAtHeight

func (mr *MockEthCallEngineMockRecorder) StartAtHeight(arg0, arg1 interface{}) *gomock.Call

StartAtHeight indicates an expected call of StartAtHeight.

type MockEthereumConfirmations

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

MockEthereumConfirmations is a mock of EthereumConfirmations interface.

func NewMockEthereumConfirmations

func NewMockEthereumConfirmations(ctrl *gomock.Controller) *MockEthereumConfirmations

NewMockEthereumConfirmations creates a new mock instance.

func (*MockEthereumConfirmations) Check added in v0.75.0

func (m *MockEthereumConfirmations) Check(arg0 uint64) error

Check mocks base method.

func (*MockEthereumConfirmations) CheckRequiredConfirmations

func (m *MockEthereumConfirmations) CheckRequiredConfirmations(arg0, arg1 uint64) error

CheckRequiredConfirmations mocks base method.

func (*MockEthereumConfirmations) EXPECT

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

func (*MockEthereumConfirmations) GetConfirmations added in v0.75.0

func (m *MockEthereumConfirmations) GetConfirmations() uint64

GetConfirmations mocks base method.

type MockEthereumConfirmationsMockRecorder

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

MockEthereumConfirmationsMockRecorder is the mock recorder for MockEthereumConfirmations.

func (*MockEthereumConfirmationsMockRecorder) Check added in v0.75.0

func (mr *MockEthereumConfirmationsMockRecorder) Check(arg0 interface{}) *gomock.Call

Check indicates an expected call of Check.

func (*MockEthereumConfirmationsMockRecorder) CheckRequiredConfirmations

func (mr *MockEthereumConfirmationsMockRecorder) CheckRequiredConfirmations(arg0, arg1 interface{}) *gomock.Call

CheckRequiredConfirmations indicates an expected call of CheckRequiredConfirmations.

func (*MockEthereumConfirmationsMockRecorder) GetConfirmations added in v0.75.0

func (mr *MockEthereumConfirmationsMockRecorder) GetConfirmations() *gomock.Call

GetConfirmations indicates an expected call of GetConfirmations.

type MockOracleDataBroadcaster

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

MockOracleDataBroadcaster is a mock of OracleDataBroadcaster interface.

func NewMockOracleDataBroadcaster

func NewMockOracleDataBroadcaster(ctrl *gomock.Controller) *MockOracleDataBroadcaster

NewMockOracleDataBroadcaster creates a new mock instance.

func (*MockOracleDataBroadcaster) BroadcastData

func (m *MockOracleDataBroadcaster) BroadcastData(arg0 context.Context, arg1 common.Data) error

BroadcastData mocks base method.

func (*MockOracleDataBroadcaster) EXPECT

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

type MockOracleDataBroadcasterMockRecorder

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

MockOracleDataBroadcasterMockRecorder is the mock recorder for MockOracleDataBroadcaster.

func (*MockOracleDataBroadcasterMockRecorder) BroadcastData

func (mr *MockOracleDataBroadcasterMockRecorder) BroadcastData(arg0, arg1 interface{}) *gomock.Call

BroadcastData indicates an expected call of BroadcastData.

type MockResult

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

MockResult is a mock of Result interface.

func NewMockResult

func NewMockResult(ctrl *gomock.Controller) *MockResult

NewMockResult creates a new mock instance.

func (*MockResult) Bytes

func (m *MockResult) Bytes() []byte

Bytes mocks base method.

func (*MockResult) EXPECT

func (m *MockResult) EXPECT() *MockResultMockRecorder

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

func (*MockResult) HasRequiredConfirmations

func (m *MockResult) HasRequiredConfirmations() bool

HasRequiredConfirmations mocks base method.

func (*MockResult) Normalised

func (m *MockResult) Normalised() (map[string]string, error)

Normalised mocks base method.

func (*MockResult) PassesFilters

func (m *MockResult) PassesFilters() (bool, error)

PassesFilters mocks base method.

func (*MockResult) Values

func (m *MockResult) Values() ([]interface{}, error)

Values mocks base method.

type MockResultMockRecorder

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

MockResultMockRecorder is the mock recorder for MockResult.

func (*MockResultMockRecorder) Bytes

func (mr *MockResultMockRecorder) Bytes() *gomock.Call

Bytes indicates an expected call of Bytes.

func (*MockResultMockRecorder) HasRequiredConfirmations

func (mr *MockResultMockRecorder) HasRequiredConfirmations() *gomock.Call

HasRequiredConfirmations indicates an expected call of HasRequiredConfirmations.

func (*MockResultMockRecorder) Normalised

func (mr *MockResultMockRecorder) Normalised() *gomock.Call

Normalised indicates an expected call of Normalised.

func (*MockResultMockRecorder) PassesFilters

func (mr *MockResultMockRecorder) PassesFilters() *gomock.Call

PassesFilters indicates an expected call of PassesFilters.

func (*MockResultMockRecorder) Values

func (mr *MockResultMockRecorder) Values() *gomock.Call

Values indicates an expected call of Values.

type MockTimeService

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

MockTimeService is a mock of TimeService interface.

func NewMockTimeService

func NewMockTimeService(ctrl *gomock.Controller) *MockTimeService

NewMockTimeService creates a new mock instance.

func (*MockTimeService) EXPECT

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

func (*MockTimeService) GetTimeNow

func (m *MockTimeService) GetTimeNow() time.Time

GetTimeNow mocks base method.

type MockTimeServiceMockRecorder

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

MockTimeServiceMockRecorder is the mock recorder for MockTimeService.

func (*MockTimeServiceMockRecorder) GetTimeNow

func (mr *MockTimeServiceMockRecorder) GetTimeNow() *gomock.Call

GetTimeNow indicates an expected call of GetTimeNow.

type MockWitness

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

MockWitness is a mock of Witness interface.

func NewMockWitness

func NewMockWitness(ctrl *gomock.Controller) *MockWitness

NewMockWitness creates a new mock instance.

func (*MockWitness) EXPECT

func (m *MockWitness) EXPECT() *MockWitnessMockRecorder

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

func (*MockWitness) RestoreResource

func (m *MockWitness) RestoreResource(arg0 validators.Resource, arg1 func(interface{}, bool)) error

RestoreResource mocks base method.

func (*MockWitness) StartCheckWithDelay added in v0.73.6

func (m *MockWitness) StartCheckWithDelay(arg0 validators.Resource, arg1 func(interface{}, bool), arg2 time.Time, arg3 int64) error

StartCheckWithDelay mocks base method.

type MockWitnessMockRecorder

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

MockWitnessMockRecorder is the mock recorder for MockWitness.

func (*MockWitnessMockRecorder) RestoreResource

func (mr *MockWitnessMockRecorder) RestoreResource(arg0, arg1 interface{}) *gomock.Call

RestoreResource indicates an expected call of RestoreResource.

func (*MockWitnessMockRecorder) StartCheckWithDelay added in v0.73.6

func (mr *MockWitnessMockRecorder) StartCheckWithDelay(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

StartCheckWithDelay indicates an expected call of StartCheckWithDelay.

Jump to

Keyboard shortcuts

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