Changeset 53380 in webkit
- Timestamp:
- Jan 17, 2010 5:49:39 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r53379 r53380 1 2010-01-17 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 style-queue complains about missing #include of config.h for non-WebCore projects 6 https://bugs.webkit.org/show_bug.cgi?id=33170 7 8 WebKitAPITests are consumers of the WebKit API and therefore do not 9 need to follow the same include discipline as the rest of WebKit. This 10 patch exempts them from the include checks. 11 12 * Scripts/webkitpy/style/cpp_style.py: 13 * Scripts/webkitpy/style/cpp_style_unittest.py: 14 1 15 2010-01-17 Adam Barth <abarth@webkit.org> 2 16 -
trunk/WebKitTools/Scripts/webkitpy/style/cpp_style.py
r53374 r53380 2109 2109 """ 2110 2110 2111 if filename.find('WebKitTools/WebKitAPITest/') >= 0: 2112 # Files in this directory are consumers of the WebKit API and 2113 # therefore do not follow the same header including discipline as 2114 # WebCore. 2115 return 2116 2111 2117 line = clean_lines.lines[line_number] 2112 2118 -
trunk/WebKitTools/Scripts/webkitpy/style/cpp_style_unittest.py
r53374 r53380 2028 2028 '') 2029 2029 2030 def test_webkit_api_test_excluded(self): 2031 self.assert_language_rules_check('WebKitTools/WebKitAPITest/Test.h', 2032 '#include "foo.h"\n', 2033 '') 2034 2030 2035 def test_check_line_break_after_own_header(self): 2031 2036 self.assert_language_rules_check('foo.cpp',
Note: See TracChangeset
for help on using the changeset viewer.