[Perlunit-commits] src/Test-Unit/lib/Test/Unit/Assertion Exception.pm Regexp.pm CodeRef.pm
Status: Beta
Brought to you by:
mca1001
From: Adam S. <ada...@us...> - 2002-01-08 19:21:49
|
Update of /cvsroot/perlunit/src/Test-Unit/lib/Test/Unit/Assertion In directory usw-pr-cvs1:/tmp/cvs-serv3119/lib/Test/Unit/Assertion Modified Files: Regexp.pm CodeRef.pm Added Files: Exception.pm Log Message: - Fix breakage where coderef assertions were not failing. Coderef assertions are now expected to throw Test::Unit::Failures ($self->fail() is a convenient way of doing this; see updated docs). - New tests for assert(). - New multi_assert() for using multiple argument sets with one assertion (plus tests). - New assert_raises() for asserting that a coderef raises a particular class of exception (plus tests). |