use a mock connection in the session tests

This commit is contained in:
Marten Seemann 2020-01-11 18:43:05 +07:00
parent 7c9d387a69
commit 15301a7f6e
3 changed files with 211 additions and 50 deletions

View file

@ -1,5 +1,6 @@
package quic
//go:generate sh -c "./mockgen_private.sh quic mock_connection_test.go github.com/lucas-clemente/quic-go connection"
//go:generate sh -c "./mockgen_private.sh quic mock_stream_internal_test.go github.com/lucas-clemente/quic-go streamI"
//go:generate sh -c "./mockgen_private.sh quic mock_crypto_stream_test.go github.com/lucas-clemente/quic-go cryptoStream"
//go:generate sh -c "./mockgen_private.sh quic mock_receive_stream_internal_test.go github.com/lucas-clemente/quic-go receiveStreamI"