Re: Exception handler
Noel Yap <Noel.Yap-/PgpppG8B+R7qynMiXIxWgC/[email protected]> Wed, 26 Feb 2003 16:52:08 -0500
| Newsgroups | gmane.comp.lib.cppunit.devel |
|---|---|
| Organization | Morgan Stanley |
| Message-ID | <[email protected]> |
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 ------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp