quic_suite_test.go 374 B

123456789101112131415161718192021222324
  1. package quic
  2. import (
  3. "github.com/golang/mock/gomock"
  4. . "github.com/onsi/ginkgo"
  5. . "github.com/onsi/gomega"
  6. "testing"
  7. )
  8. func TestQuicGo(t *testing.T) {
  9. RegisterFailHandler(Fail)
  10. RunSpecs(t, "QUIC Suite")
  11. }
  12. var mockCtrl *gomock.Controller
  13. var _ = BeforeEach(func() {
  14. mockCtrl = gomock.NewController(GinkgoT())
  15. })
  16. var _ = AfterEach(func() {
  17. mockCtrl.Finish()
  18. })