| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 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 | 4 |
| 5 import os | 5 import os |
| 6 import tempfile | 6 import tempfile |
| 7 | 7 |
| 8 from measurements import session_restore | 8 from measurements import session_restore |
| 9 from measurements import session_restore_with_url | 9 from measurements import session_restore_with_url |
| 10 from profile_creators import small_profile_creator | 10 from profile_creators import small_profile_creator |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 @test.Disabled('android') # crbug.com/325479 | 32 @test.Disabled('android') # crbug.com/325479 |
| 33 class SessionRestoreColdTypical25(_SessionRestoreTest): | 33 class SessionRestoreColdTypical25(_SessionRestoreTest): |
| 34 tag = 'cold' | 34 tag = 'cold' |
| 35 test = session_restore.SessionRestore | 35 test = session_restore.SessionRestore |
| 36 page_set = 'page_sets/typical_25.py' | 36 page_set = 'page_sets/typical_25.py' |
| 37 options = {'cold': True, | 37 options = {'cold': True, |
| 38 'pageset_repeat': 5} | 38 'pageset_repeat': 5} |
| 39 | 39 |
| 40 | 40 |
| 41 @test.Disabled('android') # crbug.com/325479 |
| 41 class SessionRestoreWarmTypical25(_SessionRestoreTest): | 42 class SessionRestoreWarmTypical25(_SessionRestoreTest): |
| 42 tag = 'warm' | 43 tag = 'warm' |
| 43 test = session_restore.SessionRestore | 44 test = session_restore.SessionRestore |
| 44 page_set = 'page_sets/typical_25.py' | 45 page_set = 'page_sets/typical_25.py' |
| 45 options = {'warm': True, | 46 options = {'warm': True, |
| 46 'pageset_repeat': 20} | 47 'pageset_repeat': 20} |
| 47 | 48 |
| 48 | 49 |
| 50 @test.Disabled('android') # crbug.com/325479 |
| 49 class SessionRestoreWithUrlCold(_SessionRestoreTest): | 51 class SessionRestoreWithUrlCold(_SessionRestoreTest): |
| 50 """Measure Chrome cold session restore with startup URLs.""" | 52 """Measure Chrome cold session restore with startup URLs.""" |
| 51 tag = 'cold' | 53 tag = 'cold' |
| 52 test = session_restore_with_url.SessionRestoreWithUrl | 54 test = session_restore_with_url.SessionRestoreWithUrl |
| 53 page_set = 'page_sets/startup_pages.py' | 55 page_set = 'page_sets/startup_pages.py' |
| 54 options = {'cold': True, | 56 options = {'cold': True, |
| 55 'pageset_repeat': 5} | 57 'pageset_repeat': 5} |
| 56 | 58 |
| 57 | 59 |
| 60 @test.Disabled('android') # crbug.com/325479 |
| 58 class SessionRestoreWithUrlWarm(_SessionRestoreTest): | 61 class SessionRestoreWithUrlWarm(_SessionRestoreTest): |
| 59 """Measure Chrome warm session restore with startup URLs.""" | 62 """Measure Chrome warm session restore with startup URLs.""" |
| 60 tag = 'warm' | 63 tag = 'warm' |
| 61 test = session_restore_with_url.SessionRestoreWithUrl | 64 test = session_restore_with_url.SessionRestoreWithUrl |
| 62 page_set = 'page_sets/startup_pages.py' | 65 page_set = 'page_sets/startup_pages.py' |
| 63 options = {'warm': True, | 66 options = {'warm': True, |
| 64 'pageset_repeat': 10} | 67 'pageset_repeat': 10} |
| OLD | NEW |