github.com/lzy4123/fabric@v2.1.1+incompatible/internal/peer/packaging/platforms_suite_test.go (about) 1 /* 2 Copyright IBM Corp. All Rights Reserved. 3 4 SPDX-License-Identifier: Apache-2.0 5 */ 6 7 package packaging_test 8 9 import ( 10 "testing" 11 12 "github.com/hyperledger/fabric/internal/peer/packaging" 13 14 . "github.com/onsi/ginkgo" 15 . "github.com/onsi/gomega" 16 ) 17 18 //go:generate counterfeiter -o mock/platform.go --fake-name Platform . platform 19 type platform interface { 20 packaging.Platform 21 } 22 23 func TestPackaging(t *testing.T) { 24 RegisterFailHandler(Fail) 25 RunSpecs(t, "Platforms Suite") 26 }