| OLD | NEW |
| 1 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2006-2009 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 """Classes for failures that occur during tests.""" | 5 """Classes for failures that occur during tests.""" |
| 6 | 6 |
| 7 import os | 7 import os |
| 8 import test_expectations | 8 import test_expectations |
| 9 | 9 |
| 10 | 10 |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 # Chrome doesn't know to display a .checksum file as text, so don't bother | 232 # Chrome doesn't know to display a .checksum file as text, so don't bother |
| 233 # putting in a link to the actual result. | 233 # putting in a link to the actual result. |
| 234 OUT_FILENAMES = [] | 234 OUT_FILENAMES = [] |
| 235 | 235 |
| 236 @staticmethod | 236 @staticmethod |
| 237 def Message(): | 237 def Message(): |
| 238 return "Images match, expected image hash incorrect. " | 238 return "Images match, expected image hash incorrect. " |
| 239 | 239 |
| 240 def ResultHtmlOutput(self, filename): | 240 def ResultHtmlOutput(self, filename): |
| 241 return "<strong>%s</strong>" % self.Message() | 241 return "<strong>%s</strong>" % self.Message() |
| OLD | NEW |