| OLD | NEW |
| 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 import os | 4 import os |
| 5 import random | 5 import random |
| 6 | 6 |
| 7 import screenshot_sync_expectations as expectations | 7 import screenshot_sync_expectations as expectations |
| 8 | 8 |
| 9 from telemetry import benchmark | 9 from telemetry import benchmark |
| 10 from telemetry.core import util | 10 from telemetry.core import util |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 test = _ScreenshotSyncValidator | 62 test = _ScreenshotSyncValidator |
| 63 | 63 |
| 64 @classmethod | 64 @classmethod |
| 65 def Name(cls): | 65 def Name(cls): |
| 66 return 'screenshot_sync' | 66 return 'screenshot_sync' |
| 67 | 67 |
| 68 def CreateExpectations(self): | 68 def CreateExpectations(self): |
| 69 return expectations.ScreenshotSyncExpectations() | 69 return expectations.ScreenshotSyncExpectations() |
| 70 | 70 |
| 71 def CreatePageSet(self, options): | 71 def CreatePageSet(self, options): |
| 72 ps = page_set.PageSet(file_path=data_path, serving_dirs=['']) | 72 ps = page_set.PageSet(base_dir=data_path, serving_dirs=['']) |
| 73 ps.AddUserStory(ScreenshotSyncPage(ps, ps.base_dir)) | 73 ps.AddUserStory(ScreenshotSyncPage(ps, ps.base_dir)) |
| 74 return ps | 74 return ps |
| OLD | NEW |