lnwallettest

package
v0.0.0-...-4461705 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: MIT Imports: 45 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestLightningWallet

func TestLightningWallet(t *testing.T, targetBackEnd string)

TestInterfaces tests all registered interfaces with a unified set of tests which exercise each of the required methods found within the WalletController interface.

NOTE: In the future, when additional implementations of the WalletController interface have been implemented, in order to ensure the new concrete implementation is automatically tested, two steps must be undertaken. First, one needs add a "non-captured" (_) import from the new sub-package. This import should trigger an init() method within the package which registers the interface. Second, an additional case in the switch within the main loop below needs to be added which properly initializes the interface.

TODO(roasbeef): purge bobNode in favor of dual lnwallet's

Types

This section is empty.

Jump to

Keyboard shortcuts

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