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

Unified Diff: tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_memory_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/telemetry/telemetry/core/backends/chrome_inspector/inspector_memory_unittest.py
diff --git a/tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_memory_unittest.py b/tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_memory_unittest.py
index b92d4b6f8adee327c0c8012718260442fc09b15c..f1edea571a056afe86ca2f12a6a025be31706b59 100644
--- a/tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_memory_unittest.py
+++ b/tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_memory_unittest.py
@@ -2,14 +2,14 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-from telemetry import benchmark
+from telemetry import decorators
from telemetry.unittest_util import tab_test_case
class InspectorMemoryTest(tab_test_case.TabTestCase):
- @benchmark.Enabled('has tabs')
- @benchmark.Disabled # http://crbug.com/422244
+ @decorators.Enabled('has tabs')
+ @decorators.Disabled # http://crbug.com/422244
def testGetDOMStats(self):
# Due to an issue with CrOS, we create a new tab here rather than
# using the existing tab to get a consistent starting page on all platforms.

Powered by Google App Engine
This is Rietveld 408576698