mocks

package
v0.6.11 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GlobalKeeper

type GlobalKeeper struct {
	mock.Mock
}

GlobalKeeper is an autogenerated mock type for the GlobalKeeper type

func (*GlobalKeeper) ExecuteEvents added in v0.6.0

func (_m *GlobalKeeper) ExecuteEvents(ctx types.Context, exec func(types.Context, linotypes.Event) types.Error)

ExecuteEvents provides a mock function with given fields: ctx, exec

func (*GlobalKeeper) ExportToFile added in v0.4.0

func (_m *GlobalKeeper) ExportToFile(ctx types.Context, cdc *amino.Codec, filepath string) error

ExportToFile provides a mock function with given fields: ctx, cdc, filepath

func (*GlobalKeeper) GetBCEventErrors added in v0.6.0

func (_m *GlobalKeeper) GetBCEventErrors(ctx types.Context) []linotypes.BCEventErr

GetBCEventErrors provides a mock function with given fields: ctx

func (*GlobalKeeper) GetEventErrors added in v0.6.0

func (_m *GlobalKeeper) GetEventErrors(ctx types.Context) []linotypes.EventError

GetEventErrors provides a mock function with given fields: ctx

func (*GlobalKeeper) GetGlobalTime added in v0.6.0

func (_m *GlobalKeeper) GetGlobalTime(ctx types.Context) model.GlobalTime

GetGlobalTime provides a mock function with given fields: ctx

func (*GlobalKeeper) GetLastBlockTime

func (_m *GlobalKeeper) GetLastBlockTime(ctx types.Context) int64

GetLastBlockTime provides a mock function with given fields: ctx

func (*GlobalKeeper) GetPastDay added in v0.6.0

func (_m *GlobalKeeper) GetPastDay(ctx types.Context, unixTime int64) int64

GetPastDay provides a mock function with given fields: ctx, unixTime

func (*GlobalKeeper) ImportFromFile

func (_m *GlobalKeeper) ImportFromFile(ctx types.Context, cdc *amino.Codec, filepath string) error

ImportFromFile provides a mock function with given fields: ctx, cdc, filepath

func (*GlobalKeeper) InitGenesis added in v0.6.0

func (_m *GlobalKeeper) InitGenesis(ctx types.Context)

InitGenesis provides a mock function with given fields: ctx

func (*GlobalKeeper) OnBeginBlock added in v0.6.0

func (_m *GlobalKeeper) OnBeginBlock(ctx types.Context)

OnBeginBlock provides a mock function with given fields: ctx

func (*GlobalKeeper) OnEndBlock added in v0.6.0

func (_m *GlobalKeeper) OnEndBlock(ctx types.Context)

OnEndBlock provides a mock function with given fields: ctx

func (*GlobalKeeper) RegisterEventAtTime added in v0.4.0

func (_m *GlobalKeeper) RegisterEventAtTime(ctx types.Context, unixTime int64, event linotypes.Event) types.Error

RegisterEventAtTime provides a mock function with given fields: ctx, unixTime, event

Jump to

Keyboard shortcuts

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