testutil

package
v1.0.0-rc56 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2025 License: Apache-2.0 Imports: 31 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestNetworkFixture added in v1.0.0

func NewTestNetworkFixture(opts ...network.TestnetFixtureOption) network.TestFixture

NewTestNetworkFixture returns a new simapp AppConstructor for network simulation tests

Types

type NetworkTestSuite added in v1.0.0

type NetworkTestSuite struct {
	*suite.Suite
	// contains filtered or unexported fields
}

func NewNetworkTestSuite added in v1.0.0

func NewNetworkTestSuite(cfg *network.Config, container interface{}) *NetworkTestSuite

func (*NetworkTestSuite) ClientContext added in v1.0.0

func (nts *NetworkTestSuite) ClientContext(idxT ...int) sdkclient.Context

func (*NetworkTestSuite) ClientContextForTest added in v1.0.0

func (nts *NetworkTestSuite) ClientContextForTest() sdkclient.Context

func (*NetworkTestSuite) Config added in v1.0.0

func (nts *NetworkTestSuite) Config() network.Config

func (*NetworkTestSuite) ContextForTest added in v1.0.0

func (nts *NetworkTestSuite) ContextForTest() context.Context

func (*NetworkTestSuite) Network added in v1.0.0

func (nts *NetworkTestSuite) Network() *network.Network

func (*NetworkTestSuite) SetupSuite added in v1.0.0

func (nts *NetworkTestSuite) SetupSuite()

func (*NetworkTestSuite) SetupTest added in v1.0.0

func (nts *NetworkTestSuite) SetupTest()

func (*NetworkTestSuite) TearDownSuite added in v1.0.0

func (nts *NetworkTestSuite) TearDownSuite()

func (*NetworkTestSuite) TearDownTest added in v1.0.0

func (nts *NetworkTestSuite) TearDownTest()

func (*NetworkTestSuite) ValidateTx added in v1.0.0

func (nts *NetworkTestSuite) ValidateTx(resultData []byte) string

func (*NetworkTestSuite) Validator added in v1.0.0

func (nts *NetworkTestSuite) Validator(idxT ...int) *network.Validator

func (*NetworkTestSuite) WalletForTest added in v1.0.0

func (nts *NetworkTestSuite) WalletForTest() sdk.AccAddress

func (*NetworkTestSuite) WalletNameForTest added in v1.0.0

func (nts *NetworkTestSuite) WalletNameForTest() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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