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

Unified Diff: net/quic/quic_utils_test.cc

Issue 1726113002: Deprecate --gfe2_reloadable_flag_quic_utils_use_fast_incremental_hash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@114856985
Patch Set: fix mistake made hand merging Created 4 years, 10 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_utils.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_utils_test.cc
diff --git a/net/quic/quic_utils_test.cc b/net/quic/quic_utils_test.cc
index d4b99fd9ec03fed7807df2694e443aef6de4eaa0..7412a24052d71c43f7a7e87914fa1034b0aaa0eb 100644
--- a/net/quic/quic_utils_test.cc
+++ b/net/quic/quic_utils_test.cc
@@ -175,19 +175,7 @@ uint128 IncrementalHashReference(const void* data, size_t len) {
return hash;
}
-TEST(QuicUtilsHashTest, ReferenceTestSlow) {
- FLAGS_quic_utils_use_fast_incremental_hash = false;
- std::vector<uint8_t> data(32);
- for (size_t i = 0; i < data.size(); ++i) {
- data[i] = i % 255;
- }
- EXPECT_EQ(IncrementalHashReference(data.data(), data.size()),
- QuicUtils::FNV1a_128_Hash(
- reinterpret_cast<const char*>(data.data()), data.size()));
-}
-
-TEST(QuicUtilsHashTest, ReferenceTestFast) {
- FLAGS_quic_utils_use_fast_incremental_hash = true;
+TEST(QuicUtilsHashTest, ReferenceTest) {
std::vector<uint8_t> data(32);
for (size_t i = 0; i < data.size(); ++i) {
data[i] = i % 255;
« no previous file with comments | « net/quic/quic_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698