testutil

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TxConfigTestSuite

type TxConfigTestSuite struct {
	suite.Suite
	TxConfig client.TxConfig
}

TxConfigTestSuite provides a test suite that can be used to test that a TxConfig implementation is correct.

func NewTxConfigTestSuite

func NewTxConfigTestSuite(txConfig client.TxConfig) *TxConfigTestSuite

NewTxConfigTestSuite returns a new TxConfigTestSuite with the provided TxConfig implementation

func (*TxConfigTestSuite) TestTxBuilderGetTx

func (s *TxConfigTestSuite) TestTxBuilderGetTx()

func (*TxConfigTestSuite) TestTxBuilderSetFeeAmount

func (s *TxConfigTestSuite) TestTxBuilderSetFeeAmount()

func (*TxConfigTestSuite) TestTxBuilderSetGasLimit

func (s *TxConfigTestSuite) TestTxBuilderSetGasLimit()

func (*TxConfigTestSuite) TestTxBuilderSetMemo

func (s *TxConfigTestSuite) TestTxBuilderSetMemo()

func (*TxConfigTestSuite) TestTxBuilderSetMsgs

func (s *TxConfigTestSuite) TestTxBuilderSetMsgs()

func (*TxConfigTestSuite) TestTxBuilderSetSignatures

func (s *TxConfigTestSuite) TestTxBuilderSetSignatures()

func (*TxConfigTestSuite) TestTxEncodeDecode

func (s *TxConfigTestSuite) TestTxEncodeDecode()

func (*TxConfigTestSuite) TestWrapTxBuilder

func (s *TxConfigTestSuite) TestWrapTxBuilder()

Jump to

Keyboard shortcuts

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