OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 sys | 4 import sys |
5 | 5 |
6 from telemetry import test | 6 from telemetry import test |
7 | 7 |
8 from measurements import page_cycler | 8 from measurements import page_cycler |
9 | 9 |
10 | 10 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 } | 84 } |
85 | 85 |
86 def __init__(self): | 86 def __init__(self): |
87 super(PageCyclerNetsimTop10, self).__init__() | 87 super(PageCyclerNetsimTop10, self).__init__() |
88 # TODO: This isn't quite right. | 88 # TODO: This isn't quite right. |
89 # This option will still apply to page cyclers that run after this one. | 89 # This option will still apply to page cyclers that run after this one. |
90 self.test.clear_cache_before_each_run = True | 90 self.test.clear_cache_before_each_run = True |
91 | 91 |
92 | 92 |
93 class PageCyclerTop10Mobile(test.Test): | 93 class PageCyclerTop10Mobile(test.Test): |
94 enabled = False # Fails on Android. | |
95 | |
96 test = page_cycler.PageCycler | 94 test = page_cycler.PageCycler |
97 page_set = 'page_sets/top_10_mobile.json' | 95 page_set = 'page_sets/top_10_mobile.json' |
98 options = {'pageset_repeat_iters': 10} | 96 options = {'pageset_repeat_iters': 10} |
99 | 97 |
100 | 98 |
101 class PageCyclerToughLayoutCases(test.Test): | 99 class PageCyclerToughLayoutCases(test.Test): |
102 test = page_cycler.PageCycler | 100 test = page_cycler.PageCycler |
103 page_set = 'page_sets/tough_layout_cases.json' | 101 page_set = 'page_sets/tough_layout_cases.json' |
104 options = {'pageset_repeat_iters': 10} | 102 options = {'pageset_repeat_iters': 10} |
105 | 103 |
106 | 104 |
107 class PageCyclerTypical25(test.Test): | 105 class PageCyclerTypical25(test.Test): |
108 # crbug.com/273986: This test is really flakey on xp. | 106 # crbug.com/273986: This test is really flakey on xp. |
109 enabled = not sys.platform.startswith('win') | 107 enabled = not sys.platform.startswith('win') |
110 test = page_cycler.PageCycler | 108 test = page_cycler.PageCycler |
111 page_set = 'page_sets/typical_25.json' | 109 page_set = 'page_sets/typical_25.json' |
112 options = {'pageset_repeat_iters': 10} | 110 options = {'pageset_repeat_iters': 10} |
OLD | NEW |