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

Unified Diff: tools/perf/measurements/thread_times_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/thread_times_unittest.py
diff --git a/tools/perf/measurements/thread_times_unittest.py b/tools/perf/measurements/thread_times_unittest.py
index df31a72abeaba9859bc21e2f48bf34b362923c1a..bdd7dbc3cf35e64725e21bafa4e0654576e9f180 100644
--- a/tools/perf/measurements/thread_times_unittest.py
+++ b/tools/perf/measurements/thread_times_unittest.py
@@ -5,10 +5,10 @@
from measurements import thread_times
from measurements import smoothness_unittest
from metrics import timeline
+from telemetry import decorators
from telemetry.core import wpr_modes
from telemetry.unittest_util import options_for_unittests
from telemetry.unittest_util import page_test_test_case
-from telemetry.unittest_util import test
@@ -17,7 +17,7 @@ class ThreadTimesUnitTest(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 testBasic(self):
ps = self.CreatePageSetFromFileInUnittestDataDir('scrollable_page.html')
measurement = thread_times.ThreadTimes()
« no previous file with comments | « tools/perf/measurements/smoothness_unittest.py ('k') | tools/telemetry/telemetry/core/backends/chrome/cros_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698