github.com/decred/dcrlnd@v0.7.6/chainntnfs/test/dcrw/dcrw_test.go (about) 1 //go:build dev 2 // +build dev 3 4 package dcrw 5 6 import ( 7 "testing" 8 9 chainntnfstest "github.com/decred/dcrlnd/chainntnfs/test" 10 ) 11 12 // TestDcrwChainNtfns executes the generic notifier test suite against a dcrw 13 // powered chain notifier. 14 func TestDcrwChainNtfns(t *testing.T) { 15 t.Run("dcrd", func(t *testing.T) { 16 chainntnfstest.TestInterfaces(t, "dcrw", "dcrd") 17 }) 18 t.Run("spv", func(t *testing.T) { 19 chainntnfstest.TestInterfaces(t, "dcrw", "spv") 20 }) 21 }