| Index: net/quic/quic_utils_test.cc
|
| diff --git a/net/quic/quic_utils_test.cc b/net/quic/quic_utils_test.cc
|
| index b7d23eda97a16ea54f7408d3557b0fc2740f2ee1..d2f2631343cbd2829f5432e6f730b51b894a2e10 100644
|
| --- a/net/quic/quic_utils_test.cc
|
| +++ b/net/quic/quic_utils_test.cc
|
| @@ -84,6 +84,20 @@ TEST(QuicUtilsTest, TagToString) {
|
| QuicUtils::TagToString(MakeQuicTag('C', 'H', 'L', '\x1f')));
|
| }
|
|
|
| +TEST(QuicUtilsTest, ParseQuicConnectionOptions) {
|
| + QuicTagVector empty_options = QuicUtils::ParseQuicConnectionOptions("");
|
| + EXPECT_EQ(0ul, empty_options.size());
|
| +
|
| + QuicTagVector parsed_options = QuicUtils::ParseQuicConnectionOptions(
|
| + "PACE,TIMER,TBBR,REJ");
|
| + QuicTagVector expected_options;
|
| + expected_options.push_back(net::kPACE);
|
| + expected_options.push_back(net::kTIME);
|
| + expected_options.push_back(net::kTBBR);
|
| + expected_options.push_back(net::kREJ);
|
| + EXPECT_EQ(expected_options, parsed_options);
|
| +}
|
| +
|
| } // namespace
|
| } // namespace test
|
| } // namespace net
|
|
|