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

Side by Side Diff: tools/perf/measurements/measurement_smoke_test.py

Issue 1029263003: [telemetry] Sort imports in Telemetry and its dependents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ensure we're up to date. Created 5 years, 9 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 | « tools/perf/measurements/image_decoding.py ('k') | tools/perf/measurements/media.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 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 """Measurement smoke test to make sure that no new action_name_to_run is 4 """Measurement smoke test to make sure that no new action_name_to_run is
5 defined.""" 5 defined."""
6 6
7 import logging
8 import optparse
7 import os 9 import os
8 import optparse
9 import logging
10 import unittest 10 import unittest
11 11
12 from telemetry import benchmark as benchmark_module 12 from telemetry import benchmark as benchmark_module
13 from telemetry.core import discover 13 from telemetry.core import discover
14 from telemetry.page import page_test 14 from telemetry.page import page_test
15 from telemetry.unittest_util import options_for_unittests 15 from telemetry.unittest_util import options_for_unittests
16 from telemetry.util import classes 16 from telemetry.util import classes
17 from telemetry.web_perf import timeline_based_measurement 17 from telemetry.web_perf import timeline_based_measurement
18 18
19 19
(...skipping 30 matching lines...) Expand all
50 if not isinstance(pt, timeline_based_measurement.TimelineBasedMeasurement): 50 if not isinstance(pt, timeline_based_measurement.TimelineBasedMeasurement):
51 page_test_instances.append(pt) 51 page_test_instances.append(pt)
52 52
53 return page_test_instances 53 return page_test_instances
54 54
55 55
56 class MeasurementSmokeTest(unittest.TestCase): 56 class MeasurementSmokeTest(unittest.TestCase):
57 # Simple smoke test to make sure that all page_test are constructible. 57 # Simple smoke test to make sure that all page_test are constructible.
58 def testAllMeasurementInstance(self): 58 def testAllMeasurementInstance(self):
59 _GetAllPossiblePageTestInstances() 59 _GetAllPossiblePageTestInstances()
OLDNEW
« no previous file with comments | « tools/perf/measurements/image_decoding.py ('k') | tools/perf/measurements/media.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698