Documentation ¶
Index ¶
- func QuietMiningLogs()
- func RunClientTest(t *testing.T, cmds []*lcli.Command, clientNode test.TestNode)
- func RunMultisigTest(t *testing.T, cmds []*lcli.Command, clientNode test.TestNode)
- func StartOneNodeOneMiner(ctx context.Context, t *testing.T, blocktime time.Duration) (test.TestNode, address.Address)
- func StartTwoNodesOneMiner(ctx context.Context, t *testing.T, blocktime time.Duration) ([]test.TestNode, []address.Address)
- type MockCLI
- type MockCLIClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QuietMiningLogs ¶
func QuietMiningLogs()
func RunClientTest ¶
RunClientTest exercises some of the client CLI commands
func RunMultisigTest ¶
func StartOneNodeOneMiner ¶
Types ¶
type MockCLI ¶
type MockCLI struct {
// contains filtered or unexported fields
}
func (*MockCLI) Client ¶
func (c *MockCLI) Client(addr multiaddr.Multiaddr) *MockCLIClient
type MockCLIClient ¶
type MockCLIClient struct {
// contains filtered or unexported fields
}
MockCLIClient runs commands against a particular node
func (*MockCLIClient) RunCmd ¶
func (c *MockCLIClient) RunCmd(input ...string) string
func (*MockCLIClient) RunCmdRaw ¶
func (c *MockCLIClient) RunCmdRaw(input ...string) (string, error)
func (*MockCLIClient) RunInteractiveCmd ¶
func (c *MockCLIClient) RunInteractiveCmd(cmd []string, interactive []string) string
Click to show internal directories.
Click to hide internal directories.