RE: [Cppunit-devel] Assertions in setUp & tearDown
Brought to you by:
blep
From: Pedro F. <ped...@in...> - 2001-07-10 13:50:14
|
Dear Baptiste, > > In TestCase::run (TestResult *result): > > would it be sensible to call setUp and tearDown within the try block > > or is it deliberate that these methods should not fail? > > If you look at the current CVS version, it is already done. I should have looked there beforehand... sorry about that. > If an exception is thrown during setUp(), a "setup failed" error > is reported. > The same goes for tearDown(). Great! BTW, what are the general guidelines for contributing code back to the source tree? Thanks to all the CppUnit community for this excellent piece of software! Pedro |