testutil

package
v2.2.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 31 Imported by: 0 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

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

NewTestNetworkFixture returns a new simapp AppConstructor for network simulation tests

Types

type NetworkTestSuite

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

func NewNetworkTestSuite

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

func (*NetworkTestSuite) ClientContext

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

func (*NetworkTestSuite) ClientContextForTest

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

func (*NetworkTestSuite) Config

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

func (*NetworkTestSuite) ContextForTest

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

func (*NetworkTestSuite) Network

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

func (*NetworkTestSuite) SetupSuite

func (nts *NetworkTestSuite) SetupSuite()

func (*NetworkTestSuite) SetupTest

func (nts *NetworkTestSuite) SetupTest()

func (*NetworkTestSuite) TearDownSuite

func (nts *NetworkTestSuite) TearDownSuite()

func (*NetworkTestSuite) TearDownTest

func (nts *NetworkTestSuite) TearDownTest()

func (*NetworkTestSuite) ValidateTx

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

func (*NetworkTestSuite) Validator

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

func (*NetworkTestSuite) WalletForTest

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

func (*NetworkTestSuite) WalletNameForTest

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