cli

package
v0.0.0-...-b3a6efc Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 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

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

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