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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReputationKeeper

type ReputationKeeper struct {
	mock.Mock
}

ReputationKeeper is an autogenerated mock type for the ReputationKeeper type

func (*ReputationKeeper) DonateAt

DonateAt provides a mock function with given fields: ctx, username, post, amount

func (*ReputationKeeper) ExportToFile

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

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

func (*ReputationKeeper) GetCurrentRound

func (_m *ReputationKeeper) GetCurrentRound(ctx types.Context) (int64, types.Error)

GetCurrentRound provides a mock function with given fields: ctx

func (*ReputationKeeper) GetReputation

func (_m *ReputationKeeper) GetReputation(ctx types.Context, username linotypes.AccountKey) (linotypes.MiniDollar, types.Error)

GetReputation provides a mock function with given fields: ctx, username

func (*ReputationKeeper) ImportFromFile

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

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

func (*ReputationKeeper) Update

func (_m *ReputationKeeper) Update(ctx types.Context) types.Error

Update provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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