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

Unified Diff: tools/telemetry/telemetry/unittest_util/disabled_cases.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/unittest_util/disabled_cases.py
diff --git a/tools/telemetry/telemetry/unittest_util/disabled_cases.py b/tools/telemetry/telemetry/unittest_util/disabled_cases.py
index 02edb5fe70e6515658c3e1dd53f8262329bf997b..0cace2ab379b3f256a79dbbb43a20dcfb0289992 100644
--- a/tools/telemetry/telemetry/unittest_util/disabled_cases.py
+++ b/tools/telemetry/telemetry/unittest_util/disabled_cases.py
@@ -4,7 +4,7 @@
import unittest
-from telemetry.unittest_util import test
+from telemetry import decorators
# These are not real unittests.
@@ -14,50 +14,50 @@ class DisabledCases(unittest.TestCase):
def testAllEnabled(self):
pass
- @test.Disabled
+ @decorators.Disabled
def testAllDisabled(self):
pass
- @test.Enabled('mavericks')
+ @decorators.Enabled('mavericks')
def testMavericksOnly(self):
pass
- @test.Disabled('mavericks')
+ @decorators.Disabled('mavericks')
def testNoMavericks(self):
pass
- @test.Enabled('mac')
+ @decorators.Enabled('mac')
def testMacOnly(self):
pass
- @test.Disabled('mac')
+ @decorators.Disabled('mac')
def testNoMac(self):
pass
- @test.Enabled('chromeos')
+ @decorators.Enabled('chromeos')
def testChromeOSOnly(self):
pass
- @test.Disabled('chromeos')
+ @decorators.Disabled('chromeos')
def testNoChromeOS(self):
pass
- @test.Enabled('win', 'linux')
+ @decorators.Enabled('win', 'linux')
def testWinOrLinuxOnly(self):
pass
- @test.Disabled('win', 'linux')
+ @decorators.Disabled('win', 'linux')
def testNoWinLinux(self):
pass
- @test.Enabled('system')
+ @decorators.Enabled('system')
def testSystemOnly(self):
pass
- @test.Disabled('system')
+ @decorators.Disabled('system')
def testNoSystem(self):
pass
- @test.Enabled('has tabs')
+ @decorators.Enabled('has tabs')
def testHasTabs(self):
pass
« no previous file with comments | « tools/telemetry/telemetry/page/page_test_unittest.py ('k') | tools/telemetry/telemetry/unittest_util/test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698