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

Unified Diff: tools/perf/measurements/record_per_area_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/record_per_area_unittest.py
diff --git a/tools/perf/measurements/record_per_area_unittest.py b/tools/perf/measurements/record_per_area_unittest.py
index d544cab75f7e0bc4e42bbdb8b204dde76e8f0d1f..b782b204c86259c8e7bf6ea7c78030f513abd8e7 100644
--- a/tools/perf/measurements/record_per_area_unittest.py
+++ b/tools/perf/measurements/record_per_area_unittest.py
@@ -4,9 +4,9 @@
from measurements import record_per_area
from telemetry.core import wpr_modes
+from telemetry import decorators
from telemetry.unittest_util import options_for_unittests
from telemetry.unittest_util import page_test_test_case
-from telemetry.unittest_util import test
class RecordPerAreaUnitTest(page_test_test_case.PageTestTestCase):
@@ -21,7 +21,7 @@ class RecordPerAreaUnitTest(page_test_test_case.PageTestTestCase):
self._options = options_for_unittests.GetCopy()
self._options.browser_options.wpr_mode = wpr_modes.WPR_OFF
- @test.Disabled('android')
+ @decorators.Disabled('android')
def testRecordPerArea(self):
ps = self.CreatePageSetFromFileInUnittestDataDir('scrollable_page.html')
measurement = record_per_area.RecordPerArea()
« no previous file with comments | « tools/perf/measurements/rasterize_and_record_micro_unittest.py ('k') | tools/perf/measurements/repaint_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698