testutil

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MsgLiquidFarmExec

func MsgLiquidFarmExec(clientCtx client.Context, from, poolId string, amount sdk.Coin, extraArgs ...string) (testutil.BufferWriter, error)

func MsgPlaceBidExec

func MsgPlaceBidExec(clientCtx client.Context, from, auctionId, poolId string, amount sdk.Coin, extraArgs ...string) (testutil.BufferWriter, error)

func NewAppConstructor

func NewAppConstructor(encodingCfg params.EncodingConfig) network.AppConstructor

Types

type IntegrationTestSuite

type IntegrationTestSuite struct {
	suite.Suite
	// contains filtered or unexported fields
}

func (*IntegrationTestSuite) SetupTest

func (s *IntegrationTestSuite) SetupTest()

SetupTest creates a new network for _each_ integration test. We create a new network for each test because there are some state modifications that are needed to be made in order to make useful queries. However, we don't want these state changes to be present in other tests.

func (*IntegrationTestSuite) TearDownTest

func (s *IntegrationTestSuite) TearDownTest()

TearDownTest cleans up the current test network after each test in the suite.

func (*IntegrationTestSuite) TestNewLiquidFarmCmd

func (s *IntegrationTestSuite) TestNewLiquidFarmCmd()

func (*IntegrationTestSuite) TestNewPlaceBidCmd

func (s *IntegrationTestSuite) TestNewPlaceBidCmd()

func (*IntegrationTestSuite) TestNewQueryLiquidFarmCmd

func (s *IntegrationTestSuite) TestNewQueryLiquidFarmCmd()

func (*IntegrationTestSuite) TestNewQueryLiquidFarmsCmd

func (s *IntegrationTestSuite) TestNewQueryLiquidFarmsCmd()

func (*IntegrationTestSuite) TestNewQueryParamsCmd

func (s *IntegrationTestSuite) TestNewQueryParamsCmd()

func (*IntegrationTestSuite) TestNewQueryRewardsAuctionCmd

func (s *IntegrationTestSuite) TestNewQueryRewardsAuctionCmd()

func (*IntegrationTestSuite) TestNewQueryRewardsAuctionsCmd

func (s *IntegrationTestSuite) TestNewQueryRewardsAuctionsCmd()

func (*IntegrationTestSuite) TestNewRefundBidCmd

func (s *IntegrationTestSuite) TestNewRefundBidCmd()

func (*IntegrationTestSuite) TestNewUnfarmCmd

func (s *IntegrationTestSuite) TestNewUnfarmCmd()

Jump to

Keyboard shortcuts

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