mockvalidator

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: 4 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 mockvalidator is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockValidator

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

MockValidator is a mock of Validator interface

func NewMockValidator

func NewMockValidator(ctrl *gomock.Controller) *MockValidator

NewMockValidator creates a new mock instance

func (*MockValidator) EXPECT

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

func (*MockValidator) MaxTxPerBlock

func (m *MockValidator) MaxTxPerBlock() uint32

MaxTxPerBlock mocks base method

func (*MockValidator) ValidateBlock

func (m *MockValidator) ValidateBlock(arg0 *pb.Block, arg1 state.Reader) error

ValidateBlock mocks base method

func (*MockValidator) ValidateTransactions

func (m *MockValidator) ValidateTransactions(arg0 []*pb.Transaction, arg1 state.Reader) error

ValidateTransactions mocks base method

func (*MockValidator) ValidateTx

func (m *MockValidator) ValidateTx(arg0 *pb.Transaction, arg1 state.Reader) error

ValidateTx mocks base method

type MockValidatorMockRecorder

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

MockValidatorMockRecorder is the mock recorder for MockValidator

func (*MockValidatorMockRecorder) MaxTxPerBlock

func (mr *MockValidatorMockRecorder) MaxTxPerBlock() *gomock.Call

MaxTxPerBlock indicates an expected call of MaxTxPerBlock

func (*MockValidatorMockRecorder) ValidateBlock

func (mr *MockValidatorMockRecorder) ValidateBlock(arg0, arg1 interface{}) *gomock.Call

ValidateBlock indicates an expected call of ValidateBlock

func (*MockValidatorMockRecorder) ValidateTransactions

func (mr *MockValidatorMockRecorder) ValidateTransactions(arg0, arg1 interface{}) *gomock.Call

ValidateTransactions indicates an expected call of ValidateTransactions

func (*MockValidatorMockRecorder) ValidateTx

func (mr *MockValidatorMockRecorder) ValidateTx(arg0, arg1 interface{}) *gomock.Call

ValidateTx indicates an expected call of ValidateTx

Jump to

Keyboard shortcuts

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