mockproposal

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2019 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mockproposal is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

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

MockStore is a mock of Store interface

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance

func (*MockStore) AddRequest

func (m *MockStore) AddRequest(arg0 context.Context, arg1 *proposal.Request) error

AddRequest mocks base method

func (*MockStore) AddVote

func (m *MockStore) AddVote(arg0 context.Context, arg1 *proposal.Vote) error

AddVote mocks base method

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) Get

Get mocks base method

func (*MockStore) GetVotes

func (m *MockStore) GetVotes(arg0 context.Context, arg1 go_libp2p_peer.ID) ([]*proposal.Vote, error)

GetVotes mocks base method

func (*MockStore) List

func (m *MockStore) List(arg0 context.Context) ([]*proposal.Request, error)

List mocks base method

func (*MockStore) Remove

func (m *MockStore) Remove(arg0 context.Context, arg1 go_libp2p_peer.ID) error

Remove mocks base method

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore

func (*MockStoreMockRecorder) AddRequest

func (mr *MockStoreMockRecorder) AddRequest(arg0, arg1 interface{}) *gomock.Call

AddRequest indicates an expected call of AddRequest

func (*MockStoreMockRecorder) AddVote

func (mr *MockStoreMockRecorder) AddVote(arg0, arg1 interface{}) *gomock.Call

AddVote indicates an expected call of AddVote

func (*MockStoreMockRecorder) Get

func (mr *MockStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockStoreMockRecorder) GetVotes

func (mr *MockStoreMockRecorder) GetVotes(arg0, arg1 interface{}) *gomock.Call

GetVotes indicates an expected call of GetVotes

func (*MockStoreMockRecorder) List

func (mr *MockStoreMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockStoreMockRecorder) Remove

func (mr *MockStoreMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call

Remove indicates an expected call of Remove

Jump to

Keyboard shortcuts

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