r23138 - gnucash/trunk/src/test-core - [Testing] Create log handlers in one step, clean up in teardown

John Ralls jralls at code.gnucash.org
Fri Aug 16 12:44:09 EDT 2013


Author: jralls
Date: 2013-08-16 12:44:08 -0400 (Fri, 16 Aug 2013)
New Revision: 23138
Trac: http://svn.gnucash.org/trac/changeset/23138

Modified:
   gnucash/trunk/src/test-core/unittest-support.c
   gnucash/trunk/src/test-core/unittest-support.h
Log:
[Testing] Create log handlers in one step, clean up in teardown

New functions to simplify creating log handlers for expected log
messages, especially fatal message handlers. Handlers are tracked in the
Fixture and automatically freed during teardown.



More information about the gnucash-patches mailing list