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

Unified Diff: content/browser/trace_subscriber_stdio_unittest.cc

Issue 8373018: Internalize JSON chunk merging to trace_event.h API (retry). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more BASE_EXPORT Created 9 years, 2 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 | « content/browser/trace_subscriber_stdio.cc ('k') | content/common/child_trace_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/trace_subscriber_stdio_unittest.cc
diff --git a/content/browser/trace_subscriber_stdio_unittest.cc b/content/browser/trace_subscriber_stdio_unittest.cc
index afced0de8846a9e3d204ac857d1848428d74b673..92f360f3506f12213b4f9893d970b0b873c60e07 100644
--- a/content/browser/trace_subscriber_stdio_unittest.cc
+++ b/content/browser/trace_subscriber_stdio_unittest.cc
@@ -28,7 +28,7 @@ class TraceSubscriberStdioTest : public testing::Test {
} // namespace
-TEST_F(TraceSubscriberStdioTest, CanWriteBracketedDataToFile) {
+TEST_F(TraceSubscriberStdioTest, CanWriteDataToFile) {
TraceSubscriberStdio subscriber(trace_file_);
subscriber.OnTraceDataCollected("[foo]");
subscriber.OnTraceDataCollected("[bar]");
@@ -36,7 +36,5 @@ TEST_F(TraceSubscriberStdioTest, CanWriteBracketedDataToFile) {
subscriber.OnEndTracingComplete();
EXPECT_FALSE(subscriber.IsValid());
-
- EXPECT_EQ("[foo,bar,]", ReadTraceFile());
}
« no previous file with comments | « content/browser/trace_subscriber_stdio.cc ('k') | content/common/child_trace_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698