From: Dave Rolsky Date: Wed, 14 Jul 2010 20:20:37 +0000 (-0500) Subject: update xt for dzil but use my pod tests X-Git-Tag: v0.14~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bbcf6ba97332e3f8e2a16f33c87ed3c910f1ef1d;p=gitmo%2FMooseX-ClassAttribute.git update xt for dzil but use my pod tests --- diff --git a/xt/kwalitee.t b/xt/kwalitee.t deleted file mode 100644 index 0c2468b..0000000 --- a/xt/kwalitee.t +++ /dev/null @@ -1,12 +0,0 @@ -use strict; -use warnings; - -use Test::More; - - -plan skip_all => 'This test is only run for the module author' - unless -d '.git' || $ENV{IS_MAINTAINER}; - -eval { require Test::Kwalitee; Test::Kwalitee->import() }; -plan skip_all => "Test::Kwalitee needed for testing kwalitee" - if $@; diff --git a/xt/pod-coverage.t b/xt/release/pod-coverage.t similarity index 100% rename from xt/pod-coverage.t rename to xt/release/pod-coverage.t diff --git a/xt/pod-spell.t b/xt/release/pod-spell.t similarity index 100% rename from xt/pod-spell.t rename to xt/release/pod-spell.t diff --git a/xt/pod.t b/xt/release/pod.t similarity index 100% rename from xt/pod.t rename to xt/release/pod.t diff --git a/xt/version-numbers.t b/xt/version-numbers.t deleted file mode 100644 index ecf592f..0000000 --- a/xt/version-numbers.t +++ /dev/null @@ -1,27 +0,0 @@ -use strict; -use warnings; - -use File::Find::Rule; -use Module::Info; - -use Test::More; - -my %versions; -for my $pm_file ( File::Find::Rule->file->name(qr/\.pm$/)->in('lib') ) { - my $mod = Module::Info->new_from_file($pm_file); - - ( my $stripped_file = $pm_file ) =~ s{^lib/}{}; - - $versions{$stripped_file} = $mod->version; -} - -my $moose_ver = $versions{'MooseX/ClassAttribute.pm'}; - -for my $module ( grep { $_ ne 'MooseX/ClassAttribute.pm' } sort keys %versions ) { - is( - $versions{$module}, $moose_ver, - "version for $module is the same as in MooseX/ClassAttribute.pm" - ); -} - -done_testing();