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

Side by Side Diff: tools/telemetry/telemetry/timeline/trace_event_importer_unittest.py

Issue 1020853015: [telemetry] Add newlines to the end of all files that are missing it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « tools/telemetry/telemetry/timeline/trace_data_unittest.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import json 5 import json
6 import unittest 6 import unittest
7 7
8 import telemetry.timeline.counter as tracing_counter 8 import telemetry.timeline.counter as tracing_counter
9 import telemetry.timeline.model as timeline_model 9 import telemetry.timeline.model as timeline_model
10 from telemetry.timeline import trace_data as trace_data_module 10 from telemetry.timeline import trace_data as trace_data_module
(...skipping 1000 matching lines...) Expand 10 before | Expand all | Expand 10 after
1011 {'name': 'a2', 'cat': 'foo', 'id': 70, 'pid': 52, 'tid': 53, 'ts': 550, 1011 {'name': 'a2', 'cat': 'foo', 'id': 70, 'pid': 52, 'tid': 53, 'ts': 550,
1012 'ph': 's', 'args': {}}, 1012 'ph': 's', 'args': {}},
1013 {'name': 'b', 'cat': 'foo', 'id': 73, 'pid': 52, 'tid': 53, 'ts': 570, 1013 {'name': 'b', 'cat': 'foo', 'id': 73, 'pid': 52, 'tid': 53, 'ts': 570,
1014 'ph': 'f', 'args': {}}, 1014 'ph': 'f', 'args': {}},
1015 {'name': 'a', 'cat': 'foo', 'id': 72, 'pid': 52, 'tid': 53, 'ts': 560, 1015 {'name': 'a', 'cat': 'foo', 'id': 72, 'pid': 52, 'tid': 53, 'ts': 560,
1016 'ph': 't', 'args': {}}, 1016 'ph': 't', 'args': {}},
1017 ] 1017 ]
1018 1018
1019 trace_data = trace_data_module.TraceData(events) 1019 trace_data = trace_data_module.TraceData(events)
1020 m = timeline_model.TimelineModel(trace_data) 1020 m = timeline_model.TimelineModel(trace_data)
1021 self.assertEqual(0, len(m.flow_events)) 1021 self.assertEqual(0, len(m.flow_events))
OLDNEW
« no previous file with comments | « tools/telemetry/telemetry/timeline/trace_data_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698