Changeset 106814 in webkit


Ignore:
Timestamp:
Feb 6, 2012 9:33:55 AM (12 years ago)
Author:
Philippe Normand
Message:

[webkitpy] cpp style-checker complains about readability/naming in GStreamer elements source files
https://bugs.webkit.org/show_bug.cgi?id=77866

Reviewed by Martin Robinson.

  • Scripts/webkitpy/style/checker.py: Ignore readability/naming

errors in some gstreamer source code files defining new GStreamer elements.

  • Scripts/webkitpy/style/checker_unittest.py:

(GlobalVariablesTest.test_path_rules_specifier):

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r106805 r106814  
     12012-02-06  Philippe Normand  <pnormand@igalia.com>
     2
     3        [webkitpy] cpp style-checker complains about readability/naming in GStreamer elements source files
     4        https://bugs.webkit.org/show_bug.cgi?id=77866
     5
     6        Reviewed by Martin Robinson.
     7
     8        * Scripts/webkitpy/style/checker.py: Ignore readability/naming
     9        errors in some gstreamer source code files defining new GStreamer elements.
     10        * Scripts/webkitpy/style/checker_unittest.py:
     11        (GlobalVariablesTest.test_path_rules_specifier):
     12
    1132012-02-06  Carlos Garcia Campos  <cgarcia@igalia.com>
    214
  • trunk/Tools/Scripts/webkitpy/style/checker.py

    r105232 r106814  
    207207      "-readability/parameter_name",
    208208      "-whitespace/declaration"]),
     209    ([# These files define GObjects, which implies some definitions of
     210      # variables and functions containing underscores.
     211      "Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer1.cpp",
     212      "Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp",
     213      "Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp",
     214      "Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp"],
     215     ["-readability/naming"]),
    209216
    210217    # For third-party Python code, keep only the following checks--
  • trunk/Tools/Scripts/webkitpy/style/checker_unittest.py

    r105232 r106814  
    254254                      "build/header_guard")
    255255
     256        assertNoCheck("Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp",
     257                      "readability/naming")
     258
    256259        # Third-party Python code: webkitpy/thirdparty
    257260        path = "Tools/Scripts/webkitpy/thirdparty/mock.py"
Note: See TracChangeset for help on using the changeset viewer.