github.com/yimialmonte/fabric@v2.1.1+incompatible/bccsp/idemix/bridge/bridge_suite_test.go (about)

     1  /*
     2  Copyright IBM Corp. All Rights Reserved.
     3  
     4  SPDX-License-Identifier: Apache-2.0
     5  */
     6  package bridge_test
     7  
     8  import (
     9  	"testing"
    10  
    11  	"github.com/hyperledger/fabric-amcl/amcl"
    12  	. "github.com/onsi/ginkgo"
    13  	. "github.com/onsi/gomega"
    14  )
    15  
    16  func TestPlain(t *testing.T) {
    17  	RegisterFailHandler(Fail)
    18  	RunSpecs(t, "Plain Suite")
    19  }
    20  
    21  // NewRandPanic is an utility test function that always panic when invoked
    22  func NewRandPanic() *amcl.RAND {
    23  	panic("new rand panic")
    24  }