mocks

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 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 AuthzKeeper

type AuthzKeeper struct {
	mock.Mock
}

AuthzKeeper is an autogenerated mock type for the AuthzKeeper type

func NewAuthzKeeper added in v0.16.2

func NewAuthzKeeper(t testing.TB) *AuthzKeeper

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

func (*AuthzKeeper) DeleteGrant

func (_m *AuthzKeeper) DeleteGrant(ctx types.Context, grantee types.AccAddress, granter types.AccAddress, msgType string) error

DeleteGrant provides a mock function with given fields: ctx, grantee, granter, msgType

func (*AuthzKeeper) GetCleanAuthorization

func (_m *AuthzKeeper) GetCleanAuthorization(ctx types.Context, grantee types.AccAddress, granter types.AccAddress, msgType string) (authz.Authorization, time.Time)

GetCleanAuthorization provides a mock function with given fields: ctx, grantee, granter, msgType

func (*AuthzKeeper) SaveGrant

func (_m *AuthzKeeper) SaveGrant(ctx types.Context, grantee types.AccAddress, granter types.AccAddress, authorization authz.Authorization, expiration time.Time) error

SaveGrant provides a mock function with given fields: ctx, grantee, granter, authorization, expiration

Jump to

Keyboard shortcuts

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