X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=blobdiff_plain;f=lib%2FGruntmaster%2FDaemon%2FJudge%2FAbsolute.pm;h=e0b04e58dc7cf4c2a7d8b9cc42ce1dbe6316afdc;hp=f6792c3dbeedea6a09d92f459633bf7d4a3c0f20;hb=d6a1ae0d77398b2a7ed967e10e8420ac7d9980e5;hpb=bc3729599a66921e1efd9f801222e814c626ea76 diff --git a/lib/Gruntmaster/Daemon/Judge/Absolute.pm b/lib/Gruntmaster/Daemon/Judge/Absolute.pm index f6792c3..e0b04e5 100644 --- a/lib/Gruntmaster/Daemon/Judge/Absolute.pm +++ b/lib/Gruntmaster/Daemon/Judge/Absolute.pm @@ -6,7 +6,7 @@ use warnings; use Gruntmaster::Daemon::Constants qw/AC/; -our $VERSION = '5999-TRIAL'; +our $VERSION = '5999.000_002'; ################################################## @@ -17,3 +17,34 @@ sub judge{ 1; __END__ + +=encoding utf-8 + +=head1 NAME + +Gruntmaster::Daemon::Judge::Absolute - All-or-nothing ACM-style judge + +=head1 SYNOPSIS + + use Gruntmaster::Daemon::Judge::Absolute; + Gruntmaster::Daemon::Judge::Absolute->judge($result1, $result2, $result3, ...); + +=head1 DESCRIPTION + +Gruntmaster::Daemon::Judge::Absolute is a judge which returns the result of the last test executed. Gruntmaster::Daemon stops running tests if the judge is Gruntmaster::Daemon::Judge::Absolute and a test fails, so the last test result is Accepted if and only if all tests succeeded. + +=head1 AUTHOR + +Marius Gavrilescu Emarius@ieval.roE + +=head1 COPYRIGHT AND LICENSE + +Copyright (C) 2014 by Marius Gavrilescu + +This library is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + + +=cut