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

Unified Diff: base/debug/trace_event_unittest.cc

Issue 14320028: Restore skipping of default categories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « base/debug/trace_event_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/trace_event_unittest.cc
diff --git a/base/debug/trace_event_unittest.cc b/base/debug/trace_event_unittest.cc
index 82c8dc00e3bd60aed469bb67f189c528c2160ae0..37c7f77a1e119f7ce1d546e681512721ce5d4aaf 100644
--- a/base/debug/trace_event_unittest.cc
+++ b/base/debug/trace_event_unittest.cc
@@ -900,6 +900,9 @@ TEST_F(TraceEventTestFixture, Categories) {
cat_groups.end(), "c5,c6") != cat_groups.end());
EXPECT_TRUE(std::find(cat_groups.begin(),
cat_groups.end(), "c7,c8") != cat_groups.end());
+ // Make sure metadata isn't returned.
+ EXPECT_TRUE(std::find(cat_groups.begin(),
+ cat_groups.end(), "__metadata") == cat_groups.end());
const std::vector<std::string> empty_categories;
std::vector<std::string> included_categories;
« no previous file with comments | « base/debug/trace_event_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698