Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockEmulator
- func (m *MockEmulator) AddTransaction(arg0 flow.Transaction) error
- func (m *MockEmulator) CommitBlock() (*flow0.Block, error)
- func (m *MockEmulator) EXPECT() *MockEmulatorMockRecorder
- func (m *MockEmulator) ExecuteAndCommitBlock() (*flow0.Block, []*types.TransactionResult, error)
- func (m *MockEmulator) ExecuteBlock() ([]*types.TransactionResult, error)
- func (m *MockEmulator) ExecuteNextTransaction() (*types.TransactionResult, error)
- func (m *MockEmulator) ExecuteScript(arg0 []byte, arg1 [][]byte) (*types.ScriptResult, error)
- func (m *MockEmulator) ExecuteScriptAtBlock(arg0 []byte, arg1 [][]byte, arg2 uint64) (*types.ScriptResult, error)
- func (m *MockEmulator) GetAccount(arg0 flow.Address) (*flow.Account, error)
- func (m *MockEmulator) GetAccountAtBlock(arg0 flow.Address, arg1 uint64) (*flow.Account, error)
- func (m *MockEmulator) GetAccountStorage(arg0 flow.Address) (*emulator.AccountStorage, error)
- func (m *MockEmulator) GetBlockByHeight(arg0 uint64) (*flow0.Block, error)
- func (m *MockEmulator) GetBlockByID(arg0 flow.Identifier) (*flow0.Block, error)
- func (m *MockEmulator) GetCollection(arg0 flow.Identifier) (*flow.Collection, error)
- func (m *MockEmulator) GetEventsByHeight(arg0 uint64, arg1 string) ([]flow.Event, error)
- func (m *MockEmulator) GetLatestBlock() (*flow0.Block, error)
- func (m *MockEmulator) GetTransaction(arg0 flow.Identifier) (*flow.Transaction, error)
- func (m *MockEmulator) GetTransactionResult(arg0 flow.Identifier) (*flow.TransactionResult, error)
- type MockEmulatorMockRecorder
- func (mr *MockEmulatorMockRecorder) AddTransaction(arg0 interface{}) *gomock.Call
- func (mr *MockEmulatorMockRecorder) CommitBlock() *gomock.Call
- func (mr *MockEmulatorMockRecorder) ExecuteAndCommitBlock() *gomock.Call
- func (mr *MockEmulatorMockRecorder) ExecuteBlock() *gomock.Call
- func (mr *MockEmulatorMockRecorder) ExecuteNextTransaction() *gomock.Call
- func (mr *MockEmulatorMockRecorder) ExecuteScript(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEmulatorMockRecorder) ExecuteScriptAtBlock(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockEmulatorMockRecorder) GetAccount(arg0 interface{}) *gomock.Call
- func (mr *MockEmulatorMockRecorder) GetAccountAtBlock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEmulatorMockRecorder) GetAccountStorage(arg0 interface{}) *gomock.Call
- func (mr *MockEmulatorMockRecorder) GetBlockByHeight(arg0 interface{}) *gomock.Call
- func (mr *MockEmulatorMockRecorder) GetBlockByID(arg0 interface{}) *gomock.Call
- func (mr *MockEmulatorMockRecorder) GetCollection(arg0 interface{}) *gomock.Call
- func (mr *MockEmulatorMockRecorder) GetEventsByHeight(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEmulatorMockRecorder) GetLatestBlock() *gomock.Call
- func (mr *MockEmulatorMockRecorder) GetTransaction(arg0 interface{}) *gomock.Call
- func (mr *MockEmulatorMockRecorder) GetTransactionResult(arg0 interface{}) *gomock.Call
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.Transaction) error
AddTransaction mocks base method.
func (*MockEmulator) CommitBlock ¶
func (m *MockEmulator) CommitBlock() (*flow0.Block, error)
CommitBlock mocks base method.
func (*MockEmulator) EXPECT ¶
func (m *MockEmulator) EXPECT() *MockEmulatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEmulator) ExecuteAndCommitBlock ¶
func (m *MockEmulator) ExecuteAndCommitBlock() (*flow0.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 ¶
GetAccount mocks base method.
func (*MockEmulator) GetAccountAtBlock ¶
GetAccountAtBlock mocks base method.
func (*MockEmulator) GetAccountStorage ¶ added in v0.34.0
func (m *MockEmulator) GetAccountStorage(arg0 flow.Address) (*emulator.AccountStorage, error)
GetAccountStorage mocks base method.
func (*MockEmulator) GetBlockByHeight ¶
func (m *MockEmulator) GetBlockByHeight(arg0 uint64) (*flow0.Block, error)
GetBlockByHeight mocks base method.
func (*MockEmulator) GetBlockByID ¶
func (m *MockEmulator) GetBlockByID(arg0 flow.Identifier) (*flow0.Block, error)
GetBlockByID mocks base method.
func (*MockEmulator) GetCollection ¶
func (m *MockEmulator) GetCollection(arg0 flow.Identifier) (*flow.Collection, error)
GetCollection mocks base method.
func (*MockEmulator) GetEventsByHeight ¶
GetEventsByHeight mocks base method.
func (*MockEmulator) GetLatestBlock ¶
func (m *MockEmulator) GetLatestBlock() (*flow0.Block, error)
GetLatestBlock mocks base method.
func (*MockEmulator) GetTransaction ¶
func (m *MockEmulator) GetTransaction(arg0 flow.Identifier) (*flow.Transaction, error)
GetTransaction mocks base method.
func (*MockEmulator) GetTransactionResult ¶
func (m *MockEmulator) GetTransactionResult(arg0 flow.Identifier) (*flow.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) GetAccountStorage ¶ added in v0.34.0
func (mr *MockEmulatorMockRecorder) GetAccountStorage(arg0 interface{}) *gomock.Call
GetAccountStorage indicates an expected call of GetAccountStorage.
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.