Francois Gouget : testbot/CGI: Improve the CGI methods argument handling.

Alexandre Julliard julliard at winehq.org
Thu Jun 12 11:29:29 CDT 2014


Module: tools
Branch: master
Commit: 0e4eb3a13f794ad8c4f51947519c2af74a69e4a6
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=0e4eb3a13f794ad8c4f51947519c2af74a69e4a6

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Mon Jun  9 12:29:04 2014 +0200

testbot/CGI: Improve the CGI methods argument handling.

This standardizes the way we handle the arguments.  Make it so one can
readily see the list of arguments the method takes without having to
hunt down the implementation of all its ancestors.  Because these are
methods the added prototypes have no effect whatsoever as far as Perl
is concerned. However they do document which arguments are optional.

---

 testbot/lib/ObjectModel/CGI/CollectionBlock.pm     |  171 ++++++++++----------
 .../lib/ObjectModel/CGI/CollectionBlockForPage.pm  |   68 ++++----
 testbot/lib/ObjectModel/CGI/CollectionPage.pm      |  121 ++++++--------
 testbot/lib/ObjectModel/CGI/FormPage.pm            |  104 ++++++------
 testbot/lib/ObjectModel/CGI/ItemPage.pm            |   45 +++---
 testbot/lib/ObjectModel/CGI/Page.pm                |  105 ++++++------
 testbot/lib/WineTestBot/CGI/PageBase.pm            |   75 ++++-----
 testbot/lib/WineTestBot/CGI/Sessions.pm            |   15 +-
 8 files changed, 338 insertions(+), 366 deletions(-)

Diff:   http://source.winehq.org/git/tools.git/?a=commitdiff;h=0e4eb3a13f794ad8c4f51947519c2af74a69e4a6



More information about the wine-cvs mailing list