chainntnfs/test: parallelize iface tests by backend
This commit is contained in:
4 files changed
+54
-5
No files matched your search
@@ -0,0 +1,15 @@
|
||||
// +build dev
|
||||
|
||||
package bitcoind_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
chainntnfstest "github.com/lightningnetwork/lnd/chainntnfs/test"
|
||||
)
|
||||
|
||||
// TestInterfaces executes the generic notifier test suite against a bitcoind
|
||||
// powered chain notifier.
|
||||
func TestInterfaces(t *testing.T) {
|
||||
chainntnfstest.TestInterfaces(t, "bitcoind")
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// +build dev
|
||||
|
||||
package btcd_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
chainntnfstest "github.com/lightningnetwork/lnd/chainntnfs/test"
|
||||
)
|
||||
|
||||
// TestInterfaces executes the generic notifier test suite against a btcd
|
||||
// powered chain notifier.
|
||||
func TestInterfaces(t *testing.T) {
|
||||
chainntnfstest.TestInterfaces(t, "btcd")
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// +build dev
|
||||
|
||||
package neutrino_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
chainntnfstest "github.com/lightningnetwork/lnd/chainntnfs/test"
|
||||
)
|
||||
|
||||
// TestInterfaces executes the generic notifier test suite against a neutrino
|
||||
// powered chain notifier.
|
||||
func TestInterfaces(t *testing.T) {
|
||||
chainntnfstest.TestInterfaces(t, "neutrino")
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user