mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-06 17:47:01 +02:00
chainntnfs/test: parallelize iface tests by backend
This commit is contained in:
15
chainntnfs/test/bitcoind/bitcoind_test.go
Normal file
15
chainntnfs/test/bitcoind/bitcoind_test.go
Normal file
@@ -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")
|
||||
}
|
15
chainntnfs/test/btcd/btcd_test.go
Normal file
15
chainntnfs/test/btcd/btcd_test.go
Normal file
@@ -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")
|
||||
}
|
15
chainntnfs/test/neutrino/neutrino_test.go
Normal file
15
chainntnfs/test/neutrino/neutrino_test.go
Normal file
@@ -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")
|
||||
}
|
2040
chainntnfs/test/test_interface.go
Normal file
2040
chainntnfs/test/test_interface.go
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user