cli

package
v0.17.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecTestCLICmd

func ExecTestCLICmd(ctx context.Context, clientCtx client.Context, cmd *cobra.Command, extraArgs ...string) (testutil.BufferWriter, error)

ExecTestCLICmd builds the client context, mocks the output and executes the command.

func ValidateTxSuccessful added in v0.16.0

func ValidateTxSuccessful(t testing.TB, cctx client.Context, data []byte)

this function is a gentle response to inappropriate approach of cli test utils send transaction may fail and calling cli routine won't know about it

func ValidateTxUnSuccessful added in v0.16.0

func ValidateTxUnSuccessful(t testing.TB, cctx client.Context, data []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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