testutil

package
v2.1.0-a19 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: Apache-2.0 Imports: 31 Imported by: 0

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