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

Side by Side Diff: tools/perf/measurements/repaint_unittest.py

Issue 356833010: Delete all_page_actions, which is now empty. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 5 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/perf/benchmarks/maps.py ('k') | tools/perf/measurements/smoothness_unittest.py » ('j') | 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 from measurements import repaint 5 from measurements import repaint
6 from telemetry.core import wpr_modes 6 from telemetry.core import wpr_modes
7 from telemetry.page import page_measurement_unittest_base 7 from telemetry.page import page_measurement_unittest_base
8 from telemetry.page import page as page_module 8 from telemetry.page import page as page_module
9 # pylint: disable=W0401,W0614
10 from telemetry.page.actions.all_page_actions import *
11 from telemetry.unittest import options_for_unittests 9 from telemetry.unittest import options_for_unittests
12 from telemetry.unittest import test 10 from telemetry.unittest import test
13 11
14 12
15 class TestRepaintPage(page_module.Page): 13 class TestRepaintPage(page_module.Page):
16 def __init__(self, page_set, base_dir): 14 def __init__(self, page_set, base_dir):
17 super(TestRepaintPage, self).__init__('file://blank.html', 15 super(TestRepaintPage, self).__init__('file://blank.html',
18 page_set, base_dir) 16 page_set, base_dir)
19 17
20 def RunRepaint(self, action_runner): 18 def RunRepaint(self, action_runner):
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 self.assertEquals(len(jank), 1) 51 self.assertEquals(len(jank), 1)
54 self.assertGreater(jank[0].GetRepresentativeNumber(), 0) 52 self.assertGreater(jank[0].GetRepresentativeNumber(), 0)
55 53
56 mostly_smooth = results.FindAllPageSpecificValuesNamed('mostly_smooth') 54 mostly_smooth = results.FindAllPageSpecificValuesNamed('mostly_smooth')
57 self.assertEquals(len(mostly_smooth), 1) 55 self.assertEquals(len(mostly_smooth), 1)
58 self.assertGreaterEqual(mostly_smooth[0].GetRepresentativeNumber(), 0) 56 self.assertGreaterEqual(mostly_smooth[0].GetRepresentativeNumber(), 0)
59 57
60 @test.Disabled('android') 58 @test.Disabled('android')
61 def testCleanUpTrace(self): 59 def testCleanUpTrace(self):
62 self.TestTracingCleanedUp(repaint.Repaint, self._options) 60 self.TestTracingCleanedUp(repaint.Repaint, self._options)
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/maps.py ('k') | tools/perf/measurements/smoothness_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698