testutil

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MsgMultiSendExec

func MsgMultiSendExec(clientCtx client.Context, from sdk.AccAddress, to []sdk.AccAddress, amount fmt.Stringer, extraArgs ...string) (testutil.BufferWriter, error)

func MsgSendExec

func MsgSendExec(clientCtx client.Context, from, to, amount fmt.Stringer, extraArgs ...string) (testutil.BufferWriter, error)

func NewCoin

func NewCoin(denom string, amount math.Int) *sdk.Coin

func QueryBalancesExec

func QueryBalancesExec(clientCtx client.Context, address fmt.Stringer, extraArgs ...string) (testutil.BufferWriter, error)

Types

type IntegrationTestSuite

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

func NewIntegrationTestSuite

func NewIntegrationTestSuite(cfg network.Config) *IntegrationTestSuite

func (*IntegrationTestSuite) SetupSuite

func (s *IntegrationTestSuite) SetupSuite()

func (*IntegrationTestSuite) TearDownSuite

func (s *IntegrationTestSuite) TearDownSuite()

func (*IntegrationTestSuite) TestBalancesGRPCHandler

func (s *IntegrationTestSuite) TestBalancesGRPCHandler()

func (*IntegrationTestSuite) TestDenomMetadataGRPCHandler

func (s *IntegrationTestSuite) TestDenomMetadataGRPCHandler()

func (*IntegrationTestSuite) TestGetBalancesCmd

func (s *IntegrationTestSuite) TestGetBalancesCmd()

func (*IntegrationTestSuite) TestGetCmdQueryDenomsMetadata

func (s *IntegrationTestSuite) TestGetCmdQueryDenomsMetadata()

func (*IntegrationTestSuite) TestGetCmdQueryTotalSupply

func (s *IntegrationTestSuite) TestGetCmdQueryTotalSupply()

func (*IntegrationTestSuite) TestNewMultiSendTxCmd

func (s *IntegrationTestSuite) TestNewMultiSendTxCmd()

func (*IntegrationTestSuite) TestNewSendTxCmd

func (s *IntegrationTestSuite) TestNewSendTxCmd()

func (*IntegrationTestSuite) TestNewSendTxCmdDryRun

func (s *IntegrationTestSuite) TestNewSendTxCmdDryRun()

func (*IntegrationTestSuite) TestNewSendTxCmdGenOnly

func (s *IntegrationTestSuite) TestNewSendTxCmdGenOnly()

func (*IntegrationTestSuite) TestTotalSupplyGRPCHandler

func (s *IntegrationTestSuite) TestTotalSupplyGRPCHandler()

Jump to

Keyboard shortcuts

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