summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2011-12-10 12:56:34 +0100
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2011-12-16 11:39:18 +0100
commit65b94cc1f5b3d169647703950a707b4efc7c1f81 (patch)
tree77af95cb23fccc88bc8488925a1d13264ae0d3f5 /bindings
parentc3467ed48c979a0f2029207a79f8f4e4c78ea513 (diff)
downloadlasso-65b94cc1f5b3d169647703950a707b4efc7c1f81.tar.gz
lasso-65b94cc1f5b3d169647703950a707b4efc7c1f81.tar.xz
lasso-65b94cc1f5b3d169647703950a707b4efc7c1f81.zip
[tests] improve checking for log output
- now any non expected log output is considered an error, by setting a g_log default handler. - block_lasso_logs()/unblock_lasso_logs() will block logging output at the DEBUG level - begin_check_do_log(level, message, endswith)/end_check_do_log() with check that the only message emitted between the two macros is one equals to "message" at the level "level", or ending (to work around variable parts in a log message) with "message" if "endswith" is True.
Diffstat (limited to 'bindings')
0 files changed, 0 insertions, 0 deletions