mock

package
v0.29.6 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessAPIClient

type AccessAPIClient struct {
	mock.Mock
}

AccessAPIClient is an autogenerated mock type for the AccessAPIClient type

func NewAccessAPIClient

func NewAccessAPIClient(t mockConstructorTestingTNewAccessAPIClient) *AccessAPIClient

NewAccessAPIClient creates a new instance of AccessAPIClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*AccessAPIClient) ExecuteScriptAtBlockHeight

ExecuteScriptAtBlockHeight provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) ExecuteScriptAtBlockID

ExecuteScriptAtBlockID provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) ExecuteScriptAtLatestBlock

ExecuteScriptAtLatestBlock provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetAccount

GetAccount provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetAccountAtBlockHeight

GetAccountAtBlockHeight provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetAccountAtLatestBlock

GetAccountAtLatestBlock provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetBlockByHeight

GetBlockByHeight provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetBlockByID

GetBlockByID provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetBlockHeaderByHeight

GetBlockHeaderByHeight provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetBlockHeaderByID

GetBlockHeaderByID provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetCollectionByID

GetCollectionByID provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetEventsForBlockIDs

GetEventsForBlockIDs provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetEventsForHeightRange

GetEventsForHeightRange provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetExecutionResultForBlockID

GetExecutionResultForBlockID provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetLatestBlock

GetLatestBlock provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetLatestBlockHeader

GetLatestBlockHeader provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetLatestProtocolStateSnapshot

GetLatestProtocolStateSnapshot provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetNetworkParameters

GetNetworkParameters provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetTransaction

GetTransaction provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetTransactionResult

GetTransactionResult provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetTransactionResultByIndex

GetTransactionResultByIndex provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetTransactionResultsByBlockID

GetTransactionResultsByBlockID provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetTransactionsByBlockID

GetTransactionsByBlockID provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) Ping

Ping provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) SendTransaction

SendTransaction provides a mock function with given fields: ctx, in, opts

type AccessAPIServer

type AccessAPIServer struct {
	mock.Mock
}

AccessAPIServer is an autogenerated mock type for the AccessAPIServer type

func NewAccessAPIServer

func NewAccessAPIServer(t mockConstructorTestingTNewAccessAPIServer) *AccessAPIServer

NewAccessAPIServer creates a new instance of AccessAPIServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*AccessAPIServer) ExecuteScriptAtBlockHeight

ExecuteScriptAtBlockHeight provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) ExecuteScriptAtBlockID

ExecuteScriptAtBlockID provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) ExecuteScriptAtLatestBlock

ExecuteScriptAtLatestBlock provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetAccount

GetAccount provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetAccountAtBlockHeight

GetAccountAtBlockHeight provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetAccountAtLatestBlock

GetAccountAtLatestBlock provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetBlockByHeight

GetBlockByHeight provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetBlockByID

GetBlockByID provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetBlockHeaderByHeight

GetBlockHeaderByHeight provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetBlockHeaderByID

GetBlockHeaderByID provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetCollectionByID

GetCollectionByID provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetEventsForBlockIDs

GetEventsForBlockIDs provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetEventsForHeightRange

GetEventsForHeightRange provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetExecutionResultForBlockID

GetExecutionResultForBlockID provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetLatestBlock

GetLatestBlock provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetLatestBlockHeader

GetLatestBlockHeader provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetLatestProtocolStateSnapshot

GetLatestProtocolStateSnapshot provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetNetworkParameters

GetNetworkParameters provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetTransaction

GetTransaction provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetTransactionResult

GetTransactionResult provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetTransactionResultByIndex

GetTransactionResultByIndex provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetTransactionResultsByBlockID

GetTransactionResultsByBlockID provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetTransactionsByBlockID

GetTransactionsByBlockID provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) Ping

Ping provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) SendTransaction

SendTransaction provides a mock function with given fields: _a0, _a1

type ExecutionAPIClient

type ExecutionAPIClient struct {
	mock.Mock
}

ExecutionAPIClient is an autogenerated mock type for the ExecutionAPIClient type

func NewExecutionAPIClient

func NewExecutionAPIClient(t mockConstructorTestingTNewExecutionAPIClient) *ExecutionAPIClient

NewExecutionAPIClient creates a new instance of ExecutionAPIClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ExecutionAPIClient) ExecuteScriptAtBlockID

ExecuteScriptAtBlockID provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) GetAccountAtBlockID

GetAccountAtBlockID provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) GetBlockHeaderByID

GetBlockHeaderByID provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) GetEventsForBlockIDs

GetEventsForBlockIDs provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) GetLatestBlockHeader

GetLatestBlockHeader provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) GetRegisterAtBlockID

GetRegisterAtBlockID provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) GetTransactionResult

GetTransactionResult provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) GetTransactionResultByIndex

GetTransactionResultByIndex provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) GetTransactionResultsByBlockID

GetTransactionResultsByBlockID provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) Ping

Ping provides a mock function with given fields: ctx, in, opts

type ExecutionAPIServer

type ExecutionAPIServer struct {
	mock.Mock
}

ExecutionAPIServer is an autogenerated mock type for the ExecutionAPIServer type

func NewExecutionAPIServer

func NewExecutionAPIServer(t mockConstructorTestingTNewExecutionAPIServer) *ExecutionAPIServer

NewExecutionAPIServer creates a new instance of ExecutionAPIServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ExecutionAPIServer) ExecuteScriptAtBlockID

ExecuteScriptAtBlockID provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) GetAccountAtBlockID

GetAccountAtBlockID provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) GetBlockHeaderByID

GetBlockHeaderByID provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) GetEventsForBlockIDs

GetEventsForBlockIDs provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) GetLatestBlockHeader

GetLatestBlockHeader provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) GetRegisterAtBlockID

GetRegisterAtBlockID provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) GetTransactionResult

GetTransactionResult provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) GetTransactionResultByIndex

GetTransactionResultByIndex provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) GetTransactionResultsByBlockID

GetTransactionResultsByBlockID provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) Ping

Ping provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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