helpers

package
v0.30.37 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseAndDeleteTestWallet

func CloseAndDeleteTestWallet(w int, name string, t *testing.T)

CloseAndDeleteTestWallet is a helper function for tests to close and delete a test wallet.

func CloseTestPool

func CloseTestPool(p int, t *testing.T)

CloseTestPool is a helper function for tests. It closes ledger pool used for testing. It doesn't do any cleanup.

func CreateAndOpenTestWallet

func CreateAndOpenTestWallet(t *testing.T) (handle int, name string)

CreateAndOpenTestWallet is a helper function for tests to create and open a new wallet. It returns a wallet handle and a wallet name. It generates unique name for wallets based on time. Use CloseAndDeleteTestWallet for cleaning up.

func OpenTestPool

func OpenTestPool(t *testing.T) int

OpenTestPool is a helper function for tests to open a ledger pool.

Types

This section is empty.

Jump to

Keyboard shortcuts

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