remove trivial mock implementation of the cryptoStream interface (#4620)

* remove trivial mock implementation of the cryptoStream interface

No functional change expected.

* fix tests
This commit is contained in:
Marten Seemann
2024-08-03 16:57:03 -07:00
committed by GitHub
parent e737d4a40e
commit 86d5044eec
4 changed files with 36 additions and 373 deletions

View File

@@ -14,9 +14,6 @@ type Sender = sender
//go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/quic-go/quic-go -destination mock_stream_internal_test.go github.com/quic-go/quic-go StreamI"
type StreamI = streamI
//go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/quic-go/quic-go -destination mock_crypto_stream_test.go github.com/quic-go/quic-go CryptoStream"
type CryptoStream = cryptoStream
//go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/quic-go/quic-go -destination mock_receive_stream_internal_test.go github.com/quic-go/quic-go ReceiveStreamI"
type ReceiveStreamI = receiveStreamI