github.com/decred/dcrlnd@v0.7.6/chainntnfs/test/remotedcrw/remotedcrw_test.go (about)

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