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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostKeeper

type PostKeeper struct {
	mock.Mock
}

PostKeeper is an autogenerated mock type for the PostKeeper type

func (*PostKeeper) CreatePost

func (_m *PostKeeper) CreatePost(ctx types.Context, author linotypes.AccountKey, postID string, createdBy linotypes.AccountKey, content string, title string) types.Error

CreatePost provides a mock function with given fields: ctx, author, postID, createdBy, content, title

func (*PostKeeper) DeletePost

func (_m *PostKeeper) DeletePost(ctx types.Context, permlink linotypes.Permlink) types.Error

DeletePost provides a mock function with given fields: ctx, permlink

func (*PostKeeper) DoesPostExist

func (_m *PostKeeper) DoesPostExist(ctx types.Context, permlink linotypes.Permlink) bool

DoesPostExist provides a mock function with given fields: ctx, permlink

func (*PostKeeper) ExecRewardEvent

func (_m *PostKeeper) ExecRewardEvent(ctx types.Context, reward posttypes.RewardEvent) types.Error

ExecRewardEvent provides a mock function with given fields: ctx, reward

func (*PostKeeper) ExportToFile

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

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

func (*PostKeeper) GetComsumptionWindow added in v0.6.3

func (_m *PostKeeper) GetComsumptionWindow(ctx types.Context) linotypes.MiniDollar

GetComsumptionWindow provides a mock function with given fields: ctx

func (*PostKeeper) GetPost

func (_m *PostKeeper) GetPost(ctx types.Context, permlink linotypes.Permlink) (model.Post, types.Error)

GetPost provides a mock function with given fields: ctx, permlink

func (*PostKeeper) IDADonate

IDADonate provides a mock function with given fields: ctx, from, n, author, postID, app, signer

func (*PostKeeper) ImportFromFile

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

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

func (*PostKeeper) LinoDonate

func (_m *PostKeeper) LinoDonate(ctx types.Context, from linotypes.AccountKey, amount linotypes.Coin, author linotypes.AccountKey, postID string, app linotypes.AccountKey) types.Error

LinoDonate provides a mock function with given fields: ctx, from, amount, author, postID, app

func (*PostKeeper) UpdatePost

func (_m *PostKeeper) UpdatePost(ctx types.Context, author linotypes.AccountKey, postID string, title string, content string) types.Error

UpdatePost provides a mock function with given fields: ctx, author, postID, title, content

Jump to

Keyboard shortcuts

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