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

Unified Diff: tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler_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/platform/profiler/android_systrace_profiler_unittest.py
diff --git a/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler_unittest.py b/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler_unittest.py
index 1baf0f8729d5755b002bdd94f570b0fda3aad322..158f1dae5a783fa11c0b40d0d34062f0e108e160 100644
--- a/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler_unittest.py
+++ b/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler_unittest.py
@@ -6,13 +6,13 @@ import shutil
import tempfile
import zipfile
-from telemetry import benchmark
+from telemetry import decorators
from telemetry.core.platform.profiler import android_systrace_profiler
from telemetry.unittest_util import tab_test_case
class TestAndroidSystraceProfiler(tab_test_case.TabTestCase):
- @benchmark.Enabled('android')
+ @decorators.Enabled('android')
def testSystraceProfiler(self):
try:
out_dir = tempfile.mkdtemp()

Powered by Google App Engine
This is Rietveld 408576698