testutil

package
v5.0.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package testutil is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccountKeeper

type MockAccountKeeper struct {
	// contains filtered or unexported fields
}

MockAccountKeeper is a mock of AccountKeeper interface.

func NewMockAccountKeeper

func NewMockAccountKeeper(ctrl *gomock.Controller) *MockAccountKeeper

NewMockAccountKeeper creates a new mock instance.

func (*MockAccountKeeper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAccountKeeper) HasAccount

func (m *MockAccountKeeper) HasAccount(ctx types.Context, addr types.AccAddress) bool

HasAccount mocks base method.

func (*MockAccountKeeper) NewAccountWithAddress

func (m *MockAccountKeeper) NewAccountWithAddress(ctx types.Context, addr types.AccAddress) types0.AccountI

NewAccountWithAddress mocks base method.

func (*MockAccountKeeper) SetAccount

func (m *MockAccountKeeper) SetAccount(ctx types.Context, acc types0.AccountI)

SetAccount mocks base method.

type MockAccountKeeperMockRecorder

type MockAccountKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.

func (*MockAccountKeeperMockRecorder) HasAccount

func (mr *MockAccountKeeperMockRecorder) HasAccount(ctx, addr interface{}) *gomock.Call

HasAccount indicates an expected call of HasAccount.

func (*MockAccountKeeperMockRecorder) NewAccountWithAddress

func (mr *MockAccountKeeperMockRecorder) NewAccountWithAddress(ctx, addr interface{}) *gomock.Call

NewAccountWithAddress indicates an expected call of NewAccountWithAddress.

func (*MockAccountKeeperMockRecorder) SetAccount

func (mr *MockAccountKeeperMockRecorder) SetAccount(ctx, acc interface{}) *gomock.Call

SetAccount indicates an expected call of SetAccount.

type MockAuthzKeeper

type MockAuthzKeeper struct {
	// contains filtered or unexported fields
}

MockAuthzKeeper is a mock of AuthzKeeper interface.

func NewMockAuthzKeeper

func NewMockAuthzKeeper(ctrl *gomock.Controller) *MockAuthzKeeper

NewMockAuthzKeeper creates a new mock instance.

func (*MockAuthzKeeper) DeleteGrant

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

DeleteGrant mocks base method.

func (*MockAuthzKeeper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAuthzKeeper) SaveGrant

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

SaveGrant mocks base method.

type MockAuthzKeeperMockRecorder

type MockAuthzKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockAuthzKeeperMockRecorder is the mock recorder for MockAuthzKeeper.

func (*MockAuthzKeeperMockRecorder) DeleteGrant

func (mr *MockAuthzKeeperMockRecorder) DeleteGrant(ctx, grantee, granter, msgType interface{}) *gomock.Call

DeleteGrant indicates an expected call of DeleteGrant.

func (*MockAuthzKeeperMockRecorder) SaveGrant

func (mr *MockAuthzKeeperMockRecorder) SaveGrant(ctx, grantee, granter, authorization, expiration interface{}) *gomock.Call

SaveGrant indicates an expected call of SaveGrant.

Jump to

Keyboard shortcuts

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