testutil

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEvent

func GetEvent(msg proto.Message, events []sdk.Event) (e sdk.Event, found bool)

GetEvent searches through the sdk.Events and attempts to return the sdk.Event whose type matches the proto.MessageName of the passed msg.

func MatchEvent

func MatchEvent(expected proto.Message, emitted sdk.Event) error

MatchEvent matches the values in a proto message to a sdk.Event.

Types

This section is empty.

Directories

Path Synopsis
Package fixture defines fixture interfaces and implementations for testing server implementations with multiple backends.
Package fixture defines fixture interfaces and implementations for testing server implementations with multiple backends.
Package network implements and exposes a fully operational in-process Tendermint test network that consists of at least one or potentially many validators.
Package network implements and exposes a fully operational in-process Tendermint test network that consists of at least one or potentially many validators.

Jump to

Keyboard shortcuts

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