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

Unified Diff: tools/perf/measurements/repaint_unittest.py

Issue 797003002: Replaced @benchmark.Enabled/Disabled and @test.Enabled/Disabled with @decorators.Enabled/Disabled i… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed some bad imports Created 6 years 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/perf/measurements/repaint_unittest.py
diff --git a/tools/perf/measurements/repaint_unittest.py b/tools/perf/measurements/repaint_unittest.py
index 4c35bbdcb93e2b22140e6c78a3f7ac1356fd3803..cfe5f709c6faf21fab0ea5bbbf195c6c7648c8e6 100644
--- a/tools/perf/measurements/repaint_unittest.py
+++ b/tools/perf/measurements/repaint_unittest.py
@@ -3,11 +3,11 @@
# found in the LICENSE file.
from measurements import repaint
+from telemetry import decorators
from telemetry.core import wpr_modes
from telemetry.page import page as page_module
from telemetry.unittest_util import options_for_unittests
from telemetry.unittest_util import page_test_test_case
-from telemetry.unittest_util import test
class TestRepaintPage(page_module.Page):
@@ -56,6 +56,6 @@ class RepaintUnitTest(page_test_test_case.PageTestTestCase):
self.assertEquals(len(percentage_smooth), 1)
self.assertGreaterEqual(percentage_smooth[0].GetRepresentativeNumber(), 0)
- @test.Disabled('android')
+ @decorators.Disabled('android')
def testCleanUpTrace(self):
self.TestTracingCleanedUp(repaint.Repaint, self._options)
« no previous file with comments | « tools/perf/measurements/record_per_area_unittest.py ('k') | tools/perf/measurements/skpicture_printer_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698