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

Side by Side Diff: net/tools/quic/quic_simple_server_session_helper_test.cc

Issue 2322233004: Landing Recent QUIC changes until Sun Sep 4 03:41:00 (Closed)
Patch Set: Remove simulation files from the build. Created 4 years, 3 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
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/tools/quic/quic_simple_server_session_helper.h" 5 #include "net/quic/test_tools/mock_random.h"
6 #include "net/tools/quic/quic_simple_crypto_server_stream_helper.h"
6 7
7 #include "net/quic/test_tools/mock_random.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 9
10 namespace net { 10 namespace net {
11 11
12 TEST(QuicSimpleServerSessionHelperTest, GenerateConnectionIdForReject) { 12 TEST(QuicSimpleCryptoServerStreamHelperTest, GenerateConnectionIdForReject) {
13 test::MockRandom random; 13 test::MockRandom random;
14 QuicSimpleServerSessionHelper helper(&random); 14 QuicSimpleCryptoServerStreamHelper helper(&random);
15 15
16 EXPECT_EQ(random.RandUint64(), helper.GenerateConnectionIdForReject(42)); 16 EXPECT_EQ(random.RandUint64(), helper.GenerateConnectionIdForReject(42));
17 } 17 }
18 18
19 } // namespace net 19 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_simple_server_session_helper.h ('k') | net/tools/quic/quic_simple_server_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698