github.com/true-sqn/fabric@v2.1.1+incompatible/internal/pkg/peer/blocksprovider/blocksprovider_suite_test.go (about)

     1  /*
     2  Copyright IBM Corp. All Rights Reserved.
     3  
     4  SPDX-License-Identifier: Apache-2.0
     5  */
     6  
     7  package blocksprovider_test
     8  
     9  import (
    10  	"testing"
    11  
    12  	. "github.com/onsi/ginkgo"
    13  	. "github.com/onsi/gomega"
    14  
    15  	"github.com/hyperledger/fabric-protos-go/orderer"
    16  	"github.com/hyperledger/fabric/internal/pkg/identity"
    17  )
    18  
    19  //go:generate counterfeiter -o fake/signer.go --fake-name Signer . signer
    20  type signer interface {
    21  	identity.SignerSerializer
    22  }
    23  
    24  //go:generate counterfeiter -o fake/ab_deliver_client.go --fake-name DeliverClient . abDeliverClient
    25  type abDeliverClient interface {
    26  	orderer.AtomicBroadcast_DeliverClient
    27  }
    28  
    29  func TestBlocksprovider(t *testing.T) {
    30  	RegisterFailHandler(Fail)
    31  	RunSpecs(t, "Blocksprovider Suite")
    32  }