Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CtxTestSuite ¶
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)
Click to show internal directories.
Click to hide internal directories.