Update of /cvsroot/perlunit/src/Test-Unit/lib/Test/Unit
In directory usw-pr-cvs1:/tmp/cvs-serv6260/lib/Test/Unit
Modified Files:
Error.pm Exception.pm Result.pm TestCase.pm
Log Message:
Rework the exception handling mechanisms of run_protected/run_bare so
that run-time exceptions in set_up or tear_down no longer halt the
framework, and neither do user-defined exceptions thrown in the test
methods themselves (where the framework only used to handle
straight-forward exceptions where $@ was a scalar, I think). Some
assumptions about Error.pm internals have had to be made,
unfortunately.
|