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

Unified Diff: net/quic/quic_header_list_test.cc

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_header_list.cc ('k') | net/quic/quic_headers_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_header_list_test.cc
diff --git a/net/quic/quic_header_list_test.cc b/net/quic/quic_header_list_test.cc
deleted file mode 100644
index 94f824972e7f7805640d5efd7f0fb1db05286518..0000000000000000000000000000000000000000
--- a/net/quic/quic_header_list_test.cc
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "net/quic/quic_header_list.h"
-
-#include "net/test/gtest_util.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace net {
-
-// This test verifies that QuicHeaderList accumulates header pairs in order.
-TEST(QuicHeaderListTest, OnHeader) {
- QuicHeaderList headers;
- headers.OnHeader("foo", "bar");
- headers.OnHeader("april", "fools");
- headers.OnHeader("beep", "");
-
- EXPECT_EQ("{ foo=bar, april=fools, beep=, }", headers.DebugString());
-}
-
-// This test verifies that QuicHeaderList is copyable and assignable.
-TEST(QuicHeaderListTest, IsCopyableAndAssignable) {
- QuicHeaderList headers;
- headers.OnHeader("foo", "bar");
- headers.OnHeader("april", "fools");
- headers.OnHeader("beep", "");
-
- QuicHeaderList headers2(headers);
- QuicHeaderList headers3 = headers;
-
- EXPECT_EQ("{ foo=bar, april=fools, beep=, }", headers2.DebugString());
- EXPECT_EQ("{ foo=bar, april=fools, beep=, }", headers3.DebugString());
-}
-
-} // namespace net
« no previous file with comments | « net/quic/quic_header_list.cc ('k') | net/quic/quic_headers_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698