forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
quic_protocol_integration_test.cc
31 lines (25 loc) · 1.77 KB
/
quic_protocol_integration_test.cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include "test/integration/protocol_integration_test.h"
namespace Envoy {
// These will run with HTTP/3 downstream, and Http upstream.
INSTANTIATE_TEST_SUITE_P(DownstreamProtocols, DownstreamProtocolIntegrationTest,
testing::ValuesIn(HttpProtocolIntegrationTest::getProtocolTestParams(
{Http::CodecType::HTTP3}, {Http::CodecType::HTTP1})),
HttpProtocolIntegrationTest::protocolTestParamsToString);
// These will run with HTTP/3 downstream, and Http and HTTP/2 upstream.
INSTANTIATE_TEST_SUITE_P(DownstreamProtocols, ProtocolIntegrationTest,
testing::ValuesIn(HttpProtocolIntegrationTest::getProtocolTestParams(
{Http::CodecType::HTTP3},
{Http::CodecType::HTTP1, Http::CodecType::HTTP2})),
HttpProtocolIntegrationTest::protocolTestParamsToString);
// These will run with HTTP/1 and HTTP/2 downstream, and HTTP/3 upstream.
INSTANTIATE_TEST_SUITE_P(UpstreamProtocols, DownstreamProtocolIntegrationTest,
testing::ValuesIn(HttpProtocolIntegrationTest::getProtocolTestParams(
{Http::CodecType::HTTP1, Http::CodecType::HTTP2},
{Http::CodecType::HTTP3})),
HttpProtocolIntegrationTest::protocolTestParamsToString);
INSTANTIATE_TEST_SUITE_P(UpstreamProtocols, ProtocolIntegrationTest,
testing::ValuesIn(HttpProtocolIntegrationTest::getProtocolTestParams(
{Http::CodecType::HTTP1, Http::CodecType::HTTP2},
{Http::CodecType::HTTP3})),
HttpProtocolIntegrationTest::protocolTestParamsToString);
} // namespace Envoy