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

Unified Diff: tools/perf/metrics/timeline_interaction_record_unittest.py

Issue 200843002: Convert smoothness to the new timeline based metric API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « tools/perf/metrics/timeline_interaction_record.py ('k') | tools/telemetry/telemetry/page/page.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/metrics/timeline_interaction_record_unittest.py
diff --git a/tools/perf/metrics/timeline_interaction_record_unittest.py b/tools/perf/metrics/timeline_interaction_record_unittest.py
index 99cf01707b1ee7f5e360bbe0bdebc2f2942b5061..8bc80bd9558469053f6c3148be20f71f42777dbb 100644
--- a/tools/perf/metrics/timeline_interaction_record_unittest.py
+++ b/tools/perf/metrics/timeline_interaction_record_unittest.py
@@ -21,7 +21,7 @@ class ParseTests(unittest.TestCase):
s = async_slice.AsyncSlice(
'cat', event_name,
timestamp=1, duration=2)
- return timeline_interaction_record.TimelineInteractionRecord(s)
+ return timeline_interaction_record.TimelineInteractionRecord.FromEvent(s)
def testCreate(self):
r = self.CreateRecord('Interaction.LogicalName')
« no previous file with comments | « tools/perf/metrics/timeline_interaction_record.py ('k') | tools/telemetry/telemetry/page/page.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698