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

Unified Diff: base/debug/trace_event_unittest.cc

Issue 12096115: Update tracing framework to optionally use a ringbuffer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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') | content/browser/devtools/devtools_tracing_handler.cc » ('j') | 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 0e3be874009bace9bd7a44009c5da2463415eaf4..5fb90407c65df90867fbeff5b563616b47be1a03 100644
--- a/base/debug/trace_event_unittest.cc
+++ b/base/debug/trace_event_unittest.cc
@@ -1531,6 +1531,8 @@ TEST_F(TraceEventTestFixture, TraceOptionsParsing) {
EXPECT_EQ(TraceLog::RECORD_UNTIL_FULL,
TraceLog::TraceOptionsFromString("record-until-full"));
+ EXPECT_EQ(TraceLog::RECORD_CONTINUOUSLY,
+ TraceLog::TraceOptionsFromString("record-continuously"));
}
TEST_F(TraceEventTestFixture, TraceSampling) {
@@ -1606,5 +1608,7 @@ TEST_F(TraceEventCallbackTest, TraceEventCallback) {
EXPECT_EQ("event2", collected_events_[1]);
}
+// TODO(dsinclair): Continuous Tracing unit test.
+
} // namespace debug
} // namespace base
« no previous file with comments | « base/debug/trace_event_impl.cc ('k') | content/browser/devtools/devtools_tracing_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698