Versions in this module Expand all Collapse all v0 v0.23.1 Jul 27, 2018 Changes in this version + func CheckBalance(t *testing.T, app *App, addr sdk.AccAddress, exp sdk.Coins) + func CheckGenTx(t *testing.T, app *baseapp.BaseApp, msgs []sdk.Msg, accNums []int64, ...) sdk.Result + func CreateGenAccounts(numAccs int, genCoins sdk.Coins) (genAccs []auth.Account, addrs []sdk.AccAddress, pubKeys []crypto.PubKey, ...) + func GenSequenceOfTxs(msgs []sdk.Msg, accnums []int64, initSeqNums []int64, numToGenerate int, ...) []auth.StdTx + func GenTx(msgs []sdk.Msg, accnums []int64, seq []int64, priv ...crypto.PrivKey) auth.StdTx + func GeneratePrivKeyAddressPairs(n int) (keys []crypto.PrivKey, addrs []sdk.AccAddress) + func GeneratePrivKeys(n int) (keys []crypto.PrivKey) + func GetAllAccounts(mapper auth.AccountMapper, ctx sdk.Context) []auth.Account + func RandFromBigInterval(r *rand.Rand, intervals []BigInterval) sdk.Int + func RandomSetGenesis(r *rand.Rand, app *App, addrs []sdk.AccAddress, denoms []string) + func SetGenesis(app *App, accs []auth.Account) + func SignCheckDeliver(t *testing.T, app *baseapp.BaseApp, msgs []sdk.Msg, accNums []int64, ...) sdk.Result + type App struct + AccountMapper auth.AccountMapper + Cdc *wire.Codec + FeeCollectionKeeper auth.FeeCollectionKeeper + GenesisAccounts []auth.Account + KeyAccount *sdk.KVStoreKey + KeyMain *sdk.KVStoreKey + TotalCoinsSupply sdk.Coins + func NewApp() *App + func (app *App) CompleteSetup(newKeys []*sdk.KVStoreKey) error + func (app *App) InitChainer(ctx sdk.Context, _ abci.RequestInitChain) abci.ResponseInitChain + func (app *App) RandomizedTesting(t *testing.T, ops []TestAndRunTx, setups []RandSetup, invariants []Invariant, ...) + func (app *App) RandomizedTestingFromSeed(t *testing.T, seed int64, ops []TestAndRunTx, setups []RandSetup, ...) + type BigInterval struct + type Invariant func(t *testing.T, app *App, log string) + func PeriodicInvariant(invariant Invariant, period int, offset int) Invariant + type RandSetup func(r *rand.Rand, privKeys []crypto.PrivKey) + type TestAndRunTx func(t *testing.T, r *rand.Rand, app *App, ctx sdk.Context, ...) (action string, err sdk.Error)