Agent-TCLI
view release on metacpan or search on metacpan
lib/Agent/TCLI/Package/Tail/Test.pm view on Meta::CPAN
B<max_lines> will only contain numeric values.
=cut
my @max_lines :Field
:Type('numeric')
:All('max_lines');
=item match_times
The number of times the test should match before passing.
Defaults to the value of test_matchtimes in Tail.
B<match_times> will only contain numeric values.
=cut
my @match_times :Field
:Type('numeric')
:All('match_times');
=item test_verbose
A flag to make the test output more information. This applies to the
test and not to the underlying code which has its own verbose setting.
B<test_verbose> will only contain numeric values.
=cut
my @test_verbose :Field
:Type('numeric')
:All('test_verbose');
=item feedback
A value to indicate how frequently the test should report.
Zero is for only when complete. One will report on every match.
B<feedback> will only contain Numeric values.
=cut
my @feedback :Field
:Type('Numeric')
:All('feedback');
=item birth_time
The activation time for the test. As a time() value.
B<birth_time> will only contain numeric values.
=cut
my @birth_time :Field
:Type('numeric')
:All('birth_time');
=item handler
To handle event....
=cut
my @handler :Field
# :Type('type')
:All('handler');
=item log_name
Name of the SimpleLog event that is being watched. 'none' for no log.
B<log_name> will only contain scalar values.
=cut
my @log_name :Field
# :Type('scalar')
:All('log_name');
=item match_count
The counter for the number of times it has matched, or passed.
B<match_count> will only contain numeric values.
=cut
my @match_count :Field
:Type('numeric')
:Arg('name'=>'match_count','default'=>0)
:Acc('match_count');
=item line_count
A counter for the number of lines seen.
B<line_count> will only contain numeric values.
=cut
my @line_count :Field
:Type('numeric')
:Arg('name'=>'line_count','default'=>0)
:Acc('line_count');
=item last_line
The last line number processed.
B<last_line> will only contain numeric values.
=cut
my @last_line :Field
:Type('numeric')
:Arg('name'=>'last_line','default'=>0)
:Acc('last_line');
=item success
A boolean for whether the test passed or failed.
B<success> should only contain boolean values.
=cut
my @success :Field
# :Type('boolean')
:All('success');
=item complete
A boolean that indicates whether the test has completed.
B<complete> should only contain boolean values.
=cut
my @complete :Field
# :Type('boolean')
:Arg('name'=>'complete','default'=>0)
:Acc('complete');
=item num
The relative position within the current test run of all tests.
B<num> will only contain numeric values.
( run in 1.705 second using v1.01-cache-2.11-cpan-75ffa21a3d4 )