Documentation ¶
Overview ¶
e2e implements the e2e tests.
Index ¶
- Constants
- func CloseRunnerClient() (err error)
- func DescribeLocal(text string, body func()) bool
- func DescribeSwapChain(text string, body func()) bool
- func GetEnableWhitelistTxTests() (b bool)
- func GetExecPath() (p string)
- func GetRunnerClient() (cli runner_client.Client)
- func GetRunnerGRPCEndpoint() (ep string)
- func GetURIs() []string
- func SetEnableWhitelistTxTests(b bool)
- func SetExecPath(p string)
- func SetRunnerClient(logLevel string, gRPCEp string) (cli runner_client.Client, err error)
- func SetURIs(us []string)
Constants ¶
View Source
const ( // Enough for primary.NewAXIAWallet to fetch initial UTXOs. DefaultAXIAWalletCreationTimeout = 5 * time.Second // Defines default tx confirmation timeout. // Enough for test/custom networks. DefaultConfirmTxTimeout = 10 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func CloseRunnerClient ¶
func CloseRunnerClient() (err error)
func DescribeLocal ¶
DescribeLocal annotates the tests that requires local network-runner. Can only run with local cluster.
func DescribeSwapChain ¶ added in v0.1.9
DescribeSwapChain annotates the tests for SwapChain. Can run with any type of cluster (e.g., local, test, mainnet).
func GetEnableWhitelistTxTests ¶
func GetEnableWhitelistTxTests() (b bool)
func GetExecPath ¶
func GetExecPath() (p string)
func GetRunnerClient ¶
func GetRunnerClient() (cli runner_client.Client)
func GetRunnerGRPCEndpoint ¶
func GetRunnerGRPCEndpoint() (ep string)
func SetEnableWhitelistTxTests ¶
func SetEnableWhitelistTxTests(b bool)
func SetExecPath ¶
func SetExecPath(p string)
func SetRunnerClient ¶
func SetRunnerClient(logLevel string, gRPCEp string) (cli runner_client.Client, err error)
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Implements ping tests, requires network-runner cluster.
|
Implements ping tests, requires network-runner cluster. |
Implements static handlers tests for avm and platformvm
|
Implements static handlers tests for avm and platformvm |
Implements SwapChain whitelist vtx (stop vertex) tests.
|
Implements SwapChain whitelist vtx (stop vertex) tests. |
x
|
|
transfer
Implements transfer tests.
|
Implements transfer tests. |
Click to show internal directories.
Click to hide internal directories.