[Cppunit-devel] SourceLine not correctly piped through
Brought to you by:
blep
From: Michael L. <mic...@ge...> - 2002-07-25 13:22:23
|
Hi! I just downloaded and installed CppUnit from CVS and it seems that the SourceLine feature doesn't work correctly (the source line informatino gets lost somewhere and the Outputter doesn't print it). I think I tracked the problem down to a bug: In DefaultProtector::protect() the caught Exception message is passed on to reportTestFailure() but not the source line. I added an overload of reportTestFailure with an extra param for the source line and added the parameter to the call in DefaultProtector. Now everything works fine. Is this a bug ? or did I somehow missuse the library and the sourceline should get passed along in a different manner ? regards Michael P.S: the idea with the CompilerOutputter and to add the program as its own post-build step is great !! |