Debian Codegraph @

t/04critic.t

raw symbols SCIP
1 use strictscip-perl cpan Image-Scale 0.14 strict/;
2 use warningsscip-perl cpan Image-Scale 0.14 warnings/;
3
4 use File::Specscip-perl cpan Image-Scale 0.14 File/Spec/;
5 use FindBinscip-perl cpan Image-Scale 0.14 FindBin/ ();
6 use Test::Morescip-perl cpan Image-Scale 0.14 Test/More/;
7
8 if ( !-e "$FindBin::Bin/../MANIFEST.SKIP" ) {
9 planscip-perl cpan Image-Scale 0.14 main/plan(). skip_all => 'Critic test only for developers.';
10 }
11 else {
12 eval { requirescip-perl cpan Image-Scale 0.14 main/require(). Test::Perl::Critic };
13
14 SKIP: {
15 if ( $@scip-perl cpan Image-Scale 0.14 main/`$@`. ) {
16 planscip-perl cpan Image-Scale 0.14 main/plan(). tests => 1;
17 skipscip-perl cpan Image-Scale 0.14 main/skip().( 'You must install Test::Perl::Critic to run 04critic.t', 1 );
18 }
19
20 my $rcfile = File::Spec->catfilescip-perl cpan Image-Scale 0.14 File/Spec/catfile().( 't', '04critic.rc' );
21 Test::Perl::Critic->importscip-perl cpan Image-Scale 0.14 Test/Perl/Critic/import().( -profile => $rcfile );
22 all_critic_okscip-perl cpan Image-Scale 0.14 main/all_critic_ok().();
23 }
24 }