Documentation ¶
Index ¶
- type Env
- type NodeTestSuite
- func (ts *NodeTestSuite) Account(idx int) common.Address
- func (ts *NodeTestSuite) ExecCLICommand(ctx context.Context, cmdStr string, envs ...Env) ([]byte, []byte, error)
- func (ts *NodeTestSuite) ExecCommand(ctx context.Context, binName, cmdStr string, envs ...Env) ([]byte, []byte, error)
- func (ts *NodeTestSuite) ExecDCommand(ctx context.Context, cmdStr string, envs ...Env) ([]byte, []byte, error)
- func (ts *NodeTestSuite) GetNodeConfig() *cfg.Config
- func (ts *NodeTestSuite) InitNode()
- func (ts *NodeTestSuite) MakeAccounts(ctx context.Context, start, end int) []common.Address
- func (ts *NodeTestSuite) RPCClient() rpclient.Client
- func (ts *NodeTestSuite) RunNode()
- func (ts *NodeTestSuite) Setup(binDir, homeDir string)
- func (ts *NodeTestSuite) StopNode()
- func (ts *NodeTestSuite) TearDown()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeTestSuite ¶
type NodeTestSuite struct { suite.Suite TimeoutCommit time.Duration // contains filtered or unexported fields }
func (*NodeTestSuite) ExecCLICommand ¶
func (*NodeTestSuite) ExecCommand ¶
func (*NodeTestSuite) ExecDCommand ¶
func (*NodeTestSuite) GetNodeConfig ¶
func (ts *NodeTestSuite) GetNodeConfig() *cfg.Config
func (*NodeTestSuite) InitNode ¶
func (ts *NodeTestSuite) InitNode()
func (*NodeTestSuite) MakeAccounts ¶
func (*NodeTestSuite) RPCClient ¶
func (ts *NodeTestSuite) RPCClient() rpclient.Client
func (*NodeTestSuite) RunNode ¶
func (ts *NodeTestSuite) RunNode()
func (*NodeTestSuite) Setup ¶
func (ts *NodeTestSuite) Setup(binDir, homeDir string)
func (*NodeTestSuite) StopNode ¶
func (ts *NodeTestSuite) StopNode()
func (*NodeTestSuite) TearDown ¶
func (ts *NodeTestSuite) TearDown()
Click to show internal directories.
Click to hide internal directories.