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

Unified Diff: net/tools/quic/stateless_rejector_test.cc

Issue 2591143003: Add QuicStrCat. (Closed)
Patch Set: correct quic_client_bin.cc Created 4 years 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
Index: net/tools/quic/stateless_rejector_test.cc
diff --git a/net/tools/quic/stateless_rejector_test.cc b/net/tools/quic/stateless_rejector_test.cc
index 1ea44f0780a6b46ef15d59591b59ae190a1a0dbb..51dd2be5dfb7be7480bc3d69cb6e5b0556858cbe 100644
--- a/net/tools/quic/stateless_rejector_test.cc
+++ b/net/tools/quic/stateless_rejector_test.cc
@@ -51,8 +51,8 @@ struct TestParams {
};
string TestParamToString(const testing::TestParamInfo<TestParams>& params) {
- return base::StringPrintf("v%i_%s", params.param.version,
- FlagsModeToString(params.param.flags));
+ return QuicStrCat("v", params.param.version, "_",
+ FlagsModeToString(params.param.flags));
}
std::vector<TestParams> GetTestParams() {
« net/tools/quic/quic_simple_server_stream.cc ('K') | « net/tools/quic/quic_spdy_client_stream_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698