]>
iEval git - gruntmaster-daemon.git/blob - lib/Gruntmaster/Daemon/Generator/File.pm
601ea9968b6cb2ab70b2635016d17e33fde6b7da
1 package Gruntmaster
::Daemon
::Generator
::File
;
7 use File
::Slurp qw
/write_file/;
8 use Log
::Log4perl qw
/get_logger/;
10 our $VERSION = "5999.000_001";
12 ##################################################
15 my ($test, $meta) = @_;
16 get_logger
->trace("Generating test $test ...");
17 write_file
'input', $meta->{infile
}[$test - 1]
27 Gruntmaster::Daemon::Generator::File - Generate tests from files
31 use Gruntmaster::Daemon::Generator::File;
32 Gruntmaster::Daemon::Generator::File->generate(5, $meta);
36 Gruntmaster::Daemon::Generator::File is a static test generator. Test C<$i> is C<< $meta->{infile}[$i - 1] >>.
40 Marius Gavrilescu E<lt>marius@ieval.roE<gt>
42 =head1 COPYRIGHT AND LICENSE
44 Copyright (C) 2014 by Marius Gavrilescu
46 This library is free software: you can redistribute it and/or modify
47 it under the terms of the GNU Affero General Public License as published by
48 the Free Software Foundation, either version 3 of the License, or
49 (at your option) any later version.
This page took 0.060077 seconds and 4 git commands to generate.