Re: [Cppunit-devel] Assertions in setUp & tearDown
Brought to you by:
blep
From: Baptiste L. <gai...@fr...> - 2001-07-10 13:41:44
|
Quoting Pedro Ferreira <ped...@in...>: > Dear all, > > I didn't know whether I should submit this as a bug or as a feature > request, so here it goes :-) > > 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. If an exception is thrown during setUp(), a "setup failed" error is reported. The same goes for tearDown(). Baptiste. > > TIA, > > Pedro > _____________________________________________________ > Pedro Alves Ferreira > Project Leader > INESC Porto http://www.inescporto.pt > Pc da Republica, 93 R/C Tel: +351 22 209 42 28 > 4050-497 PORTO Fax: +351 22 208 41 72 > Portugal mailto:ped...@in... > > _______________________________________________ > Cppunit-devel mailing list > Cpp...@li... > http://lists.sourceforge.net/lists/listinfo/cppunit-devel > --- Baptiste Lepilleur <gai...@fr...> http://gaiacrtn.free.fr/index.html Language: English, French |