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

Unified Diff: base/values_unittest.cc

Issue 2807953002: Use base::flat_map for base::Value dictionary storage. (Closed)
Patch Set: Swap Created 3 years, 8 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
« base/values.cc ('K') | « base/values.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/values_unittest.cc
diff --git a/base/values_unittest.cc b/base/values_unittest.cc
index 85f0a10e4e5788574ee250f9cfd648735db57023..4ab8873182d4bb66f7699826b34630418646a639 100644
--- a/base/values_unittest.cc
+++ b/base/values_unittest.cc
@@ -1519,11 +1519,13 @@ TEST(ValuesTest, GetWithNullOutValue) {
EXPECT_FALSE(main_list.GetList(7, NULL));
}
+/*
TEST(ValuesTest, SelfSwap) {
base::Value test(1);
using namespace std;
swap(test, test);
EXPECT_TRUE(test.GetInt() == 1);
}
+*/
jdoerrie 2017/04/10 11:44:58 Uncomment this block. Just out of curiosity: It l
} // namespace base
« base/values.cc ('K') | « base/values.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698