Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Side by Side Diff: net/quic/core/quic_headers_stream_test.cc

Issue 2236463004: Rename QuicSupportedVersions to QuicAllSupportedVersions. Add QuicCurrentSupportedVersions which re… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@129437595
Patch Set: update more files outside net/ Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/core/quic_framer_test.cc ('k') | net/quic/core/quic_packet_creator_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/quic/core/quic_headers_stream.h" 5 #include "net/quic/core/quic_headers_stream.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "net/quic/core/quic_bug_tracker.h" 10 #include "net/quic/core/quic_bug_tracker.h"
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 QuicStreamFrame stream_frame_; 401 QuicStreamFrame stream_frame_;
402 QuicStreamId next_promised_stream_id_; 402 QuicStreamId next_promised_stream_id_;
403 }; 403 };
404 404
405 // Run all tests with each version, perspective (client or server), 405 // Run all tests with each version, perspective (client or server),
406 // HTTP/2 and HPACK decoder. 406 // HTTP/2 and HPACK decoder.
407 INSTANTIATE_TEST_CASE_P( 407 INSTANTIATE_TEST_CASE_P(
408 Tests, 408 Tests,
409 QuicHeadersStreamTest, 409 QuicHeadersStreamTest,
410 ::testing::Combine( 410 ::testing::Combine(
411 ::testing::ValuesIn(QuicSupportedVersions()), 411 ::testing::ValuesIn(AllSupportedVersions()),
412 ::testing::Values(Perspective::IS_CLIENT, Perspective::IS_SERVER), 412 ::testing::Values(Perspective::IS_CLIENT, Perspective::IS_SERVER),
413 ::testing::Values(HTTP2_DECODER_SPDY, 413 ::testing::Values(HTTP2_DECODER_SPDY,
414 HTTP2_DECODER_NESTED_SPDY, 414 HTTP2_DECODER_NESTED_SPDY,
415 HTTP2_DECODER_NEW), 415 HTTP2_DECODER_NEW),
416 ::testing::Values(HPACK_DECODER_SPDY, HPACK_DECODER_NEW))); 416 ::testing::Values(HPACK_DECODER_SPDY, HPACK_DECODER_NEW)));
417 417
418 TEST_P(QuicHeadersStreamTest, StreamId) { 418 TEST_P(QuicHeadersStreamTest, StreamId) {
419 EXPECT_EQ(3u, headers_stream_->id()); 419 EXPECT_EQ(3u, headers_stream_->id());
420 } 420 }
421 421
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 } 964 }
965 saved_data_.clear(); 965 saved_data_.clear();
966 saved_payloads_.clear(); 966 saved_payloads_.clear();
967 } 967 }
968 } 968 }
969 } 969 }
970 970
971 } // namespace 971 } // namespace
972 } // namespace test 972 } // namespace test
973 } // namespace net 973 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_framer_test.cc ('k') | net/quic/core/quic_packet_creator_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698