autotest

package
v0.0.0-...-3c905e5 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2023 License: BSD-3-Clause Imports: 3 Imported by: 6

Documentation

Overview

Package autotest 系统级coins dapp自动测试包

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TransferCase

type TransferCase struct {
	types.BaseCase
	From   string `toml:"from"`
	To     string `toml:"to"`
	Amount string `toml:"amount"`
}

TransferCase transfer case

func (*TransferCase) SendCommand

func (testCase *TransferCase) SendCommand(packID string) (types.PackFunc, error)

SendCommand sed command

type TransferPack

type TransferPack struct {
	types.BaseCasePack
}

TransferPack transfer pack

func (*TransferPack) GetCheckHandlerMap

func (pack *TransferPack) GetCheckHandlerMap() interface{}

GetCheckHandlerMap get check handle for map

type WithdrawCase

type WithdrawCase struct {
	types.BaseCase
	Addr   string `toml:"addr"`
	Amount string `toml:"amount"`
}

WithdrawCase defines the withdraw case

func (*WithdrawCase) SendCommand

func (testCase *WithdrawCase) SendCommand(packID string) (types.PackFunc, error)

SendCommand send command of withdrawcase

type WithdrawPack

type WithdrawPack struct {
	types.BaseCasePack
}

WithdrawPack defines the withdraw pack

func (*WithdrawPack) GetCheckHandlerMap

func (pack *WithdrawPack) GetCheckHandlerMap() interface{}

GetCheckHandlerMap get check handler for map

Jump to

Keyboard shortcuts

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