Update sdk/platform-tools to version 26.0.0.
[android_tools.git] / sdk / platform-tools / systrace / catapult / telemetry / examples / browser_tests / simple_sharding_test.py
blobfdb78a9a53c9ae1ffb5b474e258e6066fad0307a
1 # Copyright 2016 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.
5 import sys
7 from telemetry.testing import serially_executed_browser_test_case
10 class SimpleShardingTest(
11 serially_executed_browser_test_case.SeriallyExecutedBrowserTestCase):
13 def Test1(self):
14 pass
16 def Test2(self):
17 pass
19 def Test3(self):
20 pass
22 @classmethod
23 def GenerateTestCases_PassingTest(cls, options):
24 del options # unused
25 for i in xrange(10):
26 yield 'passing_test_' + str(i), (i,)
28 def PassingTest(self, a):
29 self.assertGreaterEqual(a, 0)
32 def load_tests(loader, tests, pattern):
33 del loader, tests, pattern # Unused.
34 return serially_executed_browser_test_case.LoadAllTestsInModule(
35 sys.modules[__name__])