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

Unified Diff: net/quic/core/quic_headers_stream_test.cc

Issue 2611613003: Add quic_logging (Closed)
Patch Set: fix failed test? Created 3 years, 11 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/core/quic_framer_test.cc ('k') | net/quic/core/quic_packet_creator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_headers_stream_test.cc
diff --git a/net/quic/core/quic_headers_stream_test.cc b/net/quic/core/quic_headers_stream_test.cc
index 28afd8978d8822ff4be5491d8df9fdc0a1b283eb..a3afe00731c65ce0a828892ef74e02738a51df85 100644
--- a/net/quic/core/quic_headers_stream_test.cc
+++ b/net/quic/core/quic_headers_stream_test.cc
@@ -14,6 +14,7 @@
#include "net/quic/core/quic_utils.h"
#include "net/quic/core/spdy_utils.h"
#include "net/quic/platform/api/quic_bug_tracker.h"
+#include "net/quic/platform/api/quic_logging.h"
#include "net/quic/platform/api/quic_str_cat.h"
#include "net/quic/test_tools/quic_connection_peer.h"
#include "net/quic/test_tools/quic_spdy_session_peer.h"
@@ -200,10 +201,10 @@ struct TestParams {
FLAGS_spdy_framer_use_new_methods4 = true;
break;
}
- VLOG(1) << "TestParams: version: " << QuicVersionToString(version)
- << ", perspective: " << perspective
- << ", http2_decoder: " << http2_decoder
- << ", hpack_decoder: " << hpack_decoder;
+ QUIC_LOG(INFO) << "TestParams: version: " << QuicVersionToString(version)
+ << ", perspective: " << perspective
+ << ", http2_decoder: " << http2_decoder
+ << ", hpack_decoder: " << hpack_decoder;
}
QuicVersion version;
@@ -609,8 +610,8 @@ TEST_P(QuicHeadersStreamTest, NonEmptyHeaderHOLBlockedTime) {
stream_frames[stream_num].offset = stream_frame_.offset;
stream_frames[stream_num].data_buffer = frames[stream_num].data();
stream_frames[stream_num].data_length = frames[stream_num].size();
- DVLOG(1) << "make frame for stream " << stream_num << " offset "
- << stream_frames[stream_num].offset;
+ QUIC_DVLOG(1) << "make frame for stream " << stream_num << " offset "
+ << stream_frames[stream_num].offset;
stream_frame_.offset += frames[stream_num].size();
EXPECT_CALL(session_, OnStreamHeaderList(stream_id, fin, _, _)).Times(1);
}
@@ -620,8 +621,8 @@ TEST_P(QuicHeadersStreamTest, NonEmptyHeaderHOLBlockedTime) {
EXPECT_CALL(session_, OnHeadersHeadOfLineBlocking(_)).Times(9);
for (int stream_num = 9; stream_num >= 0; --stream_num) {
- DVLOG(1) << "OnStreamFrame for stream " << stream_num << " offset "
- << stream_frames[stream_num].offset;
+ QUIC_DVLOG(1) << "OnStreamFrame for stream " << stream_num << " offset "
+ << stream_frames[stream_num].offset;
headers_stream_->OnStreamFrame(stream_frames[stream_num]);
connection_->AdvanceTime(QuicTime::Delta::FromMilliseconds(1));
}
« no previous file with comments | « net/quic/core/quic_framer_test.cc ('k') | net/quic/core/quic_packet_creator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698