watchlist: Add a way to detect a net increase or decrease of a pattern (in a file).
authorlevin@chromium.org <levin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 1 Oct 2011 00:39:52 +0000 (00:39 +0000)
committerlevin@chromium.org <levin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 1 Oct 2011 00:39:52 +0000 (00:39 +0000)
commitc54fdfe1eaea59668e569136f5c246095a56ce69
treebae3530596e6b2003ad444e9634c347e87b7ab6c
parent4f8a985c7bb3d7db33d9ca370011cf35787653d2
watchlist: Add a way to detect a net increase or decrease of a pattern (in a file).
https://bugs.webkit.org/show_bug.cgi?id=69031

Reviewed by Adam Barth.

* Scripts/webkitpy/common/config/watchlist: Added usage of the new pattern,
a comment to explain something important about the email addresses, and
a comment to let emacs know to treat the file as a python file.
* Scripts/webkitpy/common/watchlist/amountchangedpattern.py: Added.
Detects increases or decreases in a pattern.
* Scripts/webkitpy/common/watchlist/amountchangedpattern_unittest.py: Added.
* Scripts/webkitpy/common/watchlist/watchlist_unittest.py:
Added unit tests for watchlist which has "more" or "less".
* Scripts/webkitpy/common/watchlist/watchlistparser.py:
Added support for "more" or "less".

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96441 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/webkitpy/common/config/watchlist
Tools/Scripts/webkitpy/common/watchlist/amountchangedpattern.py [new file with mode: 0644]
Tools/Scripts/webkitpy/common/watchlist/amountchangedpattern_unittest.py [new file with mode: 0644]
Tools/Scripts/webkitpy/common/watchlist/watchlist_unittest.py
Tools/Scripts/webkitpy/common/watchlist/watchlistparser.py