iotex-core: github.com/iotexproject/iotex-core/test/mock/mock_apiserviceclient Index | Files

package mock_apiserviceclient

import "github.com/iotexproject/iotex-core/test/mock/mock_apiserviceclient"

Package mock_apiserviceclient is a generated GoMock package.

Index

Package Files

mock_apiserviceclient.go

type MockServiceClient Uses

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

MockServiceClient is a mock of ServiceClient interface

func NewMockServiceClient Uses

func NewMockServiceClient(ctrl *gomock.Controller) *MockServiceClient

NewMockServiceClient creates a new mock instance

func (*MockServiceClient) EXPECT Uses

func (m *MockServiceClient) EXPECT() *MockServiceClientMockRecorder

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

func (*MockServiceClient) EstimateGasForAction Uses

func (m *MockServiceClient) EstimateGasForAction(ctx context.Context, in *iotexapi.EstimateGasForActionRequest, opts ...grpc.CallOption) (*iotexapi.EstimateGasForActionResponse, error)

EstimateGasForAction mocks base method

func (*MockServiceClient) GetAccount Uses

func (m *MockServiceClient) GetAccount(ctx context.Context, in *iotexapi.GetAccountRequest, opts ...grpc.CallOption) (*iotexapi.GetAccountResponse, error)

GetAccount mocks base method

func (*MockServiceClient) GetActions Uses

func (m *MockServiceClient) GetActions(ctx context.Context, in *iotexapi.GetActionsRequest, opts ...grpc.CallOption) (*iotexapi.GetActionsResponse, error)

GetActions mocks base method

func (*MockServiceClient) GetBlockMetas Uses

func (m *MockServiceClient) GetBlockMetas(ctx context.Context, in *iotexapi.GetBlockMetasRequest, opts ...grpc.CallOption) (*iotexapi.GetBlockMetasResponse, error)

GetBlockMetas mocks base method

func (*MockServiceClient) GetChainMeta Uses

func (m *MockServiceClient) GetChainMeta(ctx context.Context, in *iotexapi.GetChainMetaRequest, opts ...grpc.CallOption) (*iotexapi.GetChainMetaResponse, error)

GetChainMeta mocks base method

func (*MockServiceClient) GetEpochMeta Uses

func (m *MockServiceClient) GetEpochMeta(ctx context.Context, in *iotexapi.GetEpochMetaRequest, opts ...grpc.CallOption) (*iotexapi.GetEpochMetaResponse, error)

GetEpochMeta mocks base method

func (*MockServiceClient) GetLogs Uses

func (m *MockServiceClient) GetLogs(ctx context.Context, in *iotexapi.GetLogsRequest, opts ...grpc.CallOption) (*iotexapi.GetLogsResponse, error)

GetLogs mocks base method

func (*MockServiceClient) GetRawBlocks Uses

func (m *MockServiceClient) GetRawBlocks(ctx context.Context, in *iotexapi.GetRawBlocksRequest, opts ...grpc.CallOption) (*iotexapi.GetRawBlocksResponse, error)

GetRawBlocks mocks base method

func (*MockServiceClient) GetReceiptByAction Uses

func (m *MockServiceClient) GetReceiptByAction(ctx context.Context, in *iotexapi.GetReceiptByActionRequest, opts ...grpc.CallOption) (*iotexapi.GetReceiptByActionResponse, error)

GetReceiptByAction mocks base method

func (*MockServiceClient) GetServerMeta Uses

func (m *MockServiceClient) GetServerMeta(ctx context.Context, in *iotexapi.GetServerMetaRequest, opts ...grpc.CallOption) (*iotexapi.GetServerMetaResponse, error)

GetServerMeta mocks base method

func (*MockServiceClient) ReadContract Uses

func (m *MockServiceClient) ReadContract(ctx context.Context, in *iotexapi.ReadContractRequest, opts ...grpc.CallOption) (*iotexapi.ReadContractResponse, error)

ReadContract mocks base method

func (*MockServiceClient) ReadState Uses

func (m *MockServiceClient) ReadState(ctx context.Context, in *iotexapi.ReadStateRequest, opts ...grpc.CallOption) (*iotexapi.ReadStateResponse, error)

ReadState mocks base method

func (*MockServiceClient) SendAction Uses

func (m *MockServiceClient) SendAction(ctx context.Context, in *iotexapi.SendActionRequest, opts ...grpc.CallOption) (*iotexapi.SendActionResponse, error)

SendAction mocks base method

func (*MockServiceClient) StreamBlocks Uses

func (m *MockServiceClient) StreamBlocks(ctx context.Context, in *iotexapi.StreamBlocksRequest, opts ...grpc.CallOption) (iotexapi.APIService_StreamBlocksClient, error)

StreamBlocks mocks base method

func (*MockServiceClient) StreamLogs Uses

func (m *MockServiceClient) StreamLogs(ctx context.Context, in *iotexapi.StreamLogsRequest, opts ...grpc.CallOption) (iotexapi.APIService_StreamLogsClient, error)

StreamLogs mocks base method

func (*MockServiceClient) SuggestGasPrice Uses

func (m *MockServiceClient) SuggestGasPrice(ctx context.Context, in *iotexapi.SuggestGasPriceRequest, opts ...grpc.CallOption) (*iotexapi.SuggestGasPriceResponse, error)

SuggestGasPrice mocks base method

type MockServiceClientMockRecorder Uses

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

MockServiceClientMockRecorder is the mock recorder for MockServiceClient

func (*MockServiceClientMockRecorder) EstimateGasForAction Uses

func (mr *MockServiceClientMockRecorder) EstimateGasForAction(ctx, in interface{}, opts ...interface{}) *gomock.Call

EstimateGasForAction indicates an expected call of EstimateGasForAction

func (*MockServiceClientMockRecorder) GetAccount Uses

func (mr *MockServiceClientMockRecorder) GetAccount(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount

func (*MockServiceClientMockRecorder) GetActions Uses

func (mr *MockServiceClientMockRecorder) GetActions(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetActions indicates an expected call of GetActions

func (*MockServiceClientMockRecorder) GetBlockMetas Uses

func (mr *MockServiceClientMockRecorder) GetBlockMetas(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetBlockMetas indicates an expected call of GetBlockMetas

func (*MockServiceClientMockRecorder) GetChainMeta Uses

func (mr *MockServiceClientMockRecorder) GetChainMeta(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetChainMeta indicates an expected call of GetChainMeta

func (*MockServiceClientMockRecorder) GetEpochMeta Uses

func (mr *MockServiceClientMockRecorder) GetEpochMeta(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetEpochMeta indicates an expected call of GetEpochMeta

func (*MockServiceClientMockRecorder) GetLogs Uses

func (mr *MockServiceClientMockRecorder) GetLogs(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetLogs indicates an expected call of GetLogs

func (*MockServiceClientMockRecorder) GetRawBlocks Uses

func (mr *MockServiceClientMockRecorder) GetRawBlocks(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetRawBlocks indicates an expected call of GetRawBlocks

func (*MockServiceClientMockRecorder) GetReceiptByAction Uses

func (mr *MockServiceClientMockRecorder) GetReceiptByAction(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetReceiptByAction indicates an expected call of GetReceiptByAction

func (*MockServiceClientMockRecorder) GetServerMeta Uses

func (mr *MockServiceClientMockRecorder) GetServerMeta(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetServerMeta indicates an expected call of GetServerMeta

func (*MockServiceClientMockRecorder) ReadContract Uses

func (mr *MockServiceClientMockRecorder) ReadContract(ctx, in interface{}, opts ...interface{}) *gomock.Call

ReadContract indicates an expected call of ReadContract

func (*MockServiceClientMockRecorder) ReadState Uses

func (mr *MockServiceClientMockRecorder) ReadState(ctx, in interface{}, opts ...interface{}) *gomock.Call

ReadState indicates an expected call of ReadState

func (*MockServiceClientMockRecorder) SendAction Uses

func (mr *MockServiceClientMockRecorder) SendAction(ctx, in interface{}, opts ...interface{}) *gomock.Call

SendAction indicates an expected call of SendAction

func (*MockServiceClientMockRecorder) StreamBlocks Uses

func (mr *MockServiceClientMockRecorder) StreamBlocks(ctx, in interface{}, opts ...interface{}) *gomock.Call

StreamBlocks indicates an expected call of StreamBlocks

func (*MockServiceClientMockRecorder) StreamLogs Uses

func (mr *MockServiceClientMockRecorder) StreamLogs(ctx, in interface{}, opts ...interface{}) *gomock.Call

StreamLogs indicates an expected call of StreamLogs

func (*MockServiceClientMockRecorder) SuggestGasPrice Uses

func (mr *MockServiceClientMockRecorder) SuggestGasPrice(ctx, in interface{}, opts ...interface{}) *gomock.Call

SuggestGasPrice indicates an expected call of SuggestGasPrice

Package mock_apiserviceclient imports 5 packages (graph). Updated 2019-07-12. Refresh now. Tools for package owners.