Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/net/layout_test_results.py

Issue 2578213005: Use underscores to separate words in filenames in webkitpy. (Closed)
Patch Set: Fix check for attribute in output_capture.py. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2010, Google Inc. All rights reserved. 1 # Copyright (c) 2010, Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 def add_if_passes(result): 153 def add_if_passes(result):
154 if result_filter(result): 154 if result_filter(result):
155 results.append(result) 155 results.append(result)
156 156
157 LayoutTestResults._for_each_test(self._test_result_tree(), add_if_passes ) 157 LayoutTestResults._for_each_test(self._test_result_tree(), add_if_passes )
158 return sorted(results, key=lambda r: r.test_name()) 158 return sorted(results, key=lambda r: r.test_name())
159 159
160 def didnt_run_as_expected_results(self): 160 def didnt_run_as_expected_results(self):
161 # TODO(qyearsley): Rename this method. 161 # TODO(qyearsley): Rename this method.
162 return self._filter_tests(lambda r: not r.did_run_as_expected()) 162 return self._filter_tests(lambda r: not r.did_run_as_expected())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698