update xt for dzil but use my pod tests
Dave Rolsky [Wed, 14 Jul 2010 20:20:37 +0000 (15:20 -0500)]
xt/kwalitee.t [deleted file]
xt/release/pod-coverage.t [moved from xt/pod-coverage.t with 100% similarity]
xt/release/pod-spell.t [moved from xt/pod-spell.t with 100% similarity]
xt/release/pod.t [moved from xt/pod.t with 100% similarity]
xt/version-numbers.t [deleted file]

diff --git a/xt/kwalitee.t b/xt/kwalitee.t
deleted file mode 100644 (file)
index 0c2468b..0000000
+++ /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 $@;
similarity index 100%
rename from xt/pod-coverage.t
rename to xt/release/pod-coverage.t
similarity index 100%
rename from xt/pod-spell.t
rename to xt/release/pod-spell.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 (file)
index ecf592f..0000000
+++ /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();