[Catalyst-commits] r13227 - in
Catalyst-Plugin-Unicode-Encoding/trunk: . t t/author
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Sat May 8 20:32:41 GMT 2010
Author: t0m
Date: 2010-05-08 21:32:41 +0100 (Sat, 08 May 2010)
New Revision: 13227
Added:
Catalyst-Plugin-Unicode-Encoding/trunk/t/author/
Catalyst-Plugin-Unicode-Encoding/trunk/t/author/02pod.t
Catalyst-Plugin-Unicode-Encoding/trunk/t/author/03podcoverage.t
Removed:
Catalyst-Plugin-Unicode-Encoding/trunk/t/02pod.t
Catalyst-Plugin-Unicode-Encoding/trunk/t/03podcoverage.t
Modified:
Catalyst-Plugin-Unicode-Encoding/trunk/Changes
Catalyst-Plugin-Unicode-Encoding/trunk/Makefile.PL
Log:
Move Pod tests to author only
Modified: Catalyst-Plugin-Unicode-Encoding/trunk/Changes
===================================================================
--- Catalyst-Plugin-Unicode-Encoding/trunk/Changes 2010-05-08 20:32:05 UTC (rev 13226)
+++ Catalyst-Plugin-Unicode-Encoding/trunk/Changes 2010-05-08 20:32:41 UTC (rev 13227)
@@ -1,5 +1,8 @@
Revision history for Perl extension Catalyst::Plugin::Unicode::Encoding
+ - Skip Mech tests unless TWMC is a high enough version. (RT#55302)
+ - Move Pod tests to only run for module authors
+
1.0 2010-05-04 21:46:00
- Fix version number to be higher.
Modified: Catalyst-Plugin-Unicode-Encoding/trunk/Makefile.PL
===================================================================
--- Catalyst-Plugin-Unicode-Encoding/trunk/Makefile.PL 2010-05-08 20:32:05 UTC (rev 13226)
+++ Catalyst-Plugin-Unicode-Encoding/trunk/Makefile.PL 2010-05-08 20:32:41 UTC (rev 13227)
@@ -1,5 +1,6 @@
use inc::Module::Install 0.91;
use Module::Install::AuthorRequires;
+use Module::Install::AuthorTests;
all_from 'lib/Catalyst/Plugin/Unicode/Encoding.pm';
@@ -12,12 +13,13 @@
test_requires 'Test::More' => '0.88';
test_requires 'IO::Scalar';
+author_tests 't/author';
+
resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Plugin-Unicode-Encoding/';
if ($Module::Install::AUTHOR) {
system("pod2text lib/Catalyst/Plugin/Unicode/Encoding.pm > README") and die;
}
-auto_install;
WriteAll;
Deleted: Catalyst-Plugin-Unicode-Encoding/trunk/t/02pod.t
===================================================================
--- Catalyst-Plugin-Unicode-Encoding/trunk/t/02pod.t 2010-05-08 20:32:05 UTC (rev 13226)
+++ Catalyst-Plugin-Unicode-Encoding/trunk/t/02pod.t 2010-05-08 20:32:41 UTC (rev 13227)
@@ -1,7 +0,0 @@
-use Test::More;
-
-eval "use Test::Pod 1.14";
-plan skip_all => 'Test::Pod 1.14 required' if $@;
-plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
-
-all_pod_files_ok();
Deleted: Catalyst-Plugin-Unicode-Encoding/trunk/t/03podcoverage.t
===================================================================
--- Catalyst-Plugin-Unicode-Encoding/trunk/t/03podcoverage.t 2010-05-08 20:32:05 UTC (rev 13226)
+++ Catalyst-Plugin-Unicode-Encoding/trunk/t/03podcoverage.t 2010-05-08 20:32:41 UTC (rev 13227)
@@ -1,7 +0,0 @@
-use Test::More;
-
-eval "use Test::Pod::Coverage 1.04";
-plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@;
-plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
-
-all_pod_coverage_ok();
Copied: Catalyst-Plugin-Unicode-Encoding/trunk/t/author/02pod.t (from rev 13215, Catalyst-Plugin-Unicode-Encoding/trunk/t/02pod.t)
===================================================================
--- Catalyst-Plugin-Unicode-Encoding/trunk/t/author/02pod.t (rev 0)
+++ Catalyst-Plugin-Unicode-Encoding/trunk/t/author/02pod.t 2010-05-08 20:32:41 UTC (rev 13227)
@@ -0,0 +1,5 @@
+use Test::More;
+
+use Test::Pod 1.14;
+
+all_pod_files_ok();
Copied: Catalyst-Plugin-Unicode-Encoding/trunk/t/author/03podcoverage.t (from rev 13215, Catalyst-Plugin-Unicode-Encoding/trunk/t/03podcoverage.t)
===================================================================
--- Catalyst-Plugin-Unicode-Encoding/trunk/t/author/03podcoverage.t (rev 0)
+++ Catalyst-Plugin-Unicode-Encoding/trunk/t/author/03podcoverage.t 2010-05-08 20:32:41 UTC (rev 13227)
@@ -0,0 +1,5 @@
+use Test::More;
+
+use Test::Pod::Coverage 1.04;
+
+all_pod_coverage_ok();
More information about the Catalyst-commits
mailing list