tests

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ACCOUNTS = []string{"alice", "bob", "charlie", "igor"}
)

nolint

Functions

func Clean

func Clean()

clean the directories

func InitServerForTest

func InitServerForTest(t *testing.T)

Init Basecoin Test

func StartLCDServerForTest

func StartLCDServerForTest(t *testing.T, home, chainID string) (cmd *exec.Cmd, port string)

expects TestInitBaseCoin to have been run

func StartNodeServerForTest

func StartNodeServerForTest(t *testing.T, home string) *exec.Cmd

expects TestInitBaseCoin to have been run

func StartServer

func StartServer() error

expects TestInitBaseCoin to have been run

func TestInitBasecoin

func TestInitBasecoin(t *testing.T, home string) string

Init Basecoin Test

Types

This section is empty.

Jump to

Keyboard shortcuts

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