disabled_cases.py revision 116680a4aac90f2aa7413d9095a592090648e557
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.unittest import test
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  @test.Disabled
18  def testAllDisabled(self):
19    pass
20
21  @test.Enabled('mavericks')
22  def testMavericksOnly(self):
23    pass
24
25  @test.Disabled('mavericks')
26  def testNoMavericks(self):
27    pass
28
29  @test.Enabled('mac')
30  def testMacOnly(self):
31    pass
32
33  @test.Disabled('mac')
34  def testNoMac(self):
35    pass
36
37  @test.Enabled('chromeos')
38  def testChromeOSOnly(self):
39    pass
40
41  @test.Disabled('chromeos')
42  def testNoChromeOS(self):
43    pass
44
45  @test.Enabled('win', 'linux')
46  def testWinOrLinuxOnly(self):
47    pass
48
49  @test.Disabled('win', 'linux')
50  def testNoWinLinux(self):
51    pass
52
53  @test.Enabled('system')
54  def testSystemOnly(self):
55    pass
56
57  @test.Disabled('system')
58  def testNoSystem(self):
59    pass
60
61  @test.Enabled('has tabs')
62  def testHasTabs(self):
63    pass
64