Bug 75900 - run-bindings-tests should exercise all the IDL attributes we use
Summary: run-bindings-tests should exercise all the IDL attributes we use
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Adam Barth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-09 16:07 PST by Adam Barth
Modified: 2012-01-09 17:57 PST (History)
4 users (show)

See Also:


Attachments
Patch (252.16 KB, patch)
2012-01-09 16:09 PST, Adam Barth
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Barth 2012-01-09 16:07:00 PST
run-bindings-tests should exercise all the IDL attributes we use
Comment 1 Adam Barth 2012-01-09 16:09:30 PST
Created attachment 121747 [details]
Patch
Comment 2 Eric Seidel (no email) 2012-01-09 16:12:49 PST
Comment on attachment 121747 [details]
Patch

I like tests.
Comment 3 WebKit Review Bot 2012-01-09 16:12:56 PST
Attachment 121747 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1

Last 3072 characters of output:
Core/bindings/scripts/test/GObject/WebKitDOMTestActiveDOMObjectPrivate.h:21:  #ifndef header guard has wrong style, please use: WebKitDOMTestActiveDOMObjectPrivate_h  [build/header_guard] [5]
Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestActiveDOMObjectPrivate.h:26:  Alphabetical sorting problem.  [build/include_order] [4]
Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestActiveDOMObjectPrivate.h:28:  Code inside a namespace should not be indented.  [whitespace/indent] [4]
Source/WebCore/bindings/scripts/test/CPP/WebDOMTestOverridingNameGetter.h:42:  The parameter name "str" adds no information, so it should be removed.  [readability/parameter_name] [5]
Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h:54:  The parameter name "mode" adds no information, so it should be removed.  [readability/parameter_name] [5]
Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h:61:  More than one command on the same line in if  [whitespace/parens] [4]
Source/WebCore/bindings/scripts/test/ObjC/DOMTestEventTargetInternal.h:32:  Code inside a namespace should not be indented.  [whitespace/indent] [4]
Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h:57:  More than one command on the same line in if  [whitespace/parens] [4]
Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestOverridingNameGetter.cpp:21:  Found other header before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestOverridingNameGetter.cpp:22:  Found WebCore config.h after other header. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestOverridingNameGetter.cpp:24:  Found other header before a header this file implements. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestOverridingNameGetter.cpp:26:  Alphabetical sorting problem.  [build/include_order] [4]
Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestOverridingNameGetter.cpp:29:  Found header this file implements after other header. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestOverridingNameGetter.cpp:32:  Found header this file implements after other header. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestOverridingNameGetter.cpp:131:  Declaration has space between type name and * in GObjectClass *gobjectClass  [whitespace/declaration] [3]
Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestOverridingNameGetter.cpp:156:  Extra space between return and WEBKIT_DOM_TEST_OVERRIDING_NAME_GETTER  [whitespace/declaration] [3]
Total errors found: 75 in 57 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 WebKit Review Bot 2012-01-09 17:57:15 PST
Comment on attachment 121747 [details]
Patch

Clearing flags on attachment: 121747

Committed r104526: <http://trac.webkit.org/changeset/104526>
Comment 5 WebKit Review Bot 2012-01-09 17:57:20 PST
All reviewed patches have been landed.  Closing bug.