1# Copyright 2014 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import unittest
6
7from telemetry import decorators
8
9
10# These are not real unittests.
11# They are merely to test our Enable/Disable annotations.
12class DisabledCases(unittest.TestCase):
13
14  def testAllEnabled(self):
15    pass
16
17  @decorators.Disabled('all')
18  def testAllDisabled(self):
19    pass
20
21  @decorators.Enabled('mavericks')
22  def testMavericksOnly(self):
23    pass
24
25  @decorators.Disabled('mavericks')
26  def testNoMavericks(self):
27    pass
28
29  @decorators.Enabled('mac')
30  def testMacOnly(self):
31    pass
32
33  @decorators.Disabled('mac')
34  def testNoMac(self):
35    pass
36
37  @decorators.Enabled('chromeos')
38  def testChromeOSOnly(self):
39    pass
40
41  @decorators.Disabled('chromeos')
42  def testNoChromeOS(self):
43    pass
44
45  @decorators.Enabled('win', 'linux')
46  def testWinOrLinuxOnly(self):
47    pass
48
49  @decorators.Disabled('win', 'linux')
50  def testNoWinLinux(self):
51    pass
52
53  @decorators.Enabled('system')
54  def testSystemOnly(self):
55    pass
56
57  @decorators.Disabled('system')
58  def testNoSystem(self):
59    pass
60
61  @decorators.Enabled('has tabs')
62  def testHasTabs(self):
63    pass
64