mocks

package
v7.0.1-rc Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 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 NewSystemT

type NewSystemT interface {
	mock.TestingT
	Cleanup(func())
}

type System

type System struct {
	mock.Mock
}

System is an autogenerated mock type for the System type

func NewSystem

func NewSystem(t NewSystemT) *System

NewSystem creates a new instance of System. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*System) Chain

func (_m *System) Chain() (types.Text, error)

Chain provides a mock function with given fields:

func (*System) Health

func (_m *System) Health() (types.Health, error)

Health provides a mock function with given fields:

func (*System) Name

func (_m *System) Name() (types.Text, error)

Name provides a mock function with given fields:

func (*System) NetworkState

func (_m *System) NetworkState() (types.NetworkState, error)

NetworkState provides a mock function with given fields:

func (*System) Peers

func (_m *System) Peers() ([]types.PeerInfo, error)

Peers provides a mock function with given fields:

func (*System) Properties

func (_m *System) Properties() (types.ChainProperties, error)

Properties provides a mock function with given fields:

func (*System) Version

func (_m *System) Version() (types.Text, error)

Version provides a mock function with given fields:

Jump to

Keyboard shortcuts

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