testutil

package
v0.46.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OwnerName  = "owner"
	Owner      = "cosmos1kznrznww4pd6gx0zwrpthjk68fdmqypjpkj5hp"
	OwnerArmor = `` /* 255-byte string literal not displayed */

)

Variables

View Source
var (
	ExpClass = nft.Class{
		Id:          testClassID,
		Name:        testClassName,
		Symbol:      testClassSymbol,
		Description: testClassDescription,
		Uri:         testClassURI,
	}

	ExpNFT = nft.NFT{
		ClassId: testClassID,
		Id:      testID,
		Uri:     testURI,
	}
)

Functions

func ExecQueryBalance

func ExecQueryBalance(val *network.Validator, classID, owner string) (testutil.BufferWriter, error)

func ExecQueryClass

func ExecQueryClass(val *network.Validator, classID string) (testutil.BufferWriter, error)

func ExecQueryClasses

func ExecQueryClasses(val *network.Validator) (testutil.BufferWriter, error)

func ExecQueryNFT

func ExecQueryNFT(val *network.Validator, classID, nftID string) (testutil.BufferWriter, error)

func ExecQueryNFTs

func ExecQueryNFTs(val *network.Validator, classID, owner string) (testutil.BufferWriter, error)

func ExecQueryOwner

func ExecQueryOwner(val *network.Validator, classID, nftID string) (testutil.BufferWriter, error)

func ExecQuerySupply

func ExecQuerySupply(val *network.Validator, classID string) (testutil.BufferWriter, error)

func ExecSend

func ExecSend(val *network.Validator, args []string) (testutil.BufferWriter, error)

Types

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) TestCLITxSend

func (s *IntegrationTestSuite) TestCLITxSend()

func (*IntegrationTestSuite) TestQueryBalance

func (s *IntegrationTestSuite) TestQueryBalance()

func (*IntegrationTestSuite) TestQueryBalanceGRPC

func (s *IntegrationTestSuite) TestQueryBalanceGRPC()

func (*IntegrationTestSuite) TestQueryClass

func (s *IntegrationTestSuite) TestQueryClass()

func (*IntegrationTestSuite) TestQueryClassGRPC

func (s *IntegrationTestSuite) TestQueryClassGRPC()

func (*IntegrationTestSuite) TestQueryClasses

func (s *IntegrationTestSuite) TestQueryClasses()

func (*IntegrationTestSuite) TestQueryClassesGRPC

func (s *IntegrationTestSuite) TestQueryClassesGRPC()

func (*IntegrationTestSuite) TestQueryNFT

func (s *IntegrationTestSuite) TestQueryNFT()

func (*IntegrationTestSuite) TestQueryNFTGRPC

func (s *IntegrationTestSuite) TestQueryNFTGRPC()

func (*IntegrationTestSuite) TestQueryNFTs

func (s *IntegrationTestSuite) TestQueryNFTs()

func (*IntegrationTestSuite) TestQueryNFTsGRPC

func (s *IntegrationTestSuite) TestQueryNFTsGRPC()

func (*IntegrationTestSuite) TestQueryOwner

func (s *IntegrationTestSuite) TestQueryOwner()

func (*IntegrationTestSuite) TestQueryOwnerGRPC

func (s *IntegrationTestSuite) TestQueryOwnerGRPC()

func (*IntegrationTestSuite) TestQuerySupply

func (s *IntegrationTestSuite) TestQuerySupply()

func (*IntegrationTestSuite) TestQuerySupplyGRPC

func (s *IntegrationTestSuite) TestQuerySupplyGRPC()

Jump to

Keyboard shortcuts

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