Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template get

boost::unit_test::framework::get — This function template provides access to a typed test unit by id.

Synopsis

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


template<typename UnitType> UnitType & get(test_unit_id id);

Description

It will throw if you specify incorrect test unit type

Parameters:

id

id of test unit to get

Template Parameters:

UnitType

compile time type of test unit to get (test_suite or test_case)


PrevUpHomeNext