mock_state

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_state is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFactory

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

MockFactory is a mock of Factory interface

func NewMockFactory

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

NewMockFactory creates a new mock instance

func (*MockFactory) Balance

func (m *MockFactory) Balance(arg0 string) (*big.Int, error)

Balance mocks base method

func (*MockFactory) Candidates

func (m *MockFactory) Candidates() (uint64, []*state.Candidate)

Candidates mocks base method

func (*MockFactory) CommitStateChanges

func (m *MockFactory) CommitStateChanges(arg0 uint64, arg1 []*action.Transfer, arg2 []*action.Vote) error

CommitStateChanges mocks base method

func (*MockFactory) CreateState

func (m *MockFactory) CreateState(arg0 string, arg1 uint64) (*state.State, error)

CreateState mocks base method

func (*MockFactory) EXPECT

func (m *MockFactory) EXPECT() *MockFactoryMockRecorder

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

func (*MockFactory) Nonce

func (m *MockFactory) Nonce(arg0 string) (uint64, error)

Nonce mocks base method

func (*MockFactory) RootHash

func (m *MockFactory) RootHash() common.Hash32B

RootHash mocks base method

func (*MockFactory) State

func (m *MockFactory) State(arg0 string) (*state.State, error)

State mocks base method

type MockFactoryMockRecorder

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

MockFactoryMockRecorder is the mock recorder for MockFactory

func (*MockFactoryMockRecorder) Balance

func (mr *MockFactoryMockRecorder) Balance(arg0 interface{}) *gomock.Call

Balance indicates an expected call of Balance

func (*MockFactoryMockRecorder) Candidates

func (mr *MockFactoryMockRecorder) Candidates() *gomock.Call

Candidates indicates an expected call of Candidates

func (*MockFactoryMockRecorder) CommitStateChanges

func (mr *MockFactoryMockRecorder) CommitStateChanges(arg0, arg1, arg2 interface{}) *gomock.Call

CommitStateChanges indicates an expected call of CommitStateChanges

func (*MockFactoryMockRecorder) CreateState

func (mr *MockFactoryMockRecorder) CreateState(arg0, arg1 interface{}) *gomock.Call

CreateState indicates an expected call of CreateState

func (*MockFactoryMockRecorder) Nonce

func (mr *MockFactoryMockRecorder) Nonce(arg0 interface{}) *gomock.Call

Nonce indicates an expected call of Nonce

func (*MockFactoryMockRecorder) RootHash

func (mr *MockFactoryMockRecorder) RootHash() *gomock.Call

RootHash indicates an expected call of RootHash

func (*MockFactoryMockRecorder) State

func (mr *MockFactoryMockRecorder) State(arg0 interface{}) *gomock.Call

State indicates an expected call of State

Jump to

Keyboard shortcuts

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