r63143 - in /trunk/libtest-deep-perl: CHANGES MANIFEST META.yml Makefile.PL debian/changelog debian/control debian/copyright debian/source/ debian/source/format lib/Test/Deep.pm lib/Test/Deep.pod t/regexp.t t/regexpref.t
ansgar-guest at users.alioth.debian.org
ansgar-guest at users.alioth.debian.org
Fri Oct 1 13:21:53 UTC 2010
Author: ansgar-guest
Date: Fri Oct 1 13:21:46 2010
New Revision: 63143
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=63143
Log:
* New upstream release.
* Use source format 3.0 (quilt).
* debian/copyright: Formatting changes; refer to "Debian systems" instead of
"Debian GNU/Linux systems"; refer to /usr/share/common-licenses/GPL-1.
* Bump Standards-Version to 3.9.1.
* Add myself to Uploaders.
Added:
trunk/libtest-deep-perl/debian/source/
trunk/libtest-deep-perl/debian/source/format
Modified:
trunk/libtest-deep-perl/CHANGES
trunk/libtest-deep-perl/MANIFEST
trunk/libtest-deep-perl/META.yml
trunk/libtest-deep-perl/Makefile.PL
trunk/libtest-deep-perl/debian/changelog
trunk/libtest-deep-perl/debian/control
trunk/libtest-deep-perl/debian/copyright
trunk/libtest-deep-perl/lib/Test/Deep.pm
trunk/libtest-deep-perl/lib/Test/Deep.pod
trunk/libtest-deep-perl/t/regexp.t
trunk/libtest-deep-perl/t/regexpref.t
Modified: trunk/libtest-deep-perl/CHANGES
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-deep-perl/CHANGES?rev=63143&op=diff
==============================================================================
--- trunk/libtest-deep-perl/CHANGES (original)
+++ trunk/libtest-deep-perl/CHANGES Fri Oct 1 13:21:46 2010
@@ -1,272 +1,303 @@
+
+0.170 2009-09-28
+
+ New maintainer: Ricardo Signes (rjbs)
+
+ On 5.10.0 and newer perl, install to the "site" directory, not the
+ core perl directory in @INC. (Prior to 5.10.0, @INC ordering was
+ unfortunate, and fixing the install target would make upgrading
+ difficult.)
+
+ cope with new stringification of qr{} objects in 5.13.x+ (thanks,
+ ANDK)
+
+ fix Pod escaping errors (thanks, FWIE)
+
0.106
-Release after dev.
+ Release after dev.
0.105-dev
-Fix for perl 5.010.1 - the code to check the version and act correctly
-on regexp refs treated .1 as behaving like 5.011.
+ Fix for perl 5.010.1 - the code to check the version and act
+ correctly on regexp refs treated .1 as behaving like 5.011.
0.104
-Document behaviour of cmp_bag when a non ARRAY-ref argument is passed
-to it. Explicity test for this a die with a useful message.
-
-Document and export cmp_details and deep_diag, thanks to Tom Hukins
-for the patch.
+ Document behaviour of cmp_bag when a non ARRAY-ref argument is passed
+ to it. Explicity test for this a die with a useful message.
+
+ Document and export cmp_details and deep_diag, thanks to Tom Hukins
+ for the patch.
0.103
-Detect whether isa() is being called with 1 or 2 arguments and
-dispatch to the correct function. This is hacky but fixes the problem
-of clashing with UNIVERSAL::isa().
+ Detect whether isa() is being called with 1 or 2 arguments and
+ dispatch to the correct function. This is hacky but fixes the problem
+ of clashing with UNIVERSAL::isa().
0.102
-Behave well when a code comparator doesn't give diagnostics. Thanks to
-Alex Kapranoff.
+ Behave well when a code comparator doesn't give diagnostics. Thanks
+ to Alex Kapranoff.
0.101
-Fix an overloading problem with All and Any. Thanks to Kostas
-Chatzikokolakis for reporting the bug and especially for explaining
-how to fix it :)
-
-Added a nasty hack to smooth over a problem in Test::Tester.
+ Fix an overloading problem with All and Any. Thanks to Kostas
+ Chatzikokolakis for reporting the bug and especially for explaining
+ how to fix it :)
+
+ Added a nasty hack to smooth over a problem in Test::Tester.
0.100
-Apply patch from Andreas Koenig (ANDK) to cope with Perl 5.11's new
-REGEXP objects.
+ Apply patch from Andreas Koenig (ANDK) to cope with Perl 5.11's new
+ REGEXP objects.
0.099
-Don't explode on perl's that don't have weakrefs. If they're not
-available, just don't weaken the refs. It means refs can be cached for
-longer than desirable but it's better than explodiing.
-
-This doesn't fix all of te problems with perl 5.005 but I'm pushing it
-out because the previous version number upsets CPAN.pm.
+ Don't explode on perl's that don't have weakrefs. If they're not
+ available, just don't weaken the refs. It means refs can be cached
+ for longer than desirable but it's better than explodiing.
+
+ This doesn't fix all of te problems with perl 5.005 but I'm pushing
+ it out because the previous version number upsets CPAN.pm.
0.098
-Cleaned up Test::Deep::NoTest by making it call Test::Deep's import,
-that way it will always be in sync for exports. Also added some POD
-docs.
-
-Added notest_extra.t to check that things are correctly exported and
-working.
-
-Add cmp_details but left it undocumented. It manages localising the
-stack etc. Factored eq_deeply and cmp_deeply through that. This meant
-adding an icky hack into deep_diag. I should clean that whole thing up.
-
-Remove $name from params of eq_deeply, in code and docs, it was unused.
+ Cleaned up Test::Deep::NoTest by making it call Test::Deep's import,
+ that way it will always be in sync for exports. Also added some POD
+ docs.
+
+ Added notest_extra.t to check that things are correctly exported and
+ working.
+
+ Add cmp_details but left it undocumented. It manages localising the
+ stack etc. Factored eq_deeply and cmp_deeply through that. This meant
+ adding an icky hack into deep_diag. I should clean that whole thing
+ up.
+
+ Remove $name from params of eq_deeply, in code and docs, it was
+ unused.
0.097
-Fixed doc typo for re().
-
-Fix diagnostics for code(), it was always printing undef instead of
-the got value.
+ Fixed doc typo for re().
+
+ Fix diagnostics for code(), it was always printing undef instead of
+ the got value.
0.096
-%WrapCache was keeping references to external data. It's now local()ised at the start of a comparison just like the other caches (why I didn't do that when I added it, I don't know). Thanks to Matthijs Bomhoff for reporting the problem.
+ %WrapCache was keeping references to external data. It's now
+ local()ised at the start of a comparison just like the other caches
+ (why I didn't do that when I added it, I don't know). Thanks to
+ Matthijs Bomhoff for reporting the problem.
0.095
-Docs and code didn't match, useclass was actually requireclass, available as
-both now
+ Docs and code didn't match, useclass was actually requireclass,
+ available as both now
0.094
-Changed Set and Bag to no longer issue warnings when undefs are
-present. Needed to make the sort and the diagnotics
-undef-aware. Thanks to Colin Kuskie for pointing this out.
-
-Added tests for this.
+ Changed Set and Bag to no longer issue warnings when undefs are
+ present. Needed to make the sort and the diagnotics
+ undef-aware. Thanks to Colin Kuskie for pointing this out.
+
+ Added tests for this.
0.093
-Fixed inifinte recursion when adding comparators into bags. That whole area is unpleasant - conceptually as well as implementation-wise. Comparators no longer inherit a compare method, so we only call the specialised compare if it exists, otherwise we just do normal deep comparison.
-
-Removed a debugging print.
+ Fixed inifinte recursion when adding comparators into bags. That
+ whole area is unpleasant - conceptually as well as
+ implementation-wise. Comparators no longer inherit a compare method,
+ so we only call the specialised compare if it exists, otherwise we
+ just do normal deep comparison.
+
+ Removed a debugging print.
0.092
-Got the if backwards for loading Test::Builder (again for NoTest - simples changes...). No ill effects for most people as they load it via something else any but ApacheSession for example doesn't.
-
-Now tetsing for lack of testing framework.
+ Got the if backwards for loading Test::Builder (again for NoTest -
+ simples changes...). No ill effects for most people as they load it
+ via something else any but ApacheSession for example doesn't.
+
+ Now tetsing for lack of testing framework.
0.091
-Forgot to export lots of stuff via NoTest
+ Forgot to export lots of stuff via NoTest
0.090
-Added Test::Builder::NoTest so that eq_deeply can be use entirely without
-Test::Builder.
+ Added Test::Builder::NoTest so that eq_deeply can be use entirely
+ without Test::Builder.
0.089
-Wasn't corrrectly setting $Test::Builder::Level in cmp_bag, cmp_set and
-cmp_methods, this caused test error messages to include the wrong line/file.
-
-Whitespace changes.
+ Wasn't corrrectly setting $Test::Builder::Level in cmp_bag, cmp_set
+ and cmp_methods, this caused test error messages to include the wrong
+ line/file.
+
+ Whitespace changes.
0.088
-Slight twiddle to silence warnings from the new Test::Tester thanks to
-SSORICHE
+ Slight twiddle to silence warnings from the new Test::Tester thanks to
+ SSORICHE
0.087
-cmp_methods, cmp_bag and cmp_set weren't passing on the test name. Thanks to
-Alex Kapranoff for the patch.
+ cmp_methods, cmp_bag and cmp_set weren't passing on the test name.
+ Thanks to Alex Kapranoff for the patch.
0.086
-Add $tolerance to Number so now you can check that 2 numbers are equal, give
-or take a little bit.
-
-Autogenerating most of the convenience constructor routines, deleted nearly
-200 lines of boilerplate. Why didn't I think of that before?
-
-Almost every test script had the same lines at the beginning. These are now
-in t/std.pm, another 200 lines of code (well 50% whitespace) gone. Happy.
-
-Added use warnings to the test scripts, didn't make a difference.
-
-Added inspection of strings captured from a regex and fixed up some re() doc
-errors.
+ Add $tolerance to Number so now you can check that 2 numbers are
+ equal, give or take a little bit.
+
+ Autogenerating most of the convenience constructor routines, deleted
+ nearly 200 lines of boilerplate. Why didn't I think of that before?
+
+ Almost every test script had the same lines at the beginning. These
+ are now in t/std.pm, another 200 lines of code (well 50% whitespace)
+ gone. Happy.
+
+ Added use warnings to the test scripts, didn't make a difference.
+
+ Added inspection of strings captured from a regex and fixed up some
+ re() doc errors.
0.085
-When a hash or array value or amethod does not exist and the expected value
-was a reference, the diagnostics were wrong because it headed into Reftype
-tests. Now Test::Deep::descend catches "Does not exist" early on.
-
-Added listmethods()
+ When a hash or array value or amethod does not exist and the expected
+ value was a reference, the diagnostics were wrong because it headed
+ into Reftype tests. Now Test::Deep::descend catches "Does not exist"
+ early on.
+
+ Added listmethods()
0.084
-Added subhashof and superhashof, restructured various Hash modules to handle
-sub and super.
-
-Got rid of unexported hash_elements from Test::Deep.
-
-Fixed a problem with circular set comparisons.
+ Added subhashof and superhashof, restructured various Hash modules to
+ handle sub and super.
+
+ Got rid of unexported hash_elements from Test::Deep.
+
+ Fixed a problem with circular set comparisons.
0.083
-The cache is more efficient, using a single layer and weak refs, also
-previously it could be fooled by reused addresses for objects (this is not
-just theoretical).
-
-Now Test::Deep::descend is responsible for pushing onto the stack as well as
-pulling, this means most tests don't need to think about the stack at all
-
-For the stack stuff, had to create lots of "only" modules these are tests
-that should never be called on their own as they make assumptions about the
-validity of the data, they are used as subtests inside others
-
-cleaned up lots of copy and paste Data::Dumper and confess and various other
-bits and pieces
-
-Test::Deep::Cmp (and it's descendants) autopush themselves onto the stack of
-any Test::Deep::* that uses them. Cuts even more cruft.
-
-Now everything uses the compare in Test::Deep::Cmp which just does a deep
-comparison. This is not perfect for All and Set but it's as good as what was
-happeneing before now.
-
-Wrapping unknown reftypes as shallow
+ The cache is more efficient, using a single layer and weak refs, also
+ previously it could be fooled by reused addresses for objects (this
+ is not just theoretical).
+
+ Now Test::Deep::descend is responsible for pushing onto the stack as
+ well as pulling, this means most tests don't need to think about the
+ stack at all
+
+ For the stack stuff, had to create lots of "only" modules these are
+ tests that should never be called on their own as they make
+ assumptions about the validity of the data, they are used as subtests
+ inside others
+
+ cleaned up lots of copy and paste Data::Dumper and confess and
+ various other bits and pieces
+
+ Test::Deep::Cmp (and it's descendants) autopush themselves onto the
+ stack of any Test::Deep::* that uses them. Cuts even more cruft.
+
+ Now everything uses the compare in Test::Deep::Cmp which just does a
+ deep comparison. This is not perfect for All and Set but it's as good
+ as what was happeneing before now.
+
+ Wrapping unknown reftypes as shallow
0.082
-Got rid of silly use lib in the tests, shouldn't have been in public
-
-Added dependency on Test::More
-
-Moved from type =>, vals => to exp =>, got => in stack entries
-
-Individual descend()s no longer pop their data from the stack, that's taken
-care of by Test::Deep::descend. This made things simpler in all the
-comparisons.
-
-Added support for sub/super se/bag comparisons, thanks to Boris Sukholitko
-<bobatonhu at yahoo.co.uk>
-
-Added scalarref.t
+ Got rid of silly use lib in the tests, shouldn't have been in public
+
+ Added dependency on Test::More
+
+ Moved from type =>, vals => to exp =>, got => in stack entries
+
+ Individual descend()s no longer pop their data from the stack, that's
+ taken care of by Test::Deep::descend. This made things simpler in all
+ the comparisons.
+
+ Added support for sub/super se/bag comparisons, thanks to Boris
+ Sukholitko <bobatonhu at yahoo.co.uk>
+
+ Added scalarref.t
0.081
-Got rid of struct mode for num()
-
-Large internal changes, now using a stack object rather than just an array.
-This handles rendering the stack.
-
-The comparisons handle rendering the got and expected values now.
-
-num() and str() numify/stringify before comparing, this makes overload of ==
-or eq irrelevant. This also prevents problems with the diag when something
-stringifies differently to it's numificiation or differently each time you
-look.
-
-fixed diag of overloaded refs to display the ref value, not the overloaded
-value
-
-nicer diags for booleans
+ Got rid of struct mode for num()
+
+ Large internal changes, now using a stack object rather than just an
+ array. This handles rendering the stack.
+
+ The comparisons handle rendering the got and expected values now.
+
+ num() and str() numify/stringify before comparing, this makes
+ overload of == or eq irrelevant. This also prevents problems with the
+ diag when something stringifies differently to it's numificiation or
+ differently each time you look.
+
+ fixed diag of overloaded refs to display the ref value, not the
+ overloaded value
+
+ nicer diags for booleans
0.08
-Slight doc fix
-
-Added coderef calling as a test
+ Slight doc fix
+
+ Added coderef calling as a test
0.07
-Fixed number.t to skip strict test when if Scalar::Util is not right
-
-Major improvement of docs. No longer reads like it was written by a drunken
-badger.
+ Fixed number.t to skip strict test when if Scalar::Util is not right
+
+ Major improvement of docs. No longer reads like it was written by a
+ drunken badger.
0.06
-Overhaul of Test::Deep::descend, native types are now wrapped up in a
-Test::Deep:Cmp object, moves lots of logic out of descend
-
-Added ArrayLength, HashKeys, RefType, and Blessed comparisons
-
-All tests now use Test::NoWarnings
-
-Broke out descend tests into hash.t, array, regexpref.t, probably should
-break out more
-
-Updated version of Scalar::Util dependency, thanks to Steve Purkis
+ Overhaul of Test::Deep::descend, native types are now wrapped up in a
+ Test::Deep:Cmp object, moves lots of logic out of descend
+
+ Added ArrayLength, HashKeys, RefType, and Blessed comparisons
+
+ All tests now use Test::NoWarnings
+
+ Broke out descend tests into hash.t, array, regexpref.t, probably
+ should break out more
+
+ Updated version of Scalar::Util dependency, thanks to Steve Purkis
0.05
-No longer using overload::StrVal() for looking behind overloads as it's
-broken for Regexp refs in some versions of Perl.
+ No longer using overload::StrVal() for looking behind overloads as
+ it's broken for Regexp refs in some versions of Perl.
0.04
-Documented bool and included the files!!
+ Documented bool and included the files!!
0.03
-cmp_deeply(undef, \"") calls overload::StrVal(undef)
-
-added bool test
-
-using Scalar::Util to get reftype and blessed class
+ cmp_deeply(undef, \"") calls overload::StrVal(undef)
+
+ added bool test
+
+ using Scalar::Util to get reftype and blessed class
0.02
-Added prereq to Makefile.PL
+ Added prereq to Makefile.PL
0.01
-First release
+ First release
Modified: trunk/libtest-deep-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-deep-perl/MANIFEST?rev=63143&op=diff
==============================================================================
--- trunk/libtest-deep-perl/MANIFEST (original)
+++ trunk/libtest-deep-perl/MANIFEST Fri Oct 1 13:21:46 2010
@@ -43,7 +43,6 @@
lib/Test/Deep/String.pm
Makefile.PL
MANIFEST This list of files
-META.yml
README
t/all.t
t/any.t
@@ -84,3 +83,4 @@
t/std.pm
t/string.t
TODO
+META.yml Module meta-data (added by MakeMaker)
Modified: trunk/libtest-deep-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-deep-perl/META.yml?rev=63143&op=diff
==============================================================================
--- trunk/libtest-deep-perl/META.yml (original)
+++ trunk/libtest-deep-perl/META.yml Fri Oct 1 13:21:46 2010
@@ -1,15 +1,26 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
-name: Test-Deep
-version: 0.106
-version_from: ./lib/Test/Deep.pm
-installdirs: perl
+--- #YAML:1.0
+name: Test-Deep
+version: 0.107
+abstract: ~
+author:
+ - Fergal Daly <fergal at esatclear.ie>
+license: unknown
+distribution_type: module
+configure_requires:
+ ExtUtils::MakeMaker: 0
+build_requires:
+ ExtUtils::MakeMaker: 0
requires:
- List::Util: 1.09
- Scalar::Util: 1.09
- Test::More: 0
- Test::NoWarnings: 0.02
- Test::Tester: 0.04
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.30_01
+ List::Util: 1.09
+ Scalar::Util: 1.09
+ Test::More: 0
+ Test::NoWarnings: 0.02
+ Test::Tester: 0.04
+no_index:
+ directory:
+ - t
+ - inc
+generated_by: ExtUtils::MakeMaker version 6.56
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
Modified: trunk/libtest-deep-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-deep-perl/Makefile.PL?rev=63143&op=diff
==============================================================================
--- trunk/libtest-deep-perl/Makefile.PL (original)
+++ trunk/libtest-deep-perl/Makefile.PL Fri Oct 1 13:21:46 2010
@@ -1,8 +1,8 @@
-# $Header: /home/fergal/my/cvs/Test-Deep/Makefile.PL,v 1.1.1.1 2004/08/06 20:29:55 fergal Exp $
+use strict;
use ExtUtils::MakeMaker;
-# this ugliness comes from cinompatibility of certain versions of
+# this ugliness comes from incompatibility of certain versions of
# Test::Tester with certain version of Test::Builder. The problem is
# that people might have an old TT lying around and are also likely to
# have quite a new TB. This detects that situation and hopefully
@@ -21,12 +21,15 @@
AUTHOR => 'Fergal Daly <fergal at esatclear.ie>',
NAME => 'Test::Deep',
VERSION_FROM => './lib/Test/Deep.pm',
- INSTALLDIRS => 'perl',
- PREREQ_PM => {
- Test::More => '0',
- Test::Tester => $tt_prereq,
- Test::NoWarnings => '0.02',
- Scalar::Util => '1.09',
- List::Util => '1.09', # apparently CPAN doesn't get the version of Scalar::Util
- }
+ PREREQ_PM => {
+ 'Test::More' => '0',
+ 'Test::Tester' => $tt_prereq,
+ 'Test::NoWarnings' => '0.02',
+ 'Scalar::Util' => '1.09',
+
+ # apparently CPAN doesn't get the version of Scalar::Util
+ 'List::Util' => '1.09',
+ },
+
+ ($] < 5.010 ? (INSTALLDIRS => 'perl') : ()),
);
Modified: trunk/libtest-deep-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-deep-perl/debian/changelog?rev=63143&op=diff
==============================================================================
--- trunk/libtest-deep-perl/debian/changelog (original)
+++ trunk/libtest-deep-perl/debian/changelog Fri Oct 1 13:21:46 2010
@@ -1,9 +1,18 @@
-libtest-deep-perl (0.106-2) UNRELEASED; urgency=low
+libtest-deep-perl (0.107-1) UNRELEASED; urgency=low
+ [ Ryan Niebur ]
* Update jawnsy's email address
* Update ryan52's email address
- -- Ryan Niebur <ryan at debian.org> Fri, 25 Sep 2009 00:26:34 -0700
+ [ Ansgar Burchardt ]
+ * New upstream release.
+ * Use source format 3.0 (quilt).
+ * debian/copyright: Formatting changes; refer to "Debian systems" instead of
+ "Debian GNU/Linux systems"; refer to /usr/share/common-licenses/GPL-1.
+ * Bump Standards-Version to 3.9.1.
+ * Add myself to Uploaders.
+
+ -- Ansgar Burchardt <ansgar at 43-1.org> Fri, 01 Oct 2010 14:22:14 +0200
libtest-deep-perl (0.106-1) unstable; urgency=low
Modified: trunk/libtest-deep-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-deep-perl/debian/control?rev=63143&op=diff
==============================================================================
--- trunk/libtest-deep-perl/debian/control (original)
+++ trunk/libtest-deep-perl/debian/control Fri Oct 1 13:21:46 2010
@@ -3,11 +3,12 @@
Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Ernesto Hernández-Novich (USB) <emhn at usb.ve>,
- Ryan Niebur <ryan at debian.org>, Jonathan Yu <jawnsy at cpan.org>
+ Ryan Niebur <ryan at debian.org>, Jonathan Yu <jawnsy at cpan.org>,
+ Ansgar Burchardt <ansgar at 43-1.org>
Build-Depends: debhelper (>= 7)
Build-Depends-Indep: perl, libtest-tester-perl (>= 0.107),
libtest-nowarnings-perl
-Standards-Version: 3.8.3
+Standards-Version: 3.9.1
Homepage: http://search.cpan.org/dist/Test-Deep/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtest-deep-perl/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libtest-deep-perl/
Modified: trunk/libtest-deep-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-deep-perl/debian/copyright?rev=63143&op=diff
==============================================================================
--- trunk/libtest-deep-perl/debian/copyright (original)
+++ trunk/libtest-deep-perl/debian/copyright Fri Oct 1 13:21:46 2010
@@ -1,13 +1,11 @@
-Format-Specification:
- http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
-Upstream-Maintainer: Fergal Daly <fergal at esatclear.ie>
-Upstream-Source: http://search.cpan.org/dist/Test-Deep/
-Upstream-Name: Test-Deep
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Maintainer: Ricardo SIGNES <rjbs at cpan.org>
+Source: http://search.cpan.org/dist/Test-Deep/
+Name: Test-Deep
Files: *
Copyright: 2003-2009, Fergal Daly <fergal at esatclear.ie>
-License-Alias: Perl
-License: Artistic | GPL-1+
+License: Artistic or GPL-1+
Files: debian/*
Copyright: 2009, Jonathan Yu <jawnsy at cpan.org>
@@ -15,18 +13,20 @@
2008, David Paleino <d.paleino at gmail.com>
2007-2008, Ernesto Hernández-Novich (USB) <emhn at usb.ve>
2005-2006, Florian Ragwitz <florian at mookooh.org>
-License: Artistic | GPL-1+
+License: Artistic or GPL-1+
License: Artistic
- This program is free software; you can redistribute it and/or modify
- it under the terms of the Artistic License, which comes with Perl.
- On Debian GNU/Linux systems, the complete text of the Artistic License
- can be found in `/usr/share/common-licenses/Artistic'
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the Artistic License, which comes with Perl.
+ .
+ On Debian systems, the complete text of the Artistic License can be
+ found in `/usr/share/common-licenses/Artistic'.
License: GPL-1+
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 1, or (at your option)
- any later version.
- On Debian GNU/Linux systems, the complete text of the GNU General
- Public License can be found in `/usr/share/common-licenses/GPL'
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+ .
+ On Debian systems, the complete text of version 1 of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-1'.
Added: trunk/libtest-deep-perl/debian/source/format
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-deep-perl/debian/source/format?rev=63143&op=file
==============================================================================
--- trunk/libtest-deep-perl/debian/source/format (added)
+++ trunk/libtest-deep-perl/debian/source/format Fri Oct 1 13:21:46 2010
@@ -1,0 +1,1 @@
+3.0 (quilt)
Modified: trunk/libtest-deep-perl/lib/Test/Deep.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-deep-perl/lib/Test/Deep.pm?rev=63143&op=diff
==============================================================================
--- trunk/libtest-deep-perl/lib/Test/Deep.pm (original)
+++ trunk/libtest-deep-perl/lib/Test/Deep.pm Fri Oct 1 13:21:46 2010
@@ -27,7 +27,7 @@
$Snobby $Expects $DNE $DNE_ADDR $Shallow
);
-$VERSION = '0.106';
+$VERSION = '0.107';
$VERSION = eval $VERSION;
require Exporter;
Modified: trunk/libtest-deep-perl/lib/Test/Deep.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-deep-perl/lib/Test/Deep.pod?rev=63143&op=diff
==============================================================================
--- trunk/libtest-deep-perl/lib/Test/Deep.pod (original)
+++ trunk/libtest-deep-perl/lib/Test/Deep.pod Fri Oct 1 13:21:46 2010
@@ -164,7 +164,7 @@
data matches the regex in C<$regex>. C<array_each($struct)> means that
Test::Deep should expect the current piece of data to be an array and it
should check that every element of that array matches C<$struct>.
-In this case, every element of C<$person->{ChildNames}> should look like a
+In this case, every element of C<< $person->{ChildNames} >> should look like a
name. If say the 3rd one didn't you would get an error message something
like
@@ -244,8 +244,8 @@
cmp_deeply($person, $person_cmp, "person ok");
-So this will check that for each child C<$child> in C<$person->{Children}>
-that the C<$child->{Parents} matches C<$person_cmp> however it is smart
+So this will check that for each child C<$child> in C<< $person->{Children} >>
+that the C<< $child->{Parents} >> matches C<$person_cmp> however it is smart
enough not to get caught in an infinite loop where it keeps bouncing between
the same Parent and Child.
@@ -568,7 +568,7 @@
could happen that C<re("^fur")> is paired with "furball" and then C<re("^furb")>
cannot find a match and so the test fails. Examples of other competing
comparisons are C<bag(1, 2, 2)> vs C<set(1, 2)> and
-C<methods(m1 => "v1", m2 => "v2")> vs C<methods(m1 => "v1")>
+C<< methods(m1 => "v1", m2 => "v2") >> vs C<< methods(m1 => "v1") >>
This problem is could be solved by using a slower and more complicated
algorithm for set and bag matching. Something for the future...
@@ -905,7 +905,7 @@
will check C<'a' eq 'a'>, C<'b' eq 'b'> but when it comes to comparing
C<'hello world'> and C<re("^hello")> it will see that
$expected_v is an SC and so will pass control to the Test::Deep::Regexp class
-by do something like C<$expected_v->descend($got_v)>. The C<descend()>
+by do something like C<< $expected_v->descend($got_v) >>. The C<descend()>
method should just return true or false.
This gives you enough to write your own SCs but I haven't documented how
@@ -915,11 +915,19 @@
L<Test::More>
+=head1 MAINTAINER
+
+ Ricardo Signes <rjbs at cpan.org>
+
=head1 AUTHOR
Fergal Daly E<lt>fergal at esatclear.ieE<gt>, with thanks to Michael G Schwern
for Test::More's is_deeply function which inspired this.
+B<Please> do not bother Fergal Daly with bug reports. Send them to the
+maintainer (above) or submit them at L<the request
+tracker|https://rt.cpan.org/Dist/Display.html?Queue=Test-Deep>.
+
=head1 COPYRIGHT
Copyright 2003, 2004 by Fergal Daly E<lt>fergal at esatclear.ieE<gt>.
Modified: trunk/libtest-deep-perl/t/regexp.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-deep-perl/t/regexp.t?rev=63143&op=diff
==============================================================================
--- trunk/libtest-deep-perl/t/regexp.t (original)
+++ trunk/libtest-deep-perl/t/regexp.t Fri Oct 1 13:21:46 2010
@@ -2,7 +2,7 @@
use warnings;
use t::std;
-
+my $xism = qr/x/=~/\(\?\^/ ? "^" : "-xism";
{
my $str = "ferg";
my $re = qr/$str/;
@@ -89,7 +89,7 @@
{
actual_ok => 0,
diag => <<EOM,
-Compared [\$data =~ (?-xism:([ac]))]->[1]
+Compared [\$data =~ (?$xism:([ac]))]->[1]
got : 'c'
expect : 'b'
EOM
@@ -120,7 +120,7 @@
{
actual_ok => 0,
diag => <<EOM,
-Comparing [\$data =~ (?-xism:(\\D+)=\\d+,?)] as a Set
+Comparing [\$data =~ (?$xism:(\\D+)=\\d+,?)] as a Set
Extra: 'goat'
EOM
},
Modified: trunk/libtest-deep-perl/t/regexpref.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-deep-perl/t/regexpref.t?rev=63143&op=diff
==============================================================================
--- trunk/libtest-deep-perl/t/regexpref.t (original)
+++ trunk/libtest-deep-perl/t/regexpref.t Fri Oct 1 13:21:46 2010
@@ -2,7 +2,7 @@
use warnings;
use t::std;
-
+my $xism = qr/x/=~/\(\?\^/ ? "^" : "-xism";
{
check_test(
sub {
@@ -23,8 +23,8 @@
actual_ok => 0,
diag => <<EOM,
Compared m/\$data/
- got : (?-xism:a)
-expect : (?-xism:b)
+ got : (?$xism:a)
+expect : (?$xism:b)
EOM
}
);
More information about the Pkg-perl-cvs-commits
mailing list