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 ¶ added in v1.1.1
RunClientTest exercises some of the client CLI commands
func RunMultisigTest ¶
func StartOneNodeOneMiner ¶ added in v1.1.1
Types ¶
type MockCLI ¶ added in v1.1.3
type MockCLI struct {
// contains filtered or unexported fields
}
func NewMockCLI ¶ added in v1.1.3
func (*MockCLI) Client ¶ added in v1.1.3
func (c *MockCLI) Client(addr multiaddr.Multiaddr) *MockCLIClient
type MockCLIClient ¶ added in v1.1.3
type MockCLIClient struct {
// contains filtered or unexported fields
}
MockCLIClient runs commands against a particular node
func (*MockCLIClient) RunCmd ¶ added in v1.1.3
func (c *MockCLIClient) RunCmd(input ...string) string
func (*MockCLIClient) RunCmdRaw ¶ added in v1.1.3
func (c *MockCLIClient) RunCmdRaw(input ...string) (string, error)
func (*MockCLIClient) RunInteractiveCmd ¶ added in v1.1.3
func (c *MockCLIClient) RunInteractiveCmd(cmd []string, interactive []string) string
Click to show internal directories.
Click to hide internal directories.