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

Unified Diff: tools/telemetry/telemetry/web_perf/timeline_interaction_record_unittest.py

Issue 1007583002: [Telemetry] Remove is_respsonsive flag. (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 side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/telemetry/web_perf/timeline_interaction_record_unittest.py
diff --git a/tools/telemetry/telemetry/web_perf/timeline_interaction_record_unittest.py b/tools/telemetry/telemetry/web_perf/timeline_interaction_record_unittest.py
index eb82c83e7da6339f6860a8a16d4e36069af6aff3..563af15647582474bea5ebac731717d6d9aeb7ce 100644
--- a/tools/telemetry/telemetry/web_perf/timeline_interaction_record_unittest.py
+++ b/tools/telemetry/telemetry/web_perf/timeline_interaction_record_unittest.py
@@ -40,32 +40,28 @@ class TimelineInteractionRecordTests(unittest.TestCase):
r = self.CreateSimpleRecordWithName('Interaction.LogicalName')
self.assertEquals('LogicalName', r.label)
self.assertEquals(False, r.is_smooth)
- self.assertEquals(False, r.is_responsive)
r = self.CreateSimpleRecordWithName('Interaction.LogicalName/is_smooth')
self.assertEquals('LogicalName', r.label)
self.assertEquals(True, r.is_smooth)
- self.assertEquals(False, r.is_responsive)
r = self.CreateSimpleRecordWithName(
'Interaction.LogicalNameWith/Slash/is_smooth')
self.assertEquals('LogicalNameWith/Slash', r.label)
self.assertEquals(True, r.is_smooth)
- self.assertEquals(False, r.is_responsive)
r = self.CreateSimpleRecordWithName(
- 'Interaction.LogicalNameWith/Slash/is_smooth,is_responsive')
+ 'Interaction.LogicalNameWith/Slash/is_smooth')
self.assertEquals('LogicalNameWith/Slash', r.label)
self.assertEquals(True, r.is_smooth)
- self.assertEquals(True, r.is_responsive)
def testGetJavaScriptMarker(self):
smooth_marker = tir_module.GetJavaScriptMarker(
'MyLabel', [tir_module.IS_SMOOTH])
self.assertEquals('Interaction.MyLabel/is_smooth', smooth_marker)
slr_marker = tir_module.GetJavaScriptMarker(
- 'MyLabel', [tir_module.IS_SMOOTH, tir_module.IS_RESPONSIVE])
- self.assertEquals('Interaction.MyLabel/is_smooth,is_responsive', slr_marker)
+ 'MyLabel', [tir_module.IS_SMOOTH])
+ self.assertEquals('Interaction.MyLabel/is_smooth', slr_marker)
def testGetOverlappedThreadTimeForSliceInSameThread(self):
# Create a renderer thread.

Powered by Google App Engine
This is Rietveld 408576698