Help us shape the future of Go! Take the 2026 Go Developer Survey

testutil

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Suite

type Suite struct {
	suite.Suite

	Keeper        keeper.Keeper
	BankKeeper    bankkeeper.Keeper
	AccountKeeper accountkeeper.AccountKeeper
	App           app.TestApp
	Ctx           sdk.Context
	TestPeriods   []types.Period
	Addrs         []sdk.AccAddress
	QueryClient   types.QueryClient
}

Suite implements a test suite for the nemodist module integration tests

func (*Suite) CreateAccount

func (suite *Suite) CreateAccount(initialBalance sdk.Coins) authtypes.AccountI

CreateAccount creates a new account with the provided balance

func (*Suite) SetupTest

func (suite *Suite) SetupTest()

SetupTest instantiates a new app, keepers, and sets suite state

Jump to

Keyboard shortcuts

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