[Cppunit-devel] Support For Memory Leak detection
Brought to you by:
blep
|
From: Bradbury, D. <Bra...@sh...> - 2006-02-27 17:44:41
|
I'm running CPPUNIT on an embedded environment without any built in memory leak detection. I've built a little tool (ala James Grenning's blog http://butunclebob.com/ArticleS.JamesGrenning.CppTestToolsMemoryLeakDetector) to just keep a simple count of new and delete in static variables. I've successfully added this to a couple of test fixtures. I'd like to integrate it in a place where it would be called before and after each test is run and before and after all tests are run. I've been into the CPPUnit code a little bit, but only to write my own outputter. Does anyone have a suggestion as to where I could integrate these calls? =20 Thanks, Doug Bradbury ------------------------------------------------------------ This e-mail message (including any attachments) contains confidential, non-public information. It also may be protected by the attorney/client or other applicable privileges.=20 It is intended to be communicated only to the designated recipient(s). Unauthorized use, reproduction, dissemination, or communication of this message or any information contained in this message is strictly prohibited and may be unlawful.=20 If you are not an intended recipient of this message, please notify the sender promptly by e-mail or telephone at the sender=92s location indicated above or contact Shure Incorporated at ser...@sh... or (847) 600-2000. ------------------------------------------------------------ |