testsuites

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CtxTestSuite

type CtxTestSuite struct {
	suite.Suite

	Ctx sdk.Context
	// contains filtered or unexported fields
}

func (*CtxTestSuite) NextBlock

func (suite *CtxTestSuite) NextBlock(t time.Time)

func (*CtxTestSuite) SetupCtx

func (suite *CtxTestSuite) SetupCtx(height int64, t time.Time, keys ...*sdk.KVStoreKey)

type GoldenTestSuite

type GoldenTestSuite struct {
	CtxTestSuite
	// contains filtered or unexported fields
}

func NewGoldenTestSuite

func NewGoldenTestSuite(dm dumperManager, storeKey *sdk.KVStoreKey) GoldenTestSuite

func (*GoldenTestSuite) AssertStateUnchanged

func (suite *GoldenTestSuite) AssertStateUnchanged(enableSubTest bool, importJsonPaths ...string)

func (*GoldenTestSuite) Golden

func (suite *GoldenTestSuite) Golden()

XXX(@ryanli): Maybe we use delta for golden, better readability

func (*GoldenTestSuite) LoadState

func (suite *GoldenTestSuite) LoadState(enableSubTest bool, importJsonPaths ...string)

Jump to

Keyboard shortcuts

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