Index: tools/perf/measurements/smoothness_unittest.py |
diff --git a/tools/perf/measurements/smoothness_unittest.py b/tools/perf/measurements/smoothness_unittest.py |
index fc8a87509b66a7c33718050805a4957d1328584b..9723bb18aa16d70fe0cb2602c24997921d3da1a3 100644 |
--- a/tools/perf/measurements/smoothness_unittest.py |
+++ b/tools/perf/measurements/smoothness_unittest.py |
@@ -143,6 +143,14 @@ class SmoothnessUnitTest(page_test_test_case.PageTestTestCase): |
self.assertEquals(1, len(jank_count)) |
self.assertGreater(jank_count[0].GetRepresentativeNumber(), -1) |
nednguyen
2014/12/23 15:39:11
Wouldn't these only work for android?
sullivan
2014/12/23 15:42:59
Yep, they only work for Android. The code review t
|
+ max_frame_delay = results.FindAllPageSpecificValuesNamed('max_frame_delay') |
+ self.assertEquals(1, len(max_frame_delay)) |
+ self.assertGreater(max_frame_delay[0].GetRepresentativeNumber, 0) |
+ |
+ frame_lengths = results.FindAllPageSpecificValuesNamed('frame_lengths') |
+ self.assertEquals(1, len(frame_lengths)) |
+ self.assertGreater(frame_lengths[0].GetRepresentativeNumber, 0) |
+ |
@decorators.Disabled('mac', 'chromeos') # http://crbug.com/403903 |
def testSmoothnessForPageWithNoGesture(self): |
ps = self.CreateEmptyPageSet() |