head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.16 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.14 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.12 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.10 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.8 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.6 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.4 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.2 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.1.0.32 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.30 pkgsrc-2008Q1:1.1.0.28 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.26 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.24 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.22 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.20 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.18 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.16 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.14 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.12 pkgsrc-2006Q1-base:1.1 pkgsrc-2005Q4:1.1.0.10 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.8 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.6 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.4 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.2 pkgsrc-2004Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2008.07.27.17.05.08; author he; state dead; branches; next 1.1; 1.1 date 2004.11.30.12.08.52; author wiz; state Exp; branches; next ; desc @@ 1.2 log @Update from version 0.24 to 0.25. Changes: 2005-10-15 Matthew Astley * 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 * doc/TODO: notes on HarnessUnit, UnitHarness; more on stuff I'd like to do later * examples/README: minor update 2005-08-03 Matthew Astley * doc/class-diagram.{dia,txt,png}: first stab at a UML class diagram, see how it goes 2005-08-01 Matthew Astley * 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/, 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 * 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 * 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 * 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 @ text @$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 { @ 1.1 log @Update to 0.24: Lots of bugfixes. @ text @d1 1 a1 1 $NetBSD$ @