mock

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAfcExecutor

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

MockAfcExecutor is a mock of AfcExecutor interface

func NewMockAfcExecutor

func NewMockAfcExecutor(ctrl *gomock.Controller) *MockAfcExecutor

NewMockAfcExecutor creates a new mock instance

func (*MockAfcExecutor) Claim

func (m *MockAfcExecutor) Claim(chainId uint16, sequence uint64, payload []byte) (string, error)

Claim mocks base method

func (*MockAfcExecutor) EXPECT

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

func (*MockAfcExecutor) GetAddress

func (m *MockAfcExecutor) GetAddress() types.ValAddress

GetAddress mocks base method

func (*MockAfcExecutor) GetCurrentSequence

func (m *MockAfcExecutor) GetCurrentSequence(chainId uint16) (int64, error)

GetCurrentSequence mocks base method

func (*MockAfcExecutor) GetProphecy

func (m *MockAfcExecutor) GetProphecy(chainId uint16, sequence int64) (*msg.Prophecy, error)

GetProphecy mocks base method

type MockAfcExecutorMockRecorder

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

MockAfcExecutorMockRecorder is the mock recorder for MockAfcExecutor

func (*MockAfcExecutorMockRecorder) Claim

func (mr *MockAfcExecutorMockRecorder) Claim(chainId, sequence, payload interface{}) *gomock.Call

Claim indicates an expected call of Claim

func (*MockAfcExecutorMockRecorder) GetAddress

func (mr *MockAfcExecutorMockRecorder) GetAddress() *gomock.Call

GetAddress indicates an expected call of GetAddress

func (*MockAfcExecutorMockRecorder) GetCurrentSequence

func (mr *MockAfcExecutorMockRecorder) GetCurrentSequence(chainId interface{}) *gomock.Call

GetCurrentSequence indicates an expected call of GetCurrentSequence

func (*MockAfcExecutorMockRecorder) GetProphecy

func (mr *MockAfcExecutorMockRecorder) GetProphecy(chainId, sequence interface{}) *gomock.Call

GetProphecy indicates an expected call of GetProphecy

type MockAscExecutor

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

MockAscExecutor is a mock of AscExecutor interface

func NewMockAscExecutor

func NewMockAscExecutor(ctrl *gomock.Controller) *MockAscExecutor

NewMockAscExecutor creates a new mock instance

func (*MockAscExecutor) EXPECT

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

func (*MockAscExecutor) GetBlockAndPackages

func (m *MockAscExecutor) GetBlockAndPackages(height int64) (*common.BlockAndPackageLogs, error)

GetBlockAndPackages mocks base method

type MockAscExecutorMockRecorder

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

MockAscExecutorMockRecorder is the mock recorder for MockAscExecutor

func (*MockAscExecutorMockRecorder) GetBlockAndPackages

func (mr *MockAscExecutorMockRecorder) GetBlockAndPackages(height interface{}) *gomock.Call

GetBlockAndPackages indicates an expected call of GetBlockAndPackages

Jump to

Keyboard shortcuts

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