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 CHROMIUM_WIN = "chromium-win" | 5 CHROMIUM_WIN = "chromium-win" |
6 CHROMIUM_MAC = "chromium-mac" | 6 CHROMIUM_MAC = "chromium-mac" |
7 CHROMIUM_LINUX = "chromium-linux" | 7 CHROMIUM_LINUX = "chromium-linux" |
8 WEBKIT_WIN_TITLE = "WebKit Win" | 8 WEBKIT_WIN_TITLE = "WebKit Win" |
9 WEBKIT_MAC_TITLE = "WebKit Mac" | 9 WEBKIT_MAC_TITLE = "WebKit Mac" |
10 WEBKIT_TITLE = "WebKit" | 10 WEBKIT_TITLE = "WebKit" |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 def IsWontFix(self): | 191 def IsWontFix(self): |
192 return self._FindKeywordInExpectations(WONTFIX) | 192 return self._FindKeywordInExpectations(WONTFIX) |
193 | 193 |
194 def _FindKeywordInExpectations(self, keyword): | 194 def _FindKeywordInExpectations(self, keyword): |
195 if (not self.test_expectations_line or | 195 if (not self.test_expectations_line or |
196 len(self.test_expectations_line) == 0): | 196 len(self.test_expectations_line) == 0): |
197 return False | 197 return False |
198 if self.test_expectations_line.find(keyword) > -1: | 198 if self.test_expectations_line.find(keyword) > -1: |
199 return True | 199 return True |
200 return False | 200 return False |
OLD | NEW |