Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit b69ad8635f.
PrevUpHomeNext

Function deregister_test_unit

boost::unit_test::framework::deregister_test_unit — This function removes the test unit from the collection of known test units and destroys the test unit object.

Synopsis

// In header: <boost/test/framework.hpp>


void deregister_test_unit(test_unit * tu);

Description

This function also assigns unique test unit id for every test case. Later on one can use this id to located the test case if necessary. This is the way for the framework to maintain weak references between test units.

Parameters:

tu

test unit to deregister


PrevUpHomeNext