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

Alexandre Julliard julliard at winehq.org
Wed Jun 18 14:04:42 CDT 2014


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

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Wed Jun 18 13:45:36 2014 +0200

testbot/lib: Improve the 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/WineTestBot/Branches.pm           |   14 ++---
 testbot/lib/WineTestBot/Jobs.pm               |   46 +++++++-------
 testbot/lib/WineTestBot/Patches.pm            |   35 +++++------
 testbot/lib/WineTestBot/PendingPatchSets.pm   |   33 +++++-----
 testbot/lib/WineTestBot/PendingPatches.pm     |    4 +-
 testbot/lib/WineTestBot/Roles.pm              |    4 +-
 testbot/lib/WineTestBot/Steps.pm              |   14 ++---
 testbot/lib/WineTestBot/StepsTasks.pm         |   13 ++--
 testbot/lib/WineTestBot/Tasks.pm              |   11 ++--
 testbot/lib/WineTestBot/UserRoles.pm          |    4 +-
 testbot/lib/WineTestBot/Users.pm              |   81 +++++++++++--------------
 testbot/lib/WineTestBot/VMs.pm                |   56 ++++++++---------
 testbot/lib/WineTestBot/WineTestBotObjects.pm |    6 +-
 13 files changed, 146 insertions(+), 175 deletions(-)

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



More information about the wine-cvs mailing list