+++ /dev/null
-use strict;
-use warnings;
-
-BEGIN {
- use lib 't/lib';
- use Test::More;
-
- plan skip_all => 'set TEST_AUTHOR to enable this test' unless $ENV{TEST_AUTHOR};
-
- eval 'use Test::CheckManifest 0.09';
- if($@) {
- plan skip_all => 'Test::CheckManifest 0.09 not installed';
- };
-};
-
-ok_manifest({
- exclude => ['/t/var', '/cover_db'],
- filter => [qr/\.(svn|git)/, qr/cover/, qr/Build(.(PL|bat))?/, qr/_build/, qr/\.DS_Store/],
- bool => 'or'
-});
+++ /dev/null
-use strict;
-use warnings;
-
-BEGIN {
- use lib 't/lib';
- use Test::More;
-
- plan skip_all => 'set TEST_AUTHOR to enable this test' unless $ENV{TEST_AUTHOR};
-
- eval 'use Test::Pod::Coverage 1.04';
- plan skip_all => 'Test::Pod::Coverage 1.04' if $@;
-
- eval 'use Pod::Coverage 0.14';
- plan skip_all => 'Pod::Coverage 0.14 not installed' if $@;
-};
-
-my $trustme = {
- trustme => [qr/^(g|s)et_component_class$/]
-};
-
-all_pod_coverage_ok($trustme);
+++ /dev/null
-use strict;
-use warnings;
-
-BEGIN {
- use lib 't/lib';
- use Test::More;
-
- plan skip_all => 'set TEST_AUTHOR to enable this test' unless $ENV{TEST_AUTHOR};
-
- eval 'use Test::Pod 1.00';
- plan skip_all => 'Test::Pod 1.00 not installed' if $@;
-};
-
-all_pod_files_ok();
+++ /dev/null
-use strict;
-use warnings;
-
-BEGIN {
- use Test::More;
-
- plan skip_all => 'set TEST_AUTHOR to enable this test' unless $ENV{TEST_AUTHOR};
-
- eval 'use Test::NoTabs 0.03';
- plan skip_all => 'Test::NoTabs 0.03 not installed' if $@;
-};
-
-all_perl_files_ok('lib');
--- /dev/null
+use strict;
+use warnings;
+use Test::More;
+BEGIN {
+ eval 'use Test::CheckManifest 0.09; 1'
+ or plan skip_all => 'Test::CheckManifest 0.09 not installed';
+}
+
+ok_manifest({
+ exclude => ['/t/var', '/cover_db'],
+ filter => [qr/\.(svn|git)/, qr/cover/, qr/Build(.(PL|bat))?/, qr/_build/, qr/\.DS_Store/],
+ bool => 'or'
+});
--- /dev/null
+use strict;
+use warnings;
+use Test::More;
+BEGIN {
+ eval 'use Test::Pod::Coverage 1.04; 1' or
+ plan skip_all => 'Test::Pod::Coverage 1.04 not installed';
+
+ eval 'use Pod::Coverage 0.14; 1'
+ or plan skip_all => 'Pod::Coverage 0.14 not installed';
+}
+
+my $trustme = {
+ trustme => [qr/^(g|s)et_component_class$/]
+};
+
+all_pod_coverage_ok($trustme);
use strict;
use warnings;
-
+use Test::More;
BEGIN {
- use lib 't/lib';
- use Test::More;
-
- plan skip_all => 'set TEST_AUTHOR to enable this test' unless $ENV{TEST_AUTHOR};
-
- eval 'use Test::Spelling 0.11';
- plan skip_all => 'Test::Spelling 0.11 not installed' if $@;
-};
+ eval 'use Test::Spelling 0.11; 1'
+ or plan skip_all => 'Test::Spelling 0.11 not installed';
+}
set_spell_cmd('aspell list');
frew
getter
subclasses
-Benchmarking
\ No newline at end of file
+Benchmarking
--- /dev/null
+use strict;
+use warnings;
+use Test::More;
+BEGIN {
+ eval 'use Test::Pod 1.00; 1'
+ or plan skip_all => 'Test::Pod 1.00 not installed';
+}
+
+all_pod_files_ok();
use strict;
use warnings;
+use Test::More;
BEGIN {
- use lib 't/lib';
- use Test::More;
- use File::Find;
- use File::Basename;
+ plan skip_all => 'Need untaint in newer File::Find' if $] <= 5.006;
+}
- plan skip_all => 'set TEST_AUTHOR to enable this test' unless $ENV{TEST_AUTHOR};
+BEGIN {
+ eval 'use Test::Strict; 1'
+ or plan skip_all => 'Test::Strict not installed';
+}
- eval 'use Test::Strict';
- plan skip_all => 'Test::Strict not installed' if $@;
- plan skip_all => 'Need untaint in newer File::Find' if $] <= 5.006;
-};
+use File::Find;
+use File::Basename;
## I hope this can go away if Test::Strict or File::Find::Rule
## finally run under -T. Until then, I'm on my own here. ;-)
foreach (@files) {
strict_ok($_);
-};
+}
--- /dev/null
+use strict;
+use warnings;
+use Test::More;
+BEGIN {
+ eval 'use Test::NoTabs 0.03; 1'
+ or plan skip_all => 'Test::NoTabs 0.03 not installed';
+}
+
+all_perl_files_ok('lib');
use strict;
use warnings;
+use Test::More;
BEGIN {
- use lib 't/lib';
- use Test::More;
- use File::Find;
- use File::Basename;
+ plan skip_all => 'Need untaint in newer File::Find' if $] <= 5.006;
+}
- plan skip_all => 'set TEST_AUTHOR to enable this test' unless $ENV{TEST_AUTHOR};
+BEGIN {
+ eval 'use Test::Strict 0.05; 1'
+ or plan skip_all => 'Test::Strict 0.05 not installed';
+}
- eval 'use Test::Strict 0.05';
- plan skip_all => 'Test::Strict 0.05 not installed' if $@;
- plan skip_all => 'Need untaint in newer File::Find' if $] <= 5.006;
-};
+use File::Find;
+use File::Basename;
## I hope this can go away if Test::Strict or File::Find::Rule
## finally run under -T. Until then, I'm on my own here. ;-)
foreach (@files) {
warnings_ok($_);
-};
+}