r71670 - in /branches/upstream/libtest-useallmodules-perl/current: Changes MANIFEST META.yml Makefile.PL lib/Test/UseAllModules.pm t/02_no_pm.t t/03_no_manifest.t t/04_under.t t/04_under_files.t t/05_except.t t/06_require.t t/07_extra_tests.t

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Sat Mar 19 01:29:18 UTC 2011


Author: jawnsy-guest
Date: Sat Mar 19 01:29:11 2011
New Revision: 71670

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=71670
Log:
[svn-upgrade] new version libtest-useallmodules-perl (0.13)

Added:
    branches/upstream/libtest-useallmodules-perl/current/t/07_extra_tests.t
Modified:
    branches/upstream/libtest-useallmodules-perl/current/Changes
    branches/upstream/libtest-useallmodules-perl/current/MANIFEST
    branches/upstream/libtest-useallmodules-perl/current/META.yml
    branches/upstream/libtest-useallmodules-perl/current/Makefile.PL
    branches/upstream/libtest-useallmodules-perl/current/lib/Test/UseAllModules.pm
    branches/upstream/libtest-useallmodules-perl/current/t/02_no_pm.t
    branches/upstream/libtest-useallmodules-perl/current/t/03_no_manifest.t
    branches/upstream/libtest-useallmodules-perl/current/t/04_under.t
    branches/upstream/libtest-useallmodules-perl/current/t/04_under_files.t
    branches/upstream/libtest-useallmodules-perl/current/t/05_except.t
    branches/upstream/libtest-useallmodules-perl/current/t/06_require.t

Modified: branches/upstream/libtest-useallmodules-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-useallmodules-perl/current/Changes?rev=71670&op=diff
==============================================================================
--- branches/upstream/libtest-useallmodules-perl/current/Changes (original)
+++ branches/upstream/libtest-useallmodules-perl/current/Changes Sat Mar 19 01:29:11 2011
@@ -1,4 +1,7 @@
 Revision history for Perl extension Test::UseAllModules.
+
+0.13 2011/03/18
+  - Test::More version 2 support
 
 0.12 2009/05/27
   - silenced a warnings on require (reported by Kevin Ryde #46389)

Modified: branches/upstream/libtest-useallmodules-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-useallmodules-perl/current/MANIFEST?rev=71670&op=diff
==============================================================================
--- branches/upstream/libtest-useallmodules-perl/current/MANIFEST (original)
+++ branches/upstream/libtest-useallmodules-perl/current/MANIFEST Sat Mar 19 01:29:11 2011
@@ -10,6 +10,7 @@
 t/04_under_files.t
 t/05_except.t
 t/06_require.t
+t/07_extra_tests.t
 t/99_pod.t
 t/99_podcoverage.t
 t/MANIFESTed/lib/TestUseAllModulesTest.pm

Modified: branches/upstream/libtest-useallmodules-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-useallmodules-perl/current/META.yml?rev=71670&op=diff
==============================================================================
--- branches/upstream/libtest-useallmodules-perl/current/META.yml (original)
+++ branches/upstream/libtest-useallmodules-perl/current/META.yml Sat Mar 19 01:29:11 2011
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               Test-UseAllModules
-version:            0.12
+version:            0.13
 abstract:           do use_ok() for all the MANIFESTed modules
 author:
     - Kenichi Ishigaki <ishigaki at cpan.org>
@@ -13,12 +13,13 @@
 requires:
     Exporter:            0
     ExtUtils::Manifest:  0
-    Test::More:          0
+    Test::Builder:       0.30
+    Test::More:          0.60
 no_index:
     directory:
         - t
         - inc
-generated_by:       ExtUtils::MakeMaker version 6.50
+generated_by:       ExtUtils::MakeMaker version 6.56
 meta-spec:
     url:      http://module-build.sourceforge.net/META-spec-v1.4.html
     version:  1.4

Modified: branches/upstream/libtest-useallmodules-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-useallmodules-perl/current/Makefile.PL?rev=71670&op=diff
==============================================================================
--- branches/upstream/libtest-useallmodules-perl/current/Makefile.PL (original)
+++ branches/upstream/libtest-useallmodules-perl/current/Makefile.PL Sat Mar 19 01:29:11 2011
@@ -8,7 +8,8 @@
     PREREQ_PM         => {
         'Exporter'           => 0,
         'ExtUtils::Manifest' => 0,
-        'Test::More'         => 0,
+        'Test::More'         => '0.60',
+        'Test::Builder'      => '0.30', # for builder->{Have_Plan}
     },
     ($] >= 5.005 ?
       (ABSTRACT_FROM  => 'lib/Test/UseAllModules.pm',

Modified: branches/upstream/libtest-useallmodules-perl/current/lib/Test/UseAllModules.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-useallmodules-perl/current/lib/Test/UseAllModules.pm?rev=71670&op=diff
==============================================================================
--- branches/upstream/libtest-useallmodules-perl/current/lib/Test/UseAllModules.pm (original)
+++ branches/upstream/libtest-useallmodules-perl/current/lib/Test/UseAllModules.pm Sat Mar 19 01:29:11 2011
@@ -4,7 +4,7 @@
 use warnings;
 use ExtUtils::Manifest qw( maniread );
 
-our $VERSION = '0.12';
+our $VERSION = '0.13';
 
 use Exporter;
 
@@ -48,7 +48,13 @@
   return @modules;
 }
 
-sub _planned { Test::More->builder->{Have_Plan}; }
+sub _planned {
+  if ($Test::More::VERSION >= 2) {
+    Test::More->builder->_plan_handled;
+  } else {
+    Test::More->builder->{Have_Plan};
+  }
+}
 
 sub all_uses_ok {
   unless (-f 'MANIFEST') {
@@ -143,7 +149,7 @@
 
 =head1 SEE ALSO
 
-There're several modules like this on the CPAN now. L<Test::Compile> and a bit confusing L<Test::LoadAllModules> try to find modules to test by traversing directories. I'm not a big fun of them as they tend to find temporary or unrelated modules as well, but they may be handier especially if you're too lazy to update MANIFEST every time.
+There're several modules like this on the CPAN now. L<Test::Compile> and a bit confusing L<Test::LoadAllModules> try to find modules to test by traversing directories. I'm not a big fan of them as they tend to find temporary or unrelated modules as well, but they may be handier especially if you're too lazy to update MANIFEST every time.
 
 =head1 AUTHOR
 

Modified: branches/upstream/libtest-useallmodules-perl/current/t/02_no_pm.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-useallmodules-perl/current/t/02_no_pm.t?rev=71670&op=diff
==============================================================================
--- branches/upstream/libtest-useallmodules-perl/current/t/02_no_pm.t (original)
+++ branches/upstream/libtest-useallmodules-perl/current/t/02_no_pm.t Sat Mar 19 01:29:11 2011
@@ -1,5 +1,7 @@
 use strict;
 use warnings;
+use FindBin;
+use lib glob("$FindBin::Bin/extlib/*/lib");
 use Test::UseAllModules;
 
 BEGIN {

Modified: branches/upstream/libtest-useallmodules-perl/current/t/03_no_manifest.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-useallmodules-perl/current/t/03_no_manifest.t?rev=71670&op=diff
==============================================================================
--- branches/upstream/libtest-useallmodules-perl/current/t/03_no_manifest.t (original)
+++ branches/upstream/libtest-useallmodules-perl/current/t/03_no_manifest.t Sat Mar 19 01:29:11 2011
@@ -1,5 +1,7 @@
 use strict;
 use warnings;
+use FindBin;
+use lib glob("$FindBin::Bin/extlib/*/lib");
 use Test::UseAllModules;
 
 BEGIN {

Modified: branches/upstream/libtest-useallmodules-perl/current/t/04_under.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-useallmodules-perl/current/t/04_under.t?rev=71670&op=diff
==============================================================================
--- branches/upstream/libtest-useallmodules-perl/current/t/04_under.t (original)
+++ branches/upstream/libtest-useallmodules-perl/current/t/04_under.t Sat Mar 19 01:29:11 2011
@@ -1,5 +1,7 @@
 use strict;
 use warnings;
+use FindBin;
+use lib glob("$FindBin::Bin/extlib/*/lib");
 use Test::UseAllModules under => qw(lib t/lib/);
 
 BEGIN {

Modified: branches/upstream/libtest-useallmodules-perl/current/t/04_under_files.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-useallmodules-perl/current/t/04_under_files.t?rev=71670&op=diff
==============================================================================
--- branches/upstream/libtest-useallmodules-perl/current/t/04_under_files.t (original)
+++ branches/upstream/libtest-useallmodules-perl/current/t/04_under_files.t Sat Mar 19 01:29:11 2011
@@ -1,5 +1,7 @@
 use strict;
 use warnings;
+use FindBin;
+use lib glob("$FindBin::Bin/extlib/*/lib");
 use Test::UseAllModules under => qw(lib t/lib/);
 use Test::More tests => 2;
 

Modified: branches/upstream/libtest-useallmodules-perl/current/t/05_except.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-useallmodules-perl/current/t/05_except.t?rev=71670&op=diff
==============================================================================
--- branches/upstream/libtest-useallmodules-perl/current/t/05_except.t (original)
+++ branches/upstream/libtest-useallmodules-perl/current/t/05_except.t Sat Mar 19 01:29:11 2011
@@ -1,5 +1,7 @@
 use strict;
 use warnings;
+use FindBin;
+use lib glob("$FindBin::Bin/extlib/*/lib");
 use Test::UseAllModules;
 use Test::More tests => 2;
 

Modified: branches/upstream/libtest-useallmodules-perl/current/t/06_require.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-useallmodules-perl/current/t/06_require.t?rev=71670&op=diff
==============================================================================
--- branches/upstream/libtest-useallmodules-perl/current/t/06_require.t (original)
+++ branches/upstream/libtest-useallmodules-perl/current/t/06_require.t Sat Mar 19 01:29:11 2011
@@ -1,5 +1,7 @@
 use strict;
 use warnings;
+use FindBin;
+use lib glob("$FindBin::Bin/extlib/*/lib");
 use Test::More tests => 1;
 
 require Test::UseAllModules;

Added: branches/upstream/libtest-useallmodules-perl/current/t/07_extra_tests.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-useallmodules-perl/current/t/07_extra_tests.t?rev=71670&op=file
==============================================================================
--- branches/upstream/libtest-useallmodules-perl/current/t/07_extra_tests.t (added)
+++ branches/upstream/libtest-useallmodules-perl/current/t/07_extra_tests.t Sat Mar 19 01:29:11 2011
@@ -1,0 +1,18 @@
+use strict;
+use warnings;
+use FindBin;
+use lib glob("$FindBin::Bin/extlib/*/lib");
+use Test::More;
+use Test::UseAllModules under => qw(lib t/lib/);
+
+BEGIN {
+  chdir 't/MANIFESTed';
+
+  plan tests => Test::UseAllModules::_get_module_list() + 1;
+
+  all_uses_ok();
+  chdir '../..';
+
+  pass "test count should be correct";
+}
+




More information about the Pkg-perl-cvs-commits mailing list