added Test::Pod support
Sebastian Riedel [Fri, 25 Mar 2005 15:08:27 +0000 (15:08 +0000)]
19 files changed:
Changes
lib/Catalyst/Helper.pm
t/02pod.t [new file with mode: 0644]
t/03podcoverage.t [moved from t/02podcoverage.t with 100% similarity]
t/04plainaction.t [moved from t/03plainaction.t with 100% similarity]
t/05regexaction.t [moved from t/04regexaction.t with 100% similarity]
t/06parameters.t [moved from t/05parameters.t with 100% similarity]
t/07arguments.t [moved from t/06arguments.t with 100% similarity]
t/08headers.t [moved from t/07headers.t with 100% similarity]
t/09cookies.t [moved from t/08cookies.t with 100% similarity]
t/10forward.t [moved from t/09forward.t with 100% similarity]
t/11redirect.t [moved from t/10redirect.t with 100% similarity]
t/12stash.t [moved from t/11stash.t with 100% similarity]
t/13default.t [moved from t/12default.t with 100% similarity]
t/14beginend.t [moved from t/13beginend.t with 100% similarity]
t/15connection.t [moved from t/14connection.t with 100% similarity]
t/16post.t [moved from t/15post.t with 100% similarity]
t/17uri.t [moved from t/16uri.t with 100% similarity]
t/18inheritance.t [moved from t/17inheritance.t with 100% similarity]

diff --git a/Changes b/Changes
index 0bbd53a..f01d347 100644 (file)
--- a/Changes
+++ b/Changes
@@ -3,6 +3,7 @@ This file documents the revision history for Perl extension Catalyst.
 5.00  XXX XXX XX XX:00:00 2005
         - whole new core for private action inheritance
         - problems with mod_perl2 fixed
+        - added Test::Pod support
 
 4.34  Wed Mar 23 07:00:00 2005
         - added some messages to Makefile.PL
index ed6dd3c..8c392cb 100644 (file)
@@ -308,7 +308,16 @@ use_ok( Catalyst::Test, '$name' );
 
 ok( request('/')->is_success );
 EOF
-    $self->mk_file( "$t\/02podcoverage.t", <<"EOF");
+    $self->mk_file( "$t\/02pod.t", <<"EOF");
+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();
+EOF
+    $self->mk_file( "$t\/03podcoverage.t", <<"EOF");
 use Test::More;
 
 eval "use Test::Pod::Coverage 1.04";
diff --git a/t/02pod.t b/t/02pod.t
new file mode 100644 (file)
index 0000000..1647794
--- /dev/null
+++ b/t/02pod.t
@@ -0,0 +1,7 @@
+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();
similarity index 100%
rename from t/02podcoverage.t
rename to t/03podcoverage.t
similarity index 100%
rename from t/03plainaction.t
rename to t/04plainaction.t
similarity index 100%
rename from t/04regexaction.t
rename to t/05regexaction.t
similarity index 100%
rename from t/05parameters.t
rename to t/06parameters.t
similarity index 100%
rename from t/06arguments.t
rename to t/07arguments.t
similarity index 100%
rename from t/07headers.t
rename to t/08headers.t
similarity index 100%
rename from t/08cookies.t
rename to t/09cookies.t
similarity index 100%
rename from t/09forward.t
rename to t/10forward.t
similarity index 100%
rename from t/10redirect.t
rename to t/11redirect.t
similarity index 100%
rename from t/11stash.t
rename to t/12stash.t
similarity index 100%
rename from t/12default.t
rename to t/13default.t
similarity index 100%
rename from t/13beginend.t
rename to t/14beginend.t
similarity index 100%
rename from t/14connection.t
rename to t/15connection.t
similarity index 100%
rename from t/15post.t
rename to t/16post.t
similarity index 100%
rename from t/16uri.t
rename to t/17uri.t
similarity index 100%
rename from t/17inheritance.t
rename to t/18inheritance.t