mock_bridge

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: LGPL-3.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock_bridge is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockVoter

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

MockVoter is a mock of Voter interface.

func NewMockVoter

func NewMockVoter(ctrl *gomock.Controller) *MockVoter

NewMockVoter creates a new mock instance.

func (*MockVoter) EXPECT

func (m *MockVoter) EXPECT() *MockVoterMockRecorder

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

func (*MockVoter) SimulateVoteProposal

func (m *MockVoter) SimulateVoteProposal(proposal *proposal.Proposal) error

SimulateVoteProposal mocks base method.

func (*MockVoter) VoteProposal

func (m *MockVoter) VoteProposal(proposal *proposal.Proposal, opts transactor.TransactOptions) (*common.Hash, error)

VoteProposal mocks base method.

type MockVoterMockRecorder

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

MockVoterMockRecorder is the mock recorder for MockVoter.

func (*MockVoterMockRecorder) SimulateVoteProposal

func (mr *MockVoterMockRecorder) SimulateVoteProposal(proposal interface{}) *gomock.Call

SimulateVoteProposal indicates an expected call of SimulateVoteProposal.

func (*MockVoterMockRecorder) VoteProposal

func (mr *MockVoterMockRecorder) VoteProposal(proposal, opts interface{}) *gomock.Call

VoteProposal indicates an expected call of VoteProposal.

Jump to

Keyboard shortcuts

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