Re: [Cppunit-devel] asserts in another thread
Brought to you by:
blep
From: Baptiste L. <bl...@us...> - 2005-10-20 08:10:47
|
David Rennalls wrote: > Hi, > The CppUnit2 docs > (http://cppunit.sourceforge.net/cppunit-wiki/CppUnit2/ThreadedTestCase) > mention support for a ThreadedTestCase, specifically I'm interested in > "Merging failures of created thread with the original thread > failures". Are there any workarounds to get this behaviour with > cppunit 1.10.2 ? You need to catch the CppUnit::Exception that is thrown in the created thread, and rethrow that exception in the original thread. Baptiste. --- Baptiste Lepilleur <bl...@us...> CppUnit maintainer OpenTest and CppUnit 2 developer. |