testutil

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryAccountExec

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

func TestGetBroadcastCommandOfflineFlag

func TestGetBroadcastCommandOfflineFlag(t *testing.T)

func TestGetBroadcastCommandWithoutOfflineFlag

func TestGetBroadcastCommandWithoutOfflineFlag(t *testing.T)

func TxBroadcastExec

func TxBroadcastExec(clientCtx client.Context, filename string, extraArgs ...string) (testutil.BufferWriter, error)

func TxDecodeExec

func TxDecodeExec(clientCtx client.Context, encodedTx string, extraArgs ...string) (testutil.BufferWriter, error)

func TxEncodeExec

func TxEncodeExec(clientCtx client.Context, filename string, extraArgs ...string) (testutil.BufferWriter, error)

func TxMultiSignBatchExec

func TxMultiSignBatchExec(clientCtx client.Context, filename string, from string, sigFile1 string, sigFile2 string, extraArgs ...string) (testutil.BufferWriter, error)

func TxMultiSignExec

func TxMultiSignExec(clientCtx client.Context, from string, filename string, extraArgs ...string) (testutil.BufferWriter, error)

func TxSignBatchExec

func TxSignBatchExec(clientCtx client.Context, from fmt.Stringer, filename string, extraArgs ...string) (testutil.BufferWriter, error)

func TxSignExec

func TxSignExec(clientCtx client.Context, from fmt.Stringer, filename string, extraArgs ...string) (testutil.BufferWriter, error)

func TxValidateSignaturesExec

func TxValidateSignaturesExec(clientCtx client.Context, filename 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) TestCLIEncode

func (s *IntegrationTestSuite) TestCLIEncode()

func (*IntegrationTestSuite) TestCLIMultisign

func (s *IntegrationTestSuite) TestCLIMultisign()

func (*IntegrationTestSuite) TestCLIMultisignInsufficientCosigners

func (s *IntegrationTestSuite) TestCLIMultisignInsufficientCosigners()

func (*IntegrationTestSuite) TestCLIMultisignSortSignatures

func (s *IntegrationTestSuite) TestCLIMultisignSortSignatures()

func (*IntegrationTestSuite) TestCLIQueryTxCmd

func (s *IntegrationTestSuite) TestCLIQueryTxCmd()

func (*IntegrationTestSuite) TestCLISendGenerateSignAndBroadcast

func (s *IntegrationTestSuite) TestCLISendGenerateSignAndBroadcast()

func (*IntegrationTestSuite) TestCLISignAminoJSON

func (s *IntegrationTestSuite) TestCLISignAminoJSON()

func (*IntegrationTestSuite) TestCLISignBatch

func (s *IntegrationTestSuite) TestCLISignBatch()

func (*IntegrationTestSuite) TestCLIValidateSignatures

func (s *IntegrationTestSuite) TestCLIValidateSignatures()

func (*IntegrationTestSuite) TestGetAccountCmd

func (s *IntegrationTestSuite) TestGetAccountCmd()

func (*IntegrationTestSuite) TestGetAccountsCmd

func (s *IntegrationTestSuite) TestGetAccountsCmd()

func (*IntegrationTestSuite) TestMultisignBatch

func (s *IntegrationTestSuite) TestMultisignBatch()

func (*IntegrationTestSuite) TestQueryParamsCmd

func (s *IntegrationTestSuite) TestQueryParamsCmd()

func (*IntegrationTestSuite) TestSignBatchMultisig

func (s *IntegrationTestSuite) TestSignBatchMultisig()

func (*IntegrationTestSuite) TestSignWithMultiSignersAminoJSON

func (s *IntegrationTestSuite) TestSignWithMultiSignersAminoJSON()

func (*IntegrationTestSuite) TestTxWithoutPublicKey

func (s *IntegrationTestSuite) TestTxWithoutPublicKey()

TestTxWithoutPublicKey makes sure sending a proto tx message without the public key doesn't cause any error in the RPC layer (broadcast). See https://github.com/soominhyunwoo/chain-sdk/issues/7585 for more details.

Jump to

Keyboard shortcuts

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