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: apps/benchmark/event_unittest.cc

Issue 1641513004: Update //base to chromium 9659b08ea5a34f889dc4166217f438095ddc10d2 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 11 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 | « apps/benchmark/benchmark_app.cc ('k') | base/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/benchmark/event_unittest.cc
diff --git a/apps/benchmark/event_unittest.cc b/apps/benchmark/event_unittest.cc
index 9bb60f74ce66b0a12705fe7b8f7437b1657f63c1..442d78d5c549ecda35f41c26477c233f196d566e 100644
--- a/apps/benchmark/event_unittest.cc
+++ b/apps/benchmark/event_unittest.cc
@@ -94,7 +94,7 @@ TEST(GetEventsTest, DurationEventsSameThread) {
"event\"}";
event_specs[5] = "{\"tid\":1,\"ts\":6,\"ph\":\"E\"}";
- std::string trace_json = "[" + JoinString(event_specs, ',') + "]";
+ std::string trace_json = "[" + base::JoinString(event_specs, ",") + "]";
std::vector<Event> events;
ASSERT_TRUE(GetEvents(trace_json, &events));
ASSERT_EQ(3u, events.size());
@@ -127,7 +127,7 @@ TEST(GetEventsTest, DurationEventsTwoThreads) {
event_specs[2] = "{\"tid\":1,\"ts\":3,\"ph\":\"E\"}";
event_specs[3] = "{\"tid\":2,\"ts\":4,\"ph\":\"E\"}";
- std::string trace_json = "[" + JoinString(event_specs, ',') + "]";
+ std::string trace_json = "[" + base::JoinString(event_specs, ",") + "]";
std::vector<Event> events;
ASSERT_TRUE(GetEvents(trace_json, &events));
ASSERT_EQ(2u, events.size());
@@ -152,7 +152,7 @@ TEST(GetEventsTest, DurationEventsTidIsString) {
"\"name\":\"t1 event\"}";
event_specs[1] = "{\"tid\":\"1\",\"ts\":3,\"ph\":\"E\"}";
- std::string trace_json = "[" + JoinString(event_specs, ',') + "]";
+ std::string trace_json = "[" + base::JoinString(event_specs, ",") + "]";
std::vector<Event> events;
ASSERT_TRUE(GetEvents(trace_json, &events));
ASSERT_EQ(1u, events.size());
@@ -179,7 +179,7 @@ TEST(GetEventsTest, AsyncEvents) {
"{\"tid\":1004,\"id\":2,\"ts\":4,\"ph\":\"F\",\"cat\":\"cc\",\"name\":"
"\"t2 event\"}";
- std::string trace_json = "[" + JoinString(event_specs, ',') + "]";
+ std::string trace_json = "[" + base::JoinString(event_specs, ",") + "]";
std::vector<Event> events;
ASSERT_TRUE(GetEvents(trace_json, &events));
ASSERT_EQ(2u, events.size());
@@ -206,7 +206,7 @@ TEST(GetEventsTest, AsyncEventIdIsString) {
"{\"tid\":1003,\"id\":\"a\",\"ts\":3,\"ph\":\"F\",\"cat\":\"cc\","
"\"name\":\"t1 event\"}";
- std::string trace_json = "[" + JoinString(event_specs, ',') + "]";
+ std::string trace_json = "[" + base::JoinString(event_specs, ",") + "]";
std::vector<Event> events;
ASSERT_TRUE(GetEvents(trace_json, &events));
ASSERT_EQ(1u, events.size());
« no previous file with comments | « apps/benchmark/benchmark_app.cc ('k') | base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698