r52040 - in /branches/upstream/libtest-module-used-perl/current: ChangeLog Changes MANIFEST META.yml lib/Test/Module/Used.pm t/005_used_module.t testdata/t2/001_use_ok.t testdata/t2/lib/My/Test2.pm

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Tue Feb 2 16:54:33 UTC 2010


Author: jawnsy-guest
Date: Tue Feb  2 16:54:18 2010
New Revision: 52040

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=52040
Log:
[svn-upgrade] Integrating new upstream version, libtest-module-used-perl (0.1.9)

Added:
    branches/upstream/libtest-module-used-perl/current/Changes   (with props)
Removed:
    branches/upstream/libtest-module-used-perl/current/ChangeLog
Modified:
    branches/upstream/libtest-module-used-perl/current/MANIFEST
    branches/upstream/libtest-module-used-perl/current/META.yml
    branches/upstream/libtest-module-used-perl/current/lib/Test/Module/Used.pm
    branches/upstream/libtest-module-used-perl/current/t/005_used_module.t
    branches/upstream/libtest-module-used-perl/current/testdata/t2/001_use_ok.t
    branches/upstream/libtest-module-used-perl/current/testdata/t2/lib/My/Test2.pm

Added: branches/upstream/libtest-module-used-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-module-used-perl/current/Changes?rev=52040&op=file
==============================================================================
--- branches/upstream/libtest-module-used-perl/current/Changes (added)
+++ branches/upstream/libtest-module-used-perl/current/Changes Tue Feb  2 16:54:18 2010
@@ -1,0 +1,76 @@
+0.1.9
+    - fix: modules used in test_lib_dir are ignored.(RT#54187)
+    - ChangeLog format change(Because ShipIt doesn't support previous format)
+
+0.1.8 
+	- remove executable permission in Makefile.PL
+
+
+0.1.7
+	- add repository in Makefile.PL
+	(merge from git://github.com/cpanservice/Test-Module-Used.git)
+	
+0.1.6
+	- fix: add copyright information(for RT#53290)
+
+
+0.1.5
+	- fix: insufficient version of version.pm specified.
+
+
+0.1.4
+	- improve error messages when test fails.
+
+0.1.3_02
+	- fix: POD structure(chaptering) is insufficient.
+
+
+0.1.3_01
+    - deprecated parameters are deleted
+    - read perl version from META.yml and NOT from *.pm
+
+0.1.2
+	- add parameter 'test_lib_dir' in constructor
+      and automatically push exclude_in_testdir to modules which are in
+      test_lib_dir.
+
+0.1.1
+	- fix: failed if package statement doesn't exist in *.pm file.
+
+0.1.0
+	- fix: fix again test failed in windows environment
+      remove all slash directory separator, and instead of using catfile().
+
+0.0.9
+	- fix: test failed in windows environment
+
+0.0.8
+	- implement push_exclude_in_{test,module}dir(), it enables
+      set exclude_in_{test,module}dir after new()
+
+0.0.7
+	- fix: bugs in version fetching from file.
+
+0.0.6
+	- refactoring methods and some optimization
+       find bug in handling core module
+
+0.0.5
+    - fix: test faild in windows environment
+
+0.0.4
+    - found bug in ok(module_requires exclude)
+      add build_requires and requires exclusion in constructor
+	
+0.0.3
+    - add ChangeLog and README
+    - describe about perl_version
+    - bug fix (failed when test is empty)
+    - parse perlversion using Perl::MinimumVersion
+
+0.0.2
+    - fix insufficient index(set no_index to testdata)
+
+0.0.1
+    - initial release
+

Propchange: branches/upstream/libtest-module-used-perl/current/Changes
------------------------------------------------------------------------------
    svn:executable = *

Modified: branches/upstream/libtest-module-used-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-module-used-perl/current/MANIFEST?rev=52040&op=diff
==============================================================================
--- branches/upstream/libtest-module-used-perl/current/MANIFEST (original)
+++ branches/upstream/libtest-module-used-perl/current/MANIFEST Tue Feb  2 16:54:18 2010
@@ -1,4 +1,4 @@
-ChangeLog
+Changes
 inc/Module/Install.pm
 inc/Module/Install/AuthorTests.pm
 inc/Module/Install/Base.pm

Modified: branches/upstream/libtest-module-used-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-module-used-perl/current/META.yml?rev=52040&op=diff
==============================================================================
--- branches/upstream/libtest-module-used-perl/current/META.yml (original)
+++ branches/upstream/libtest-module-used-perl/current/META.yml Tue Feb  2 16:54:18 2010
@@ -31,4 +31,4 @@
 resources:
   license: http://dev.perl.org/licenses/
   repository: http://github.com/tsucchi/Test-Module-Used
-version: 0.1.8
+version: 0.1.9

Modified: branches/upstream/libtest-module-used-perl/current/lib/Test/Module/Used.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-module-used-perl/current/lib/Test/Module/Used.pm?rev=52040&op=diff
==============================================================================
--- branches/upstream/libtest-module-used-perl/current/lib/Test/Module/Used.pm (original)
+++ branches/upstream/libtest-module-used-perl/current/lib/Test/Module/Used.pm Tue Feb  2 16:54:18 2010
@@ -13,7 +13,7 @@
 use version;
 
 use 5.008;
-our $VERSION = '0.1.8';
+our $VERSION = '0.1.9';
 
 =head1 NAME
 
@@ -290,7 +290,10 @@
 
 sub _test_files {
     my $self = shift;
-    return $self->_find_files_by_ext($self->_test_dir, qr/\.t$/);
+    return (
+        $self->_find_files_by_ext($self->_test_dir, qr/\.t$/),
+        $self->_pm_files_in_test()
+    );
 }
 
 sub _find_files_by_ext {

Modified: branches/upstream/libtest-module-used-perl/current/t/005_used_module.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-module-used-perl/current/t/005_used_module.t?rev=52040&op=diff
==============================================================================
--- branches/upstream/libtest-module-used-perl/current/t/005_used_module.t (original)
+++ branches/upstream/libtest-module-used-perl/current/t/005_used_module.t Tue Feb  2 16:54:18 2010
@@ -1,7 +1,7 @@
 #!/usr/bin/perl -w
 use strict;
 use warnings;
-use Test::More tests=>10;
+use Test::More tests=>12;
 use File::Spec::Functions qw(catfile);
 use Test::Module::Used;
 
@@ -40,3 +40,13 @@
 is_deeply([$used3->_used_modules()], [qw(Test::Module::Used)]);
 $used3->push_exclude_in_testdir( qw(Test::More Test::Class) );
 is_deeply([$used3->_used_modules_in_test()], []);
+
+# contains modules in test_dir (RT#54187)
+my $used4 = Test::Module::Used->new(
+    test_dir  => [catfile('testdata', 't2')],
+    test_lib_dir => [catfile('testdata', 't2', 'lib')],
+    lib_dir   => [catfile('testdata', 'lib2')],
+    meta_file => catfile('testdata', 'META.yml3'),
+);
+is_deeply([$used4->_test_files],   [catfile('testdata', 't2', '001_use_ok.t'), catfile('testdata', 't2', 'lib', 'My', 'Test2.pm')]);
+is_deeply([$used4->_remove_core($used4->_used_modules_in_test())], [qw(List::MoreUtils)]);

Modified: branches/upstream/libtest-module-used-perl/current/testdata/t2/001_use_ok.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-module-used-perl/current/testdata/t2/001_use_ok.t?rev=52040&op=diff
==============================================================================
--- branches/upstream/libtest-module-used-perl/current/testdata/t2/001_use_ok.t (original)
+++ branches/upstream/libtest-module-used-perl/current/testdata/t2/001_use_ok.t Tue Feb  2 16:54:18 2010
@@ -1,7 +1,7 @@
 #!/usr/bin/perl
+use Test::More;
 use strict;
 use warnings;
-use Test::More;
 
 BEGIN { use_ok('My::Test') };
 done_testing();

Modified: branches/upstream/libtest-module-used-perl/current/testdata/t2/lib/My/Test2.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-module-used-perl/current/testdata/t2/lib/My/Test2.pm?rev=52040&op=diff
==============================================================================
--- branches/upstream/libtest-module-used-perl/current/testdata/t2/lib/My/Test2.pm (original)
+++ branches/upstream/libtest-module-used-perl/current/testdata/t2/lib/My/Test2.pm Tue Feb  2 16:54:18 2010
@@ -1,2 +1,4 @@
 package My::Test2;
+use List::MoreUtils;
+
 1;




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