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

Unified Diff: tools/telemetry/telemetry/core/platform/profiler/vtune_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/vtune_profiler_unittest.py
diff --git a/tools/telemetry/telemetry/core/platform/profiler/vtune_profiler_unittest.py b/tools/telemetry/telemetry/core/platform/profiler/vtune_profiler_unittest.py
index 225b542e55dcab2611df413ab8f803fe2ee35110..a01c6543eb41d622ed8deed4c3e4fef331549e1f 100644
--- a/tools/telemetry/telemetry/core/platform/profiler/vtune_profiler_unittest.py
+++ b/tools/telemetry/telemetry/core/platform/profiler/vtune_profiler_unittest.py
@@ -5,7 +5,7 @@
import sys
import unittest
-from telemetry import benchmark
+from telemetry import decorators
from telemetry.core.platform.profiler import vtune_profiler
from telemetry.unittest_util import options_for_unittests
from telemetry.unittest_util import simple_mock
@@ -99,7 +99,7 @@ class TestVTuneProfilerTabTestCase(tab_test_case.TabTestCase):
# This test is only meant to be run if VTune is installed locally. Please
# run it locally if you are modifying related code, but it's disabled on the
# bots because they don't have VTune. See crbug.com/437085
- @benchmark.Disabled
+ @decorators.Disabled
def testVTuneProfiler(self):
mock_subprocess = MockSubprocess()
real_subprocess = vtune_profiler.subprocess

Powered by Google App Engine
This is Rietveld 408576698