pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Test-Unit Update from version 0.24 to 0.25. ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/641eb3543340
branches:  trunk
changeset: 545158:641eb3543340
user:      he <he%pkgsrc.org@localhost>
date:      Sun Jul 27 17:05:08 2008 +0000

description:
Update from version 0.24 to 0.25.  Changes:

2005-10-15 Matthew Astley <mca1001%users.sourceforge.net@localhost>

    * doc/release-checklist, doc/TODO, ChangeLog: updates for release
    * lib/Test/Unit.pm: version 0.25
    * MANIFEST: add licence and class-diagram files, remove old exmample;
      keep in "make manifest" generated order
    * t/tlib/AssertTest.pm (test_fail_assert_not_null): extra check, for
      SF bug #610499
    * lib/Test/Unit/Assert.pm (assert_deep_equals): fix comparisons of cyclic
      structures (thanks flacoste, SF patch #678422), comparisons of undefs
      (thanks flacoste, Debian BTS #249678), comparison of SCALAR refs
    * t/tlib/AssertTest.pm (test_assert_deep_equals): add modified test from
      SF bug #1012115; modified test from flacoste's SF patch #678422; more
      tests on SCALAR refs, and improve the regexp

2005-08-19 Matthew Astley <mca1001%users.sourceforge.net@localhost>

    * doc/TODO: notes on HarnessUnit, UnitHarness; more on stuff I'd like
      to do later
    * examples/README: minor update

2005-08-03 Matthew Astley <mca1001%users.sourceforge.net@localhost>

    * doc/class-diagram.{dia,txt,png}: first stab at a UML class diagram,
      see how it goes

2005-08-01 Matthew Astley <mca1001%users.sourceforge.net@localhost>

    * lib/Test/Unit.pm, lib/Test/Unit/TkTestRunner.pm,
      lib/Test/Unit/TestRunner.pm: put links to COPYING.* in Test::Unit;
      move copyright notices from testrunner modules to Test::Unit
    * lib/Test/Unit/<many>, t/tlib/AllTests.pm: set AUTHOR POD sections to
      the same boilerplate, in files that don't appear to be single-author
      -- as described in the top level AUTHORS file
    * AUTHORS: update authors list with SF ids and what I found while
      boilerplating the PODs; add explicit copy of the Perl licence, taken
      from Debian perl-base package v5.8.4-2
    * COPYING.Artistic, COPYING.GPL-2: licences copied from Debian
      base-files package v3.0.12

2005-07-31 Matthew Astley <mca1001%users.sourceforge.net@localhost>

    * lib/Test/Unit/Assert.pm (is_numeric): change the test to match only
      lone numbers. fix SF bug#1014540

        *** NB. this causes assert_equals to switch from assert_num_equals
        to assert_str_equals in some cases

        * t/tlib/AssertTest.pm (test_numericness, test_assert_equals):
        tests for new is_numeric

        * lib/Test/Unit/TkTestRunner.pm: make "Show..." dialog text expand
        with window and include annotations.  fixes SF bug#1018619

        * t/try_examples.t: clear out useless 'use lib's; remove dup $^O
        check; fix RT bug#3963 (thanks ILYAM); improve skipping of
        untested items

        * examples/tester.png: update screenshot of Tk test runner; mark
        as binary

        * examples/tester.pl: remove old Tk code - Test::SuiteWrapper went
        away 2000-02-21

2005-07-30 Matthew Astley <mca1001%users.sourceforge.net@localhost>

    * t/try_examples.t: Fix SF bug#908422 (track changing testing output
      format); Thanks: dholland, eksiegerman [aka. SF bug#1245490, RT bug#2244]
    * .cvsignore: ignore build stuff

        -- other changes Adam made since REL_0_24, but aren't mentioned
        already.  I list them partly so I know where my towel is:

        * AUTHORS: Adam became maintainer

        * doc/TODO: updated

        * lib/Test/Unit/Decorator.pm: some minor change I've not investigated

        * lib/Test/Unit/Procedural.pm:
        fix bug spotted by Matthias Ferber (and Ken) in run() (which is
        usually overridden) [SF bug#760491, RT bug#3058]

        * lib/Test/Unit/Runner.pm: improve filtering, POD

        * lib/Test/Unit/TestCase.pm: POD for filtering

        * t/tlib/RunnerTest.pm: new test for T:U:TestRunner, just tests
        filtering; uses the new t/tlib/FilteredSuite.pm

2002-06-20 Adam Spiers <perlunit%adamspiers.org@localhost>

    * lib/Test/Unit/TestCase.pm: document new filtering via coderefs
    * MANIFEST, lib/Test/Unit/Test.pm, lib/Test/Unit/TestSuite.pm,
      t/tlib/AllTests.pm, t/tlib/FilteredSuite.pm:
          o remove ALL filtering hack, and instead allow filtering via coderefs:

            sub filter {{
              foo_tests  => sub {
                my $method = shift;
                return $method =~ /foo/;
              },
              everything => sub { 1 },

              # method lists still work
              another_token => [ qw/test_method1 test_method2/ ],
            }}

        - add tests for filtering mechanism

diffstat:

 devel/p5-Test-Unit/Makefile         |   5 ++---
 devel/p5-Test-Unit/distinfo         |   9 ++++-----
 devel/p5-Test-Unit/patches/patch-aa |  28 ----------------------------
 3 files changed, 6 insertions(+), 36 deletions(-)

diffs (61 lines):

diff -r 3c1b3f2b76ca -r 641eb3543340 devel/p5-Test-Unit/Makefile
--- a/devel/p5-Test-Unit/Makefile       Sun Jul 27 16:59:57 2008 +0000
+++ b/devel/p5-Test-Unit/Makefile       Sun Jul 27 17:05:08 2008 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2008/06/20 01:09:16 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2008/07/27 17:05:08 he Exp $
 
-DISTNAME=      Test-Unit-0.24
+DISTNAME=      Test-Unit-0.25
 PKGNAME=       p5-${DISTNAME}
 SVR4_PKGNAME=  p5tun
-PKGREVISION=   3
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Test/}
 
diff -r 3c1b3f2b76ca -r 641eb3543340 devel/p5-Test-Unit/distinfo
--- a/devel/p5-Test-Unit/distinfo       Sun Jul 27 16:59:57 2008 +0000
+++ b/devel/p5-Test-Unit/distinfo       Sun Jul 27 17:05:08 2008 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 22:24:29 agc Exp $
+$NetBSD: distinfo,v 1.4 2008/07/27 17:05:08 he Exp $
 
-SHA1 (Test-Unit-0.24.tar.gz) = 660bc7c2e6646fe5dfb64233f572de7d2491b1d5
-RMD160 (Test-Unit-0.24.tar.gz) = 4ae6305c77d26541da69dcda2734b5de9e16f9e6
-Size (Test-Unit-0.24.tar.gz) = 76044 bytes
-SHA1 (patch-aa) = 90dd5e28c0af4fb936b753d11bb1879f71d1d182
+SHA1 (Test-Unit-0.25.tar.gz) = 07f6d020f3e987de573625202b460cc8170c80fa
+RMD160 (Test-Unit-0.25.tar.gz) = c5771ec693b5e1224c905ddd564c94f9277a0e79
+Size (Test-Unit-0.25.tar.gz) = 322322 bytes
diff -r 3c1b3f2b76ca -r 641eb3543340 devel/p5-Test-Unit/patches/patch-aa
--- a/devel/p5-Test-Unit/patches/patch-aa       Sun Jul 27 16:59:57 2008 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2004/11/30 12:08:52 wiz Exp $
-
-Patch from
-       http://rt.cpan.org/NoAuth/Bug.html?id=2244
-with an additional fix (if .F match is first, it causes problem in timestamp
-replacement).
-
---- t/try_examples.t.orig      2001-12-11 16:17:11.000000000 +0100
-+++ t/try_examples.t
-@@ -91,14 +91,14 @@ foreach my $e (@examples) {
-           $_ .= "\n" unless /\n$/;
-           # bin the naughty carriage returns
-           s/\r//g;
-+          # hide things that look like CPU usage
-+          s{Time:\s+[\d\.]+\s+wallclock secs \([\d\s\.]+usr\s+\+[\d\s\.]+sys\s+=[\d\s\.]+CPU\)}
-+          {TIME-SUMMARY}g;
-           # we can't assume the order of tests will be the same
--          s/^[\.F]+$/TEST-RUN-SUMMARY/sm;
-+          s/^[.F]+/TEST-RUN-SUMMARY/sm;
-           s/::Load[0-9_]+Anonymous[0-9_]+/::LOAD_ANONYMOUS_CLASSNAME/;
-           # indent lines with '# ' so they're comments if the test fails
-           s/\n/\n# /g;
--          # hide things that look like CPU usage
--          s{Time:\s+[\d\.]+\s+wallclock secs \([\d\s\.]+usr\s+\+[\d\s\.]+sys\s+=[\d\s\.]+CPU\)}
--          {TIME-SUMMARY}g;
-       }
-       ok($out, $guru_checked{$e});
-     } else {



Home | Main Index | Thread Index | Old Index