/usr/share/perl5/Log/Any/Proxy/Test.pm is in liblog-any-perl 1.038-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | use 5.008001;
use strict;
use warnings;
package Log::Any::Proxy::Test;
our $VERSION = '1.038';
use Log::Any::Proxy;
our @ISA = qw/Log::Any::Proxy/;
my @test_methods = qw(
msgs
clear
contains_ok
category_contains_ok
does_not_contain_ok
category_does_not_contain_ok
empty_ok
contains_only_ok
);
foreach my $name (@test_methods) {
no strict 'refs';
*{$name} = sub {
my $self = shift;
$self->{adapter}->$name(@_);
};
}
1;
|