]>
Commit | Line | Data |
---|---|---|
1 | package Gruntmaster::Daemon::Generator::Undef; | |
2 | ||
3 | use 5.014000; | |
4 | use strict; | |
5 | use warnings; | |
6 | ||
7 | use Log::Log4perl qw/get_logger/; | |
8 | use File::Slurp qw/write_file/; | |
9 | ||
10 | our $VERSION = '5999.000_005'; | |
11 | ||
12 | ################################################## | |
13 | ||
14 | sub generate{ | |
15 | get_logger->trace("Generating empty test $_[0]..."); | |
16 | write_file 'input', ''; | |
17 | } | |
18 | ||
19 | 1; | |
20 | __END__ | |
21 | ||
22 | =encoding utf-8 | |
23 | ||
24 | =head1 NAME | |
25 | ||
26 | Gruntmaster::Daemon::Generator::Undef - Pretend to generate tests | |
27 | ||
28 | =head1 SYNOPSIS | |
29 | ||
30 | use Gruntmaster::Daemon::Generator::Undef; | |
31 | Gruntmaster::Daemon::Generator::Undef->generate(5, $meta); | |
32 | ||
33 | =head1 DESCRIPTION | |
34 | ||
35 | Gruntmaster::Daemon::Generator::Undef is a noop test generator. It is useful for L<interactive|Gruntmaster::Daemon::Runner::Interactive> problems, where there is no input. | |
36 | ||
37 | =head1 AUTHOR | |
38 | ||
39 | Marius Gavrilescu E<lt>marius@ieval.roE<gt> | |
40 | ||
41 | =head1 COPYRIGHT AND LICENSE | |
42 | ||
43 | Copyright (C) 2014 by Marius Gavrilescu | |
44 | ||
45 | This library is free software: you can redistribute it and/or modify | |
46 | it under the terms of the GNU Affero General Public License as published by | |
47 | the Free Software Foundation, either version 3 of the License, or | |
48 | (at your option) any later version. | |
49 | ||
50 | ||
51 | =cut |