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

Side by Side Diff: tools/perf/core/benchmark_finders_unittest.py

Issue 2291523002: Disable testListSimpleBenchmarksDefinedInOneFileComplex. (Closed)
Patch Set: rebase Created 4 years, 3 months 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 import os 4 import os
5 import unittest 5 import unittest
6 6
7 from core import benchmark_finders 7 from core import benchmark_finders
8 from telemetry import decorators 8 from telemetry import decorators
9 9
10 10
11 class TestGetBenchmarkNamesForFile(unittest.TestCase): 11 class TestGetBenchmarkNamesForFile(unittest.TestCase):
12 12
13 def setUp(self): 13 def setUp(self):
14 self.top_level_dir = os.path.abspath( 14 self.top_level_dir = os.path.abspath(
15 os.path.join(os.path.dirname(__file__), 'test_data')) 15 os.path.join(os.path.dirname(__file__), 'test_data'))
16 16
17 def testListSimpleBenchmarksDefinedInOneFile(self): 17 def testListSimpleBenchmarksDefinedInOneFile(self):
18 self.assertEquals( 18 self.assertEquals(
19 benchmark_finders.GetBenchmarkNamesForFile( 19 benchmark_finders.GetBenchmarkNamesForFile(
20 self.top_level_dir, 20 self.top_level_dir,
21 os.path.join( 21 os.path.join(
22 self.top_level_dir, 22 self.top_level_dir,
23 'simple_benchmarks_case.py')), 23 'simple_benchmarks_case.py')),
24 ['test_benchmark_1', 'test_benchmark_2', 'test_benchmark_subclass_1', 24 ['test_benchmark_1', 'test_benchmark_2', 'test_benchmark_subclass_1',
25 'test_benchmark_subclass_2']) 25 'test_benchmark_subclass_2'])
26 26
27 @decorators.Disabled('chromeos') # http://crbug.com/637938 27 @decorators.Disabled('all') # http://crbug.com/637938
28 def testListSimpleBenchmarksDefinedInOneFileComplex(self): 28 def testListSimpleBenchmarksDefinedInOneFileComplex(self):
29 self.assertEquals( 29 self.assertEquals(
30 benchmark_finders.GetBenchmarkNamesForFile( 30 benchmark_finders.GetBenchmarkNamesForFile(
31 self.top_level_dir, 31 self.top_level_dir,
32 os.path.join( 32 os.path.join(
33 self.top_level_dir, 33 self.top_level_dir,
34 'complex_benchmarks_case.py')), 34 'complex_benchmarks_case.py')),
35 ['test_benchmark_complex_1', 'test_benchmark_complex_subclass', 35 ['test_benchmark_complex_1', 'test_benchmark_complex_subclass',
36 'test_benchmark_complex_subclass_from_other_module']) 36 'test_benchmark_complex_subclass_from_other_module'])
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698