github.com/tumi8/quic-go@v0.37.4-tum/noninternal/qtls/qtls_suite_test.go (about)

     1  package qtls
     2  
     3  import (
     4  	"testing"
     5  
     6  	gomock "github.com/golang/mock/gomock"
     7  
     8  	. "github.com/onsi/ginkgo/v2"
     9  	. "github.com/onsi/gomega"
    10  )
    11  
    12  func TestQTLS(t *testing.T) {
    13  	RegisterFailHandler(Fail)
    14  	RunSpecs(t, "qtls Suite")
    15  }
    16  
    17  var mockCtrl *gomock.Controller
    18  
    19  var _ = BeforeEach(func() {
    20  	mockCtrl = gomock.NewController(GinkgoT())
    21  })
    22  
    23  var _ = AfterEach(func() {
    24  	mockCtrl.Finish()
    25  })