[Catalyst-commits] r12977 - in Catalyst-Plugin-FormValidator/trunk:
. t t/author
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Tue Feb 23 16:40:38 GMT 2010
Author: t0m
Date: 2010-02-23 16:40:38 +0000 (Tue, 23 Feb 2010)
New Revision: 12977
Added:
Catalyst-Plugin-FormValidator/trunk/t/author/
Catalyst-Plugin-FormValidator/trunk/t/author/pod.t
Catalyst-Plugin-FormValidator/trunk/t/author/podcoverage.t
Removed:
Catalyst-Plugin-FormValidator/trunk/t/02pod.t
Catalyst-Plugin-FormValidator/trunk/t/03podcoverage.t
Modified:
Catalyst-Plugin-FormValidator/trunk/Changes
Catalyst-Plugin-FormValidator/trunk/Makefile.PL
Log:
Fix Pod tests. And when I say fix, I mean make them fail hard
Modified: Catalyst-Plugin-FormValidator/trunk/Changes
===================================================================
--- Catalyst-Plugin-FormValidator/trunk/Changes 2010-02-23 16:33:16 UTC (rev 12976)
+++ Catalyst-Plugin-FormValidator/trunk/Changes 2010-02-23 16:40:38 UTC (rev 12977)
@@ -2,6 +2,7 @@
- Class::C3::Adopt::NEXT is not used so is removed.
- MRO::Compat added for maybe::next::method
+ - Pod tests now author only and must pass.
0.092 Sun Feb 21 16:04:00
- added proper Class::C3::Adopt::NEXT method calls
Modified: Catalyst-Plugin-FormValidator/trunk/Makefile.PL
===================================================================
--- Catalyst-Plugin-FormValidator/trunk/Makefile.PL 2010-02-23 16:33:16 UTC (rev 12976)
+++ Catalyst-Plugin-FormValidator/trunk/Makefile.PL 2010-02-23 16:40:38 UTC (rev 12977)
@@ -1,4 +1,7 @@
+use strict;
use inc::Module::Install;
+use Module::Install::AuthorRequires;
+use Module::Install::AuthorTests;
name 'Catalyst-Plugin-FormValidator';
author 'Sebastian Riedel (sri at oook.de)';
@@ -8,6 +11,8 @@
requires 'MRO::Compat';
requires 'Moose' => '0.93';
-version '0.092';
+author_requires 'Test::Pod::Coverage' => '1.04';
+author_requires 'Test::Pod' => '1.14';
+author_tests 't/author';
WriteAll;
Deleted: Catalyst-Plugin-FormValidator/trunk/t/02pod.t
===================================================================
--- Catalyst-Plugin-FormValidator/trunk/t/02pod.t 2010-02-23 16:33:16 UTC (rev 12976)
+++ Catalyst-Plugin-FormValidator/trunk/t/02pod.t 2010-02-23 16:40:38 UTC (rev 12977)
@@ -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-FormValidator/trunk/t/03podcoverage.t
===================================================================
--- Catalyst-Plugin-FormValidator/trunk/t/03podcoverage.t 2010-02-23 16:33:16 UTC (rev 12976)
+++ Catalyst-Plugin-FormValidator/trunk/t/03podcoverage.t 2010-02-23 16:40:38 UTC (rev 12977)
@@ -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-FormValidator/trunk/t/author/pod.t (from rev 12975, Catalyst-Plugin-FormValidator/trunk/t/02pod.t)
===================================================================
--- Catalyst-Plugin-FormValidator/trunk/t/author/pod.t (rev 0)
+++ Catalyst-Plugin-FormValidator/trunk/t/author/pod.t 2010-02-23 16:40:38 UTC (rev 12977)
@@ -0,0 +1,5 @@
+use Test::More;
+
+use Test::Pod 1.14;
+
+all_pod_files_ok();
Property changes on: Catalyst-Plugin-FormValidator/trunk/t/author/pod.t
___________________________________________________________________
Added: svn:mergeinfo
+
Copied: Catalyst-Plugin-FormValidator/trunk/t/author/podcoverage.t (from rev 12975, Catalyst-Plugin-FormValidator/trunk/t/03podcoverage.t)
===================================================================
--- Catalyst-Plugin-FormValidator/trunk/t/author/podcoverage.t (rev 0)
+++ Catalyst-Plugin-FormValidator/trunk/t/author/podcoverage.t 2010-02-23 16:40:38 UTC (rev 12977)
@@ -0,0 +1,5 @@
+use Test::More;
+
+use Test::Pod::Coverage 1.04;
+
+all_pod_coverage_ok();
Property changes on: Catalyst-Plugin-FormValidator/trunk/t/author/podcoverage.t
___________________________________________________________________
Added: svn:mergeinfo
+
More information about the Catalyst-commits
mailing list