[Catalyst-commits] r13017 - in Catalyst-Authentication-Credential-HTTP/1.000/trunk: . t t/author

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Sun Mar 7 20:50:03 GMT 2010


Author: t0m
Date: 2010-03-07 20:50:03 +0000 (Sun, 07 Mar 2010)
New Revision: 13017

Added:
   Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/author/
   Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/author/pod.t
   Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/author/pod_spelling.t
   Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/author/podcoverage.t
Removed:
   Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/02pod.t
   Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/03podcoverage.t
   Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/04pod_spelling.t
Modified:
   Catalyst-Authentication-Credential-HTTP/1.000/trunk/Changes
   Catalyst-Authentication-Credential-HTTP/1.000/trunk/Makefile.PL
Log:
Make pod tests author only

Modified: Catalyst-Authentication-Credential-HTTP/1.000/trunk/Changes
===================================================================
--- Catalyst-Authentication-Credential-HTTP/1.000/trunk/Changes	2010-03-07 20:44:50 UTC (rev 13016)
+++ Catalyst-Authentication-Credential-HTTP/1.000/trunk/Changes	2010-03-07 20:50:03 UTC (rev 13017)
@@ -1,3 +1,5 @@
+   - Make Pod tests author only.
+
 1.011 2009-06-26
    - Added true/false check to _debug option
 
@@ -4,7 +6,6 @@
 1.010 2009-05-14
    - Moved tests out to t/lib/ (dhoss)
 
-
    - Add debug when a user is found, but passwords don't match (abraxxa)
 
 1.009  2009-01-04

Modified: Catalyst-Authentication-Credential-HTTP/1.000/trunk/Makefile.PL
===================================================================
--- Catalyst-Authentication-Credential-HTTP/1.000/trunk/Makefile.PL	2010-03-07 20:44:50 UTC (rev 13016)
+++ Catalyst-Authentication-Credential-HTTP/1.000/trunk/Makefile.PL	2010-03-07 20:50:03 UTC (rev 13017)
@@ -1,4 +1,6 @@
 use inc::Module::Install 0.87;
+use Module::Install::AuthorRequires;
+use Module::Install::AuthorTests;
 
 name 'Catalyst-Authentication-Credential-HTTP';
 all_from 'lib/Catalyst/Authentication/Credential/HTTP.pm';
@@ -12,10 +14,15 @@
 requires 'URI::Escape';
 requires 'Class::Accessor::Fast';
 
+author_requires 'Test::Pod' => '1.14';
+author_requires 'Test::Spelling' => '0.11';
+author_requires 'Test::Pod::Coverage' => '1.04';
+
 resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Authentication-Credential-HTTP';
 
+author_tests 't/author';
+
 auto_install;
-resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Authentication-Credential-HTTP/1.000/trunk/';
 
 WriteAll;
 

Deleted: Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/02pod.t
===================================================================
--- Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/02pod.t	2010-03-07 20:44:50 UTC (rev 13016)
+++ Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/02pod.t	2010-03-07 20:50:03 UTC (rev 13017)
@@ -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-Authentication-Credential-HTTP/1.000/trunk/t/03podcoverage.t
===================================================================
--- Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/03podcoverage.t	2010-03-07 20:44:50 UTC (rev 13016)
+++ Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/03podcoverage.t	2010-03-07 20:50:03 UTC (rev 13017)
@@ -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();

Deleted: Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/04pod_spelling.t
===================================================================
--- Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/04pod_spelling.t	2010-03-07 20:44:50 UTC (rev 13016)
+++ Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/04pod_spelling.t	2010-03-07 20:50:03 UTC (rev 13017)
@@ -1,29 +0,0 @@
-#!perl -w
-use strict;
-use warnings;
-use Test::More;
-
-eval 'use Test::Spelling 0.11';
-plan skip_all => 'Test::Spelling 0.11 not installed' if $@;
-plan skip_all => 'set TEST_SPELLING to enable this test' unless $ENV{TEST_SPELLING};
-
-set_spell_cmd('aspell list');
-
-add_stopwords( grep { defined $_ && length $_ } <DATA>);
-
-all_pod_files_spelling_ok();
-
-__DATA__
-behaviour
-Doran
-Kiefer
-Kogman
-Yuval
-auth
-username
-Authorization
-authorization
-sess
-init
-ok
-Corlett

Copied: Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/author/pod.t (from rev 12829, Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/02pod.t)
===================================================================
--- Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/author/pod.t	                        (rev 0)
+++ Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/author/pod.t	2010-03-07 20:50:03 UTC (rev 13017)
@@ -0,0 +1,5 @@
+use Test::More;
+
+use Test::Pod 1.14;
+
+all_pod_files_ok();

Copied: Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/author/pod_spelling.t (from rev 12829, Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/04pod_spelling.t)
===================================================================
--- Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/author/pod_spelling.t	                        (rev 0)
+++ Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/author/pod_spelling.t	2010-03-07 20:50:03 UTC (rev 13017)
@@ -0,0 +1,28 @@
+#!perl -w
+use strict;
+use warnings;
+use Test::More;
+
+use Test::Spelling 0.11;
+
+set_spell_cmd('aspell list');
+
+add_stopwords( grep { defined $_ && length $_ } <DATA>);
+
+all_pod_files_spelling_ok();
+
+__DATA__
+dhoss
+behaviour
+Doran
+Kiefer
+Kogman
+Yuval
+auth
+username
+Authorization
+authorization
+sess
+init
+ok
+Corlett

Copied: Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/author/podcoverage.t (from rev 12829, Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/03podcoverage.t)
===================================================================
--- Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/author/podcoverage.t	                        (rev 0)
+++ Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/author/podcoverage.t	2010-03-07 20:50:03 UTC (rev 13017)
@@ -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