mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01:00
24 lines
529 B
Go
24 lines
529 B
Go
//go:build dev
|
|
// +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) {
|
|
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")
|
|
})
|
|
}
|