WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
175146
Add tests for NeverDestroyed
https://bugs.webkit.org/show_bug.cgi?id=175146
Summary
Add tests for NeverDestroyed
Joseph Pecoraro
Reported
2017-08-03 12:00:15 PDT
Add tests for NeverDestroyed. Specifically to test the case changed with:
https://bugs.webkit.org/show_bug.cgi?id=175113
https://trac.webkit.org/changeset/220183/webkit
Attachments
[PATCH] Proposed Fix
(81.83 KB, patch)
2017-08-03 12:05 PDT
,
Joseph Pecoraro
no flags
Details
Formatted Diff
Diff
[PATCH] Proposed Fix
(81.82 KB, patch)
2017-08-03 12:08 PDT
,
Joseph Pecoraro
no flags
Details
Formatted Diff
Diff
[PATCH] Proposed Fix
(82.95 KB, patch)
2017-08-03 13:07 PDT
,
Joseph Pecoraro
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Joseph Pecoraro
Comment 1
2017-08-03 12:05:56 PDT
Created
attachment 317137
[details]
[PATCH] Proposed Fix Is this what you guys were thinking? Any other specific tests you want me to add? I considered a test of NeverDestroyed with a RefCounted objects (these cases trigger relaxAdoptionRequirement) but there are cases of this in other TestWebKitAPI tests and it seems this would be about assertions.
Build Bot
Comment 2
2017-08-03 12:08:20 PDT
Attachment 317137
[details]
did not pass style-queue: ERROR: Tools/TestWebKitAPI/Tests/WTF/NeverDestroyed.cpp:29: Alphabetical sorting problem. [build/include_order] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/NeverDestroyed.cpp:36: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/NeverDestroyed.cpp:39: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/NeverDestroyed.cpp:42: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/LifecycleLogger.cpp:87: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/LifecycleLogger.cpp:90: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/LifecycleLogger.cpp:93: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/LifecycleLogger.cpp:96: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/LifecycleLogger.cpp:99: More than one command on the same line [whitespace/newline] [4] Total errors found: 9 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Joseph Pecoraro
Comment 3
2017-08-03 12:08:26 PDT
Created
attachment 317138
[details]
[PATCH] Proposed Fix
Build Bot
Comment 4
2017-08-03 12:11:33 PDT
Attachment 317138
[details]
did not pass style-queue: ERROR: Tools/TestWebKitAPI/Tests/WTF/NeverDestroyed.cpp:29: Alphabetical sorting problem. [build/include_order] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/NeverDestroyed.cpp:36: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/NeverDestroyed.cpp:39: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/NeverDestroyed.cpp:42: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/LifecycleLogger.cpp:87: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/LifecycleLogger.cpp:90: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/LifecycleLogger.cpp:93: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/LifecycleLogger.cpp:96: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/LifecycleLogger.cpp:99: More than one command on the same line [whitespace/newline] [4] Total errors found: 9 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Joseph Pecoraro
Comment 5
2017-08-03 13:07:59 PDT
Created
attachment 317141
[details]
[PATCH] Proposed Fix
Build Bot
Comment 6
2017-08-03 13:09:40 PDT
Attachment 317141
[details]
did not pass style-queue: ERROR: Tools/TestWebKitAPI/Tests/WTF/NeverDestroyed.cpp:36: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/NeverDestroyed.cpp:39: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/NeverDestroyed.cpp:42: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/LifecycleLogger.cpp:87: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/LifecycleLogger.cpp:90: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/LifecycleLogger.cpp:93: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/LifecycleLogger.cpp:96: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/LifecycleLogger.cpp:99: More than one command on the same line [whitespace/newline] [4] Total errors found: 8 in 9 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Commit Bot
Comment 7
2017-08-04 12:04:51 PDT
Comment on
attachment 317141
[details]
[PATCH] Proposed Fix Clearing flags on attachment: 317141 Committed
r220284
: <
http://trac.webkit.org/changeset/220284
>
WebKit Commit Bot
Comment 8
2017-08-04 12:04:52 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug