Changeset 53386 in webkit


Ignore:
Timestamp:
Jan 17, 2010 7:11:47 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-01-17 Adam Barth <abarth@webkit.org>

Reviewed by Darin Adler.

[check-webkit-style] qt unit testing false positives
https://bugs.webkit.org/show_bug.cgi?id=32833

Exempt the Qt API and unit tests from the style checker.

  • Scripts/webkitpy/style/cpp_style.py:
  • Scripts/webkitpy/style/cpp_style_unittest.py:
Location:
trunk/WebKitTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r53383 r53386  
     12010-01-17  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Darin Adler.
     4
     5        [check-webkit-style] qt unit testing false positives
     6        https://bugs.webkit.org/show_bug.cgi?id=32833
     7
     8        Exempt the Qt API and unit tests from the style checker.
     9
     10        * Scripts/webkitpy/style/cpp_style.py:
     11        * Scripts/webkitpy/style/cpp_style_unittest.py:
     12
    1132010-01-17  Adam Barth  <abarth@webkit.org>
    214
  • trunk/WebKitTools/Scripts/webkitpy/style/cpp_style.py

    r53383 r53386  
    29272927      filename: A filename. It may contain directory names.
    29282928     """
     2929    if (filename.find('WebKit/qt/Api/') >= 0
     2930        or filename.find('WebKit/qt/tests/') >= 0):
     2931        # The Qt API and tests do not follow WebKit style.
     2932        # They follow Qt style. :)
     2933        return True
     2934
    29292935    return os.path.basename(filename) in (
    29302936        'gtk2drawing.c',
  • trunk/WebKitTools/Scripts/webkitpy/style/cpp_style_unittest.py

    r53383 r53386  
    36123612        self.assert_(cpp_style.is_exempt('gtk2drawing.c'))
    36133613        self.assert_(cpp_style.is_exempt('WebCore/platform/gtk/gtk2drawing.c'))
     3614        self.assert_(cpp_style.is_exempt('WebKit/qt/Api/qwebpage.h'))
     3615        self.assert_(cpp_style.is_exempt('WebKit/qt/tests/qwebsecurityorigin/tst_qwebsecurityorigin.cpp'))
    36143616
    36153617def tearDown():
Note: See TracChangeset for help on using the changeset viewer.