Function add_context
boost::unit_test::framework::add_context — Records context frame message.
Synopsis
int add_context(lazy_ostream const & context_descr, bool sticky);
Description
Some context frames are sticky - they can only explicitly cleared by specifying context id. Other (non sticky) context frames cleared after every assertion.
Parameters: |
context_descr
|
context frame message |
sticky
|
is this sticky frame or not |
|
Returns: |
id of the newly created frame |