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 init

boost::unit_test::framework::init — This function performs initialization of the framework mono-state.

Synopsis

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


void init(init_unit_test_func init_func, int argc, char * argv);

Description

It needs to be called every time before the test is started.

Parameters:

argc

command line arguments collection

argv

command line arguments collection

init_func

test module initialization routine


PrevUpHomeNext