Re: [Cppunit-devel] Exception handler
Brought to you by:
blep
From: Noel Y. <Noe...@mo...> - 2003-02-26 21:52:11
|
Noel Yap wrote: > > Baptiste Lepilleur wrote: > > > > Give a look to class Protector (available since 1.9.10). It allow > > interception of non STL exception. Check the implementation of the > > DefaultProtector for an example of usage. > > This looks good except that I'm using a TextTestRunner and it hides > TestRunner::run( Protector* ). > > Would it hurt anything if a using declaration were used? I just found out that, since TextTestRunner::run() returns bool and TestRunner::run() returns void, this is not the right thing to do. Can you help me out, please? How can I use a TextTestRunner with a custom Protector? Thanks, Noel |