https://bugs.webkit.org/show_bug.cgi?id=68359
Reviewed by Andreas Kling.
The public Qt WK2 APIs have different rules than WebKit for parameters of methods in h files.
Add an exception in the style checker to disable the check. Also added the test for it.
* Scripts/webkitpy/style/checker.py:
* Scripts/webkitpy/style/checker_unittest.py:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95446
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2011-09-19 Alexis Menard <alexis.menard@openbossa.org>
+
+ Style checker should not check public Qt WK2 API for parameter_name.
+ https://bugs.webkit.org/show_bug.cgi?id=68359
+
+ Reviewed by Andreas Kling.
+
+ The public Qt WK2 APIs have different rules than WebKit for parameters of methods in h files.
+ Add an exception in the style checker to disable the check. Also added the test for it.
+
+ * Scripts/webkitpy/style/checker.py:
+ * Scripts/webkitpy/style/checker_unittest.py:
+
2011-09-19 Leandro Pereira <leandro@profusion.mobi>
GTK DRT leaks memory while comparing history items
([# Qt's MiniBrowser has no config.h
"Tools/MiniBrowser/qt"],
["-build/include"]),
+
+ ([# The Qt APIs use Qt/QML naming style, which includes
+ # naming parameters in h files.
+ "Source/WebKit2/UIProcess/API/qt"],
+ ["-readability/parameter_name"]),
+
([# The GTK+ APIs use GTK+ naming style, which includes
# lower-cased, underscore-separated values, whitespace before
# parens for function calls, and always having variable names.
assertNoCheck("Tools/MiniBrowser/qt/UrlLoader.cpp",
"build/include")
+ assertNoCheck("Source/WebKit2/UIProcess/API/qt",
+ "readability/parameter_name")
+
assertNoCheck("Source/WebCore/ForwardingHeaders/debugger/Debugger.h",
"build/header_guard")