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 an old version of boost. Click here for the latest Boost documentation.
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