go/src/crypto/tls/quic_test.go

type testQUICConn

func newTestQUICClient(t *testing.T, config *QUICConfig) *testQUICConn {}

func newTestQUICServer(t *testing.T, config *QUICConfig) *testQUICConn {}

type suiteSecret

func (q *testQUICConn) setReadSecret(level QUICEncryptionLevel, suite uint16, secret []byte) {}

func (q *testQUICConn) setWriteSecret(level QUICEncryptionLevel, suite uint16, secret []byte) {}

var errTransportParametersRequired

func runTestQUICConnection(ctx context.Context, cli, srv *testQUICConn, onEvent func(e QUICEvent, src, dst *testQUICConn) bool) error {}

func TestQUICConnection(t *testing.T) {}

func TestQUICSessionResumption(t *testing.T) {}

func TestQUICFragmentaryData(t *testing.T) {}

func TestQUICPostHandshakeClientAuthentication(t *testing.T) {}

func TestQUICPostHandshakeKeyUpdate(t *testing.T) {}

func TestQUICPostHandshakeMessageTooLarge(t *testing.T) {}

func TestQUICHandshakeError(t *testing.T) {}

// Test that QUICConn.ConnectionState can be used during the handshake,
// and that it reports the application protocol as soon as it has been
// negotiated.
func TestQUICConnectionState(t *testing.T) {}

func TestQUICStartContextPropagation(t *testing.T) {}

func TestQUICDelayedTransportParameters(t *testing.T) {}

func TestQUICEmptyTransportParameters(t *testing.T) {}

func TestQUICCanceledWaitingForData(t *testing.T) {}

func TestQUICCanceledWaitingForTransportParams(t *testing.T) {}

func TestQUICEarlyData(t *testing.T) {}

func TestQUICEarlyDataDeclined(t *testing.T) {}

func testQUICEarlyDataDeclined(t *testing.T, server bool) {}