2021-08-23 10:35:48 +02:00
|
|
|
//go:build dev
|
2020-12-10 20:56:10 -08:00
|
|
|
// +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) {
|
2023-01-18 15:51:25 +08:00
|
|
|
t.Run("bitcoind", func(st *testing.T) {
|
|
|
|
st.Parallel()
|
|
|
|
chainntnfstest.TestInterfaces(st, "bitcoind")
|
|
|
|
})
|
|
|
|
|
|
|
|
t.Run("bitcoind rpc polling", func(st *testing.T) {
|
|
|
|
st.Parallel()
|
|
|
|
chainntnfstest.TestInterfaces(st, "bitcoind-rpc-polling")
|
|
|
|
})
|
2020-12-10 20:56:10 -08:00
|
|
|
}
|