| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 test = page_cycler.PageCycler | 94 test = page_cycler.PageCycler |
| 95 page_set = 'page_sets/top_10_mobile.json' | 95 page_set = 'page_sets/top_10_mobile.json' |
| 96 options = {'pageset_repeat_iters': 10} | 96 options = {'pageset_repeat_iters': 10} |
| 97 | 97 |
| 98 | 98 |
| 99 class PageCyclerKeyMobileSites(test.Test): |
| 100 test = page_cycler.PageCycler |
| 101 page_set = 'page_sets/key_mobile_sites.json' |
| 102 options = {'pageset_repeat_iters': 10} |
| 103 |
| 104 |
| 99 class PageCyclerToughLayoutCases(test.Test): | 105 class PageCyclerToughLayoutCases(test.Test): |
| 100 test = page_cycler.PageCycler | 106 test = page_cycler.PageCycler |
| 101 page_set = 'page_sets/tough_layout_cases.json' | 107 page_set = 'page_sets/tough_layout_cases.json' |
| 102 options = {'pageset_repeat_iters': 10} | 108 options = {'pageset_repeat_iters': 10} |
| 103 | 109 |
| 104 | 110 |
| 105 class PageCyclerTypical25(test.Test): | 111 class PageCyclerTypical25(test.Test): |
| 106 # crbug.com/273986: This test is really flakey on xp. | 112 # crbug.com/273986: This test is really flakey on xp. |
| 107 enabled = not sys.platform.startswith('win') | 113 enabled = not sys.platform.startswith('win') |
| 108 test = page_cycler.PageCycler | 114 test = page_cycler.PageCycler |
| 109 page_set = 'page_sets/typical_25.json' | 115 page_set = 'page_sets/typical_25.json' |
| 110 options = {'pageset_repeat_iters': 10} | 116 options = {'pageset_repeat_iters': 10} |
| OLD | NEW |