23 Oct
2012
23 Oct
'12
8:44 p.m.
Vicente J. Botet Escriba
Would this works as well? void check_op1() { BOOST_REQUIRE( expr ); } BOOST_AUTO_TEST_CASE( t1 ) { BOOST_TEST_CONTEXT( " Testing invoked from: " << __FILE__ << "(" << __LINE__ << ")" ); check_op1( ); }
Yes. It will, but in my case this statement needs to be written once. Gennadiy