WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
68871
watchlist: Break out the diff boilerplate to allow for re-use.
https://bugs.webkit.org/show_bug.cgi?id=68871
Summary
watchlist: Break out the diff boilerplate to allow for re-use.
David Levin
Reported
2011-09-26 23:20:46 PDT
I would like to use a diff to be able to test the watchlist code by feeding it a diff and finding what definitions are matched. I could create a new diff but it seems better just to re-use this one.
Attachments
Patch
(7.97 KB, patch)
2011-09-26 23:23 PDT
,
David Levin
eric
: review+
levin
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
David Levin
Comment 1
2011-09-26 23:23:26 PDT
Created
attachment 108792
[details]
Patch
WebKit Review Bot
Comment 2
2011-09-26 23:27:23 PDT
Attachment 108792
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Tools/ChangeLog', u'Tools/Scripts/webkitpy..." exit_code: 1 Tools/Scripts/webkitpy/common/checkout/diff_test_data.py:34: trailing whitespace [pep8/W291] [5] Tools/Scripts/webkitpy/common/checkout/diff_test_data.py:39: trailing whitespace [pep8/W291] [5] Tools/Scripts/webkitpy/common/checkout/diff_test_data.py:52: trailing whitespace [pep8/W291] [5] Tools/Scripts/webkitpy/common/checkout/diff_test_data.py:60: trailing whitespace [pep8/W291] [5] Tools/Scripts/webkitpy/common/checkout/diff_test_data.py:69: trailing whitespace [pep8/W291] [5] Total errors found: 5 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Eric Seidel (no email)
Comment 3
2011-09-27 00:22:08 PDT
Comment on
attachment 108792
[details]
Patch Hm... OK. We could also just store this as a .patch file in some new fixtures directory or similar.
David Levin
Comment 4
2011-09-27 08:37:33 PDT
(In reply to
comment #3
)
> (From update of
attachment 108792
[details]
) > Hm... OK. We could also just store this as a .patch file in some new fixtures directory or similar.
I need to think about the form for just a little bit but I didn't want it to block my progress at the moment, so I added a FIXME and a bug:
https://bugs.webkit.org/show_bug.cgi?id=68904
Committed as
http://trac.webkit.org/changeset/96112
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