OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 from datetime import datetime | 4 from datetime import datetime |
5 import glob | 5 import glob |
6 import optparse | 6 import optparse |
7 import os | 7 import os |
8 import re | 8 import re |
9 | 9 |
10 import cloud_storage_test_base | 10 import cloud_storage_test_base |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 help='Overrides the default on-disk location for reference images ' | 156 help='Overrides the default on-disk location for reference images ' |
157 '(only used for local testing without a cloud storage account)', | 157 '(only used for local testing without a cloud storage account)', |
158 default=default_reference_image_dir) | 158 default=default_reference_image_dir) |
159 | 159 |
160 def CreatePageSet(self, options): | 160 def CreatePageSet(self, options): |
161 page_set = page_sets.PixelTestsPageSet() | 161 page_set = page_sets.PixelTestsPageSet() |
162 for page in page_set.pages: | 162 for page in page_set.pages: |
163 page.script_to_evaluate_on_commit = test_harness_script | 163 page.script_to_evaluate_on_commit = test_harness_script |
164 return page_set | 164 return page_set |
165 | 165 |
166 def CreateExpectations(self, page_set): | 166 def CreateExpectations(self): |
167 return pixel_expectations.PixelExpectations() | 167 return pixel_expectations.PixelExpectations() |
OLD | NEW |