tmpoptestcasesmocks

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockedTendermintClient

type MockedTendermintClient struct {
	mock.Mock
}

MockedTendermintClient is a mock for the tmpop.TendermintClient interface

func (*MockedTendermintClient) AllowCalls

func (m *MockedTendermintClient) AllowCalls()

AllowCalls allows any call to go through the mock without throwing errors

func (*MockedTendermintClient) Block

func (m *MockedTendermintClient) Block(height int) *tmpop.Block

Block returns an empty block

Jump to

Keyboard shortcuts

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