github.com/true-sqn/fabric@v2.1.1+incompatible/core/chaincode/extcc/extcc_suite_test.go (about) 1 /* 2 Copyright IBM Corp. All Rights Reserved. 3 4 SPDX-License-Identifier: Apache-2.0 5 */ 6 7 package extcc_test 8 9 import ( 10 "testing" 11 12 "github.com/hyperledger/fabric/core/chaincode/extcc" 13 . "github.com/onsi/ginkgo" 14 . "github.com/onsi/gomega" 15 ) 16 17 func TestExtcc(t *testing.T) { 18 RegisterFailHandler(Fail) 19 RunSpecs(t, "Chaincode Suite") 20 } 21 22 //go:generate counterfeiter -o mock/ccstreamhandler.go --fake-name StreamHandler . StreamHandler 23 type chaincodeStreamHandler interface { 24 extcc.StreamHandler 25 }