mock

package
v0.29.16 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 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 added in v0.26.1

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 added in v0.21.0

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 added in v0.14.4

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 added in v0.24.8

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

func (*AccessAPIClient) GetTransactionResultsByBlockID added in v0.24.11

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

func (*AccessAPIClient) GetTransactionsByBlockID added in v0.24.11

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 added in v0.14.6

type AccessAPIServer struct {
	mock.Mock
}

AccessAPIServer is an autogenerated mock type for the AccessAPIServer type

func NewAccessAPIServer added in v0.26.1

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 added in v0.14.6

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

func (*AccessAPIServer) ExecuteScriptAtBlockID added in v0.14.6

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

func (*AccessAPIServer) ExecuteScriptAtLatestBlock added in v0.14.6

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

func (*AccessAPIServer) GetAccount added in v0.14.6

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

func (*AccessAPIServer) GetAccountAtBlockHeight added in v0.14.6

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

func (*AccessAPIServer) GetAccountAtLatestBlock added in v0.14.6

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

func (*AccessAPIServer) GetBlockByHeight added in v0.14.6

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

func (*AccessAPIServer) GetBlockByID added in v0.14.6

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

func (*AccessAPIServer) GetBlockHeaderByHeight added in v0.14.6

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

func (*AccessAPIServer) GetBlockHeaderByID added in v0.14.6

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

func (*AccessAPIServer) GetCollectionByID added in v0.14.6

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

func (*AccessAPIServer) GetEventsForBlockIDs added in v0.14.6

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

func (*AccessAPIServer) GetEventsForHeightRange added in v0.14.6

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

func (*AccessAPIServer) GetExecutionResultForBlockID added in v0.21.0

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

func (*AccessAPIServer) GetLatestBlock added in v0.14.6

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

func (*AccessAPIServer) GetLatestBlockHeader added in v0.14.6

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

func (*AccessAPIServer) GetLatestProtocolStateSnapshot added in v0.14.6

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

func (*AccessAPIServer) GetNetworkParameters added in v0.14.6

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

func (*AccessAPIServer) GetTransaction added in v0.14.6

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

func (*AccessAPIServer) GetTransactionResult added in v0.14.6

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

func (*AccessAPIServer) GetTransactionResultByIndex added in v0.24.8

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

func (*AccessAPIServer) GetTransactionResultsByBlockID added in v0.24.11

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

func (*AccessAPIServer) GetTransactionsByBlockID added in v0.24.11

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

func (*AccessAPIServer) Ping added in v0.14.6

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

func (*AccessAPIServer) SendTransaction added in v0.14.6

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 added in v0.26.1

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 added in v0.23.1

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 added in v0.23.1

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

func (*ExecutionAPIClient) GetRegisterAtBlockID added in v0.23.1

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 added in v0.24.8

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

func (*ExecutionAPIClient) GetTransactionResultsByBlockID added in v0.24.11

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 added in v0.14.6

type ExecutionAPIServer struct {
	mock.Mock
}

ExecutionAPIServer is an autogenerated mock type for the ExecutionAPIServer type

func NewExecutionAPIServer added in v0.26.1

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 added in v0.14.6

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

func (*ExecutionAPIServer) GetAccountAtBlockID added in v0.14.6

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

func (*ExecutionAPIServer) GetBlockHeaderByID added in v0.23.1

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

func (*ExecutionAPIServer) GetEventsForBlockIDs added in v0.14.6

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

func (*ExecutionAPIServer) GetLatestBlockHeader added in v0.23.1

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

func (*ExecutionAPIServer) GetRegisterAtBlockID added in v0.23.1

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

func (*ExecutionAPIServer) GetTransactionResult added in v0.14.6

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

func (*ExecutionAPIServer) GetTransactionResultByIndex added in v0.24.8

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

func (*ExecutionAPIServer) GetTransactionResultsByBlockID added in v0.24.11

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

func (*ExecutionAPIServer) Ping added in v0.14.6

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