testutil

package
v1.0.3-rc4 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: Apache-2.0 Imports: 31 Imported by: 0

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