testutil

package
v0.0.0-...-a315113 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MsgDeposit

func MsgDeposit(clientCtx client.Context, from, id, deposit string, extraArgs ...string) (testutil.BufferWriter, error)

func MsgSubmitLegacyProposal

func MsgSubmitLegacyProposal(clientCtx client.Context, from, title, description, proposalType string, extraArgs ...string) (testutil.BufferWriter, error)

MsgSubmitLegacyProposal creates a tx for submit legacy proposal

func MsgSubmitProposal

func MsgSubmitProposal(clientCtx client.Context, from, title, description, proposalType string, extraArgs ...string) (testutil.BufferWriter, error)

MsgSubmitProposal creates a tx for submit proposal

func MsgVote

func MsgVote(clientCtx client.Context, from, id, vote string, extraArgs ...string) (testutil.BufferWriter, error)

MsgVote votes for a proposal

Types

type DepositTestSuite

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

func NewDepositTestSuite

func NewDepositTestSuite(cfg network.Config) *DepositTestSuite

func (*DepositTestSuite) SetupNewSuite

func (s *DepositTestSuite) SetupNewSuite()

func (*DepositTestSuite) SetupSuite

func (s *DepositTestSuite) SetupSuite()

func (*DepositTestSuite) TearDownSuite

func (s *DepositTestSuite) TearDownSuite()

func (*DepositTestSuite) TestQueryDepositsWithoutInitialDeposit

func (s *DepositTestSuite) TestQueryDepositsWithoutInitialDeposit()

func (*DepositTestSuite) TestQueryProposalNotEnoughDeposits

func (s *DepositTestSuite) TestQueryProposalNotEnoughDeposits()

func (*DepositTestSuite) TestRejectedProposalDeposits

func (s *DepositTestSuite) TestRejectedProposalDeposits()

type IntegrationTestSuite

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

func NewIntegrationTestSuite

func NewIntegrationTestSuite(cfg network.Config) *IntegrationTestSuite

func (*IntegrationTestSuite) SetupSuite

func (s *IntegrationTestSuite) SetupSuite()

func (*IntegrationTestSuite) TearDownSuite

func (s *IntegrationTestSuite) TearDownSuite()

func (*IntegrationTestSuite) TestCmdGetProposal

func (s *IntegrationTestSuite) TestCmdGetProposal()

func (*IntegrationTestSuite) TestCmdGetProposals

func (s *IntegrationTestSuite) TestCmdGetProposals()

func (*IntegrationTestSuite) TestCmdParam

func (s *IntegrationTestSuite) TestCmdParam()

func (*IntegrationTestSuite) TestCmdParams

func (s *IntegrationTestSuite) TestCmdParams()

func (*IntegrationTestSuite) TestCmdProposer

func (s *IntegrationTestSuite) TestCmdProposer()

func (*IntegrationTestSuite) TestCmdQueryDeposit

func (s *IntegrationTestSuite) TestCmdQueryDeposit()

func (*IntegrationTestSuite) TestCmdQueryDeposits

func (s *IntegrationTestSuite) TestCmdQueryDeposits()

func (*IntegrationTestSuite) TestCmdQueryVote

func (s *IntegrationTestSuite) TestCmdQueryVote()

func (*IntegrationTestSuite) TestCmdQueryVotes

func (s *IntegrationTestSuite) TestCmdQueryVotes()

func (*IntegrationTestSuite) TestCmdTally

func (s *IntegrationTestSuite) TestCmdTally()

func (*IntegrationTestSuite) TestGetParamsGRPC

func (s *IntegrationTestSuite) TestGetParamsGRPC()

func (*IntegrationTestSuite) TestGetProposalDepositGRPC

func (s *IntegrationTestSuite) TestGetProposalDepositGRPC()

func (*IntegrationTestSuite) TestGetProposalDepositsGRPC

func (s *IntegrationTestSuite) TestGetProposalDepositsGRPC()

func (*IntegrationTestSuite) TestGetProposalGRPC

func (s *IntegrationTestSuite) TestGetProposalGRPC()

func (*IntegrationTestSuite) TestGetProposalVoteGRPC

func (s *IntegrationTestSuite) TestGetProposalVoteGRPC()

func (*IntegrationTestSuite) TestGetProposalVotesGRPC

func (s *IntegrationTestSuite) TestGetProposalVotesGRPC()

func (*IntegrationTestSuite) TestGetProposalsGRPC

func (s *IntegrationTestSuite) TestGetProposalsGRPC()

func (*IntegrationTestSuite) TestGetTallyGRPC

func (s *IntegrationTestSuite) TestGetTallyGRPC()

func (*IntegrationTestSuite) TestNewCmdDeposit

func (s *IntegrationTestSuite) TestNewCmdDeposit()

func (*IntegrationTestSuite) TestNewCmdSubmitLegacyProposal

func (s *IntegrationTestSuite) TestNewCmdSubmitLegacyProposal()

func (*IntegrationTestSuite) TestNewCmdSubmitProposal

func (s *IntegrationTestSuite) TestNewCmdSubmitProposal()

func (*IntegrationTestSuite) TestNewCmdVote

func (s *IntegrationTestSuite) TestNewCmdVote()

func (*IntegrationTestSuite) TestNewCmdWeightedVote

func (s *IntegrationTestSuite) TestNewCmdWeightedVote()

Jump to

Keyboard shortcuts

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