cli

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 11 Imported by: 4

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)

ValidateTxSuccessful 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