testutil

package
v3.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package testutil is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBothanClient

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

MockBothanClient is a mock of BothanClient interface.

func NewMockBothanClient

func NewMockBothanClient(ctrl *gomock.Controller) *MockBothanClient

NewMockBothanClient creates a new mock instance.

func (*MockBothanClient) EXPECT

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

func (*MockBothanClient) GetInfo

func (m *MockBothanClient) GetInfo() (*proto.GetInfoResponse, error)

GetInfo mocks base method.

func (*MockBothanClient) GetPrices

func (m *MockBothanClient) GetPrices(signalIDs []string) (*proto.GetPricesResponse, error)

GetPrices mocks base method.

func (*MockBothanClient) PushMonitoringRecords

func (m *MockBothanClient) PushMonitoringRecords(uuid, txHash string) error

PushMonitoringRecords mocks base method.

func (*MockBothanClient) UpdateRegistry

func (m *MockBothanClient) UpdateRegistry(ipfsHash, version string) error

UpdateRegistry mocks base method.

type MockBothanClientMockRecorder

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

MockBothanClientMockRecorder is the mock recorder for MockBothanClient.

func (*MockBothanClientMockRecorder) GetInfo

func (mr *MockBothanClientMockRecorder) GetInfo() *gomock.Call

GetInfo indicates an expected call of GetInfo.

func (*MockBothanClientMockRecorder) GetPrices

func (mr *MockBothanClientMockRecorder) GetPrices(signalIDs any) *gomock.Call

GetPrices indicates an expected call of GetPrices.

func (*MockBothanClientMockRecorder) PushMonitoringRecords

func (mr *MockBothanClientMockRecorder) PushMonitoringRecords(uuid, txHash any) *gomock.Call

PushMonitoringRecords indicates an expected call of PushMonitoringRecords.

func (*MockBothanClientMockRecorder) UpdateRegistry

func (mr *MockBothanClientMockRecorder) UpdateRegistry(ipfsHash, version any) *gomock.Call

UpdateRegistry indicates an expected call of UpdateRegistry.

type MockFeedQuerier

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

MockFeedQuerier is a mock of FeedQuerier interface.

func NewMockFeedQuerier

func NewMockFeedQuerier(ctrl *gomock.Controller) *MockFeedQuerier

NewMockFeedQuerier creates a new mock instance.

func (*MockFeedQuerier) EXPECT

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

func (*MockFeedQuerier) QueryCurrentFeeds

func (m *MockFeedQuerier) QueryCurrentFeeds() (*types.QueryCurrentFeedsResponse, error)

QueryCurrentFeeds mocks base method.

func (*MockFeedQuerier) QueryParams

func (m *MockFeedQuerier) QueryParams() (*types.QueryParamsResponse, error)

QueryParams mocks base method.

func (*MockFeedQuerier) QueryValidValidator

func (m *MockFeedQuerier) QueryValidValidator(valAddress types0.ValAddress) (*types.QueryValidValidatorResponse, error)

QueryValidValidator mocks base method.

func (*MockFeedQuerier) QueryValidatorPrices

func (m *MockFeedQuerier) QueryValidatorPrices(valAddress types0.ValAddress) (*types.QueryValidatorPricesResponse, error)

QueryValidatorPrices mocks base method.

type MockFeedQuerierMockRecorder

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

MockFeedQuerierMockRecorder is the mock recorder for MockFeedQuerier.

func (*MockFeedQuerierMockRecorder) QueryCurrentFeeds

func (mr *MockFeedQuerierMockRecorder) QueryCurrentFeeds() *gomock.Call

QueryCurrentFeeds indicates an expected call of QueryCurrentFeeds.

func (*MockFeedQuerierMockRecorder) QueryParams

func (mr *MockFeedQuerierMockRecorder) QueryParams() *gomock.Call

QueryParams indicates an expected call of QueryParams.

func (*MockFeedQuerierMockRecorder) QueryValidValidator

func (mr *MockFeedQuerierMockRecorder) QueryValidValidator(valAddress any) *gomock.Call

QueryValidValidator indicates an expected call of QueryValidValidator.

func (*MockFeedQuerierMockRecorder) QueryValidatorPrices

func (mr *MockFeedQuerierMockRecorder) QueryValidatorPrices(valAddress any) *gomock.Call

QueryValidatorPrices indicates an expected call of QueryValidatorPrices.

Jump to

Keyboard shortcuts

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