|
Boost : |
Subject: Re: [boost] [test] console_test_runner ported on *nix
From: Kevin Sopp (baraclese_at_[hidden])
Date: 2008-09-20 06:13:25
> Why not just add
> test_unit* tu_ptr = tu.second;
> and keep everything else the same.
Okay I tested this and it works:
test_unit* tu_ptr = tu.second;
if( test_id_2_unit_type( tu_ptr->p_id ) == tut_suite )
delete (test_suite const*)tu_ptr;
else
delete (test_case const*)tu_ptr;
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk