mocks

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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 MockEmulator

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

MockEmulator is a mock of Emulator interface

func NewMockEmulator

func NewMockEmulator(ctrl *gomock.Controller) *MockEmulator

NewMockEmulator creates a new mock instance

func (*MockEmulator) AddTransaction

func (m *MockEmulator) AddTransaction(arg0 flow_go_sdk.Transaction) error

AddTransaction mocks base method

func (*MockEmulator) CommitBlock

func (m *MockEmulator) CommitBlock() (*flow.Block, error)

CommitBlock mocks base method

func (*MockEmulator) EXPECT

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

func (*MockEmulator) ExecuteAndCommitBlock

func (m *MockEmulator) ExecuteAndCommitBlock() (*flow.Block, []*types.TransactionResult, error)

ExecuteAndCommitBlock mocks base method

func (*MockEmulator) ExecuteBlock

func (m *MockEmulator) ExecuteBlock() ([]*types.TransactionResult, error)

ExecuteBlock mocks base method

func (*MockEmulator) ExecuteNextTransaction

func (m *MockEmulator) ExecuteNextTransaction() (*types.TransactionResult, error)

ExecuteNextTransaction mocks base method

func (*MockEmulator) ExecuteScript

func (m *MockEmulator) ExecuteScript(arg0 []byte, arg1 [][]byte) (*types.ScriptResult, error)

ExecuteScript mocks base method

func (*MockEmulator) ExecuteScriptAtBlock

func (m *MockEmulator) ExecuteScriptAtBlock(arg0 []byte, arg1 [][]byte, arg2 uint64) (*types.ScriptResult, error)

ExecuteScriptAtBlock mocks base method

func (*MockEmulator) GetAccount

func (m *MockEmulator) GetAccount(arg0 flow_go_sdk.Address) (*flow_go_sdk.Account, error)

GetAccount mocks base method

func (*MockEmulator) GetAccountAtBlock

func (m *MockEmulator) GetAccountAtBlock(arg0 flow_go_sdk.Address, arg1 uint64) (*flow_go_sdk.Account, error)

GetAccountAtBlock mocks base method

func (*MockEmulator) GetBlockByHeight

func (m *MockEmulator) GetBlockByHeight(arg0 uint64) (*flow.Block, error)

GetBlockByHeight mocks base method

func (*MockEmulator) GetBlockByID

func (m *MockEmulator) GetBlockByID(arg0 flow_go_sdk.Identifier) (*flow.Block, error)

GetBlockByID mocks base method

func (*MockEmulator) GetCollection

func (m *MockEmulator) GetCollection(arg0 flow_go_sdk.Identifier) (*flow_go_sdk.Collection, error)

GetCollection mocks base method

func (*MockEmulator) GetEventsByHeight

func (m *MockEmulator) GetEventsByHeight(arg0 uint64, arg1 string) ([]flow_go_sdk.Event, error)

GetEventsByHeight mocks base method

func (*MockEmulator) GetLatestBlock

func (m *MockEmulator) GetLatestBlock() (*flow.Block, error)

GetLatestBlock mocks base method

func (*MockEmulator) GetTransaction

func (m *MockEmulator) GetTransaction(arg0 flow_go_sdk.Identifier) (*flow_go_sdk.Transaction, error)

GetTransaction mocks base method

func (*MockEmulator) GetTransactionResult

func (m *MockEmulator) GetTransactionResult(arg0 flow_go_sdk.Identifier) (*flow_go_sdk.TransactionResult, error)

GetTransactionResult mocks base method

type MockEmulatorMockRecorder

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

MockEmulatorMockRecorder is the mock recorder for MockEmulator

func (*MockEmulatorMockRecorder) AddTransaction

func (mr *MockEmulatorMockRecorder) AddTransaction(arg0 interface{}) *gomock.Call

AddTransaction indicates an expected call of AddTransaction

func (*MockEmulatorMockRecorder) CommitBlock

func (mr *MockEmulatorMockRecorder) CommitBlock() *gomock.Call

CommitBlock indicates an expected call of CommitBlock

func (*MockEmulatorMockRecorder) ExecuteAndCommitBlock

func (mr *MockEmulatorMockRecorder) ExecuteAndCommitBlock() *gomock.Call

ExecuteAndCommitBlock indicates an expected call of ExecuteAndCommitBlock

func (*MockEmulatorMockRecorder) ExecuteBlock

func (mr *MockEmulatorMockRecorder) ExecuteBlock() *gomock.Call

ExecuteBlock indicates an expected call of ExecuteBlock

func (*MockEmulatorMockRecorder) ExecuteNextTransaction

func (mr *MockEmulatorMockRecorder) ExecuteNextTransaction() *gomock.Call

ExecuteNextTransaction indicates an expected call of ExecuteNextTransaction

func (*MockEmulatorMockRecorder) ExecuteScript

func (mr *MockEmulatorMockRecorder) ExecuteScript(arg0, arg1 interface{}) *gomock.Call

ExecuteScript indicates an expected call of ExecuteScript

func (*MockEmulatorMockRecorder) ExecuteScriptAtBlock

func (mr *MockEmulatorMockRecorder) ExecuteScriptAtBlock(arg0, arg1, arg2 interface{}) *gomock.Call

ExecuteScriptAtBlock indicates an expected call of ExecuteScriptAtBlock

func (*MockEmulatorMockRecorder) GetAccount

func (mr *MockEmulatorMockRecorder) GetAccount(arg0 interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount

func (*MockEmulatorMockRecorder) GetAccountAtBlock

func (mr *MockEmulatorMockRecorder) GetAccountAtBlock(arg0, arg1 interface{}) *gomock.Call

GetAccountAtBlock indicates an expected call of GetAccountAtBlock

func (*MockEmulatorMockRecorder) GetBlockByHeight

func (mr *MockEmulatorMockRecorder) GetBlockByHeight(arg0 interface{}) *gomock.Call

GetBlockByHeight indicates an expected call of GetBlockByHeight

func (*MockEmulatorMockRecorder) GetBlockByID

func (mr *MockEmulatorMockRecorder) GetBlockByID(arg0 interface{}) *gomock.Call

GetBlockByID indicates an expected call of GetBlockByID

func (*MockEmulatorMockRecorder) GetCollection

func (mr *MockEmulatorMockRecorder) GetCollection(arg0 interface{}) *gomock.Call

GetCollection indicates an expected call of GetCollection

func (*MockEmulatorMockRecorder) GetEventsByHeight

func (mr *MockEmulatorMockRecorder) GetEventsByHeight(arg0, arg1 interface{}) *gomock.Call

GetEventsByHeight indicates an expected call of GetEventsByHeight

func (*MockEmulatorMockRecorder) GetLatestBlock

func (mr *MockEmulatorMockRecorder) GetLatestBlock() *gomock.Call

GetLatestBlock indicates an expected call of GetLatestBlock

func (*MockEmulatorMockRecorder) GetTransaction

func (mr *MockEmulatorMockRecorder) GetTransaction(arg0 interface{}) *gomock.Call

GetTransaction indicates an expected call of GetTransaction

func (*MockEmulatorMockRecorder) GetTransactionResult

func (mr *MockEmulatorMockRecorder) GetTransactionResult(arg0 interface{}) *gomock.Call

GetTransactionResult indicates an expected call of GetTransactionResult

Jump to

Keyboard shortcuts

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