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

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

Issue 2516033003: Landing Recent QUIC changes until Mon Nov 14 04:43:50 2016 +0000 (Closed)
Patch Set: Remove unused UpdatePacketGapSentHistogram() function. Created 4 years, 1 month 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_error_codes.cc ('k') | net/quic/core/quic_flags_list.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "net/quic/core/quic_error_codes.h"
6
7 #include "base/strings/string_piece.h"
8 #include "net/quic/core/quic_flags.h"
9 #include "testing/gmock/include/gmock/gmock.h"
10 #include "testing/gtest/include/gtest/gtest.h"
11
12 using base::StringPiece;
13 using std::string;
14
15 namespace net {
16 namespace test {
17 namespace {
18
19 TEST(QuicUtilsTest, QuicRstStreamErrorCodeToString) {
20 EXPECT_STREQ("QUIC_BAD_APPLICATION_PAYLOAD",
21 QuicRstStreamErrorCodeToString(QUIC_BAD_APPLICATION_PAYLOAD));
22 }
23
24 TEST(QuicUtilsTest, QuicErrorCodeToString) {
25 EXPECT_STREQ("QUIC_NO_ERROR", QuicErrorCodeToString(QUIC_NO_ERROR));
26 }
27
28 } // namespace
29 } // namespace test
30 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_error_codes.cc ('k') | net/quic/core/quic_flags_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698