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 set_format

boost::unit_test::results_reporter::set_format — Sets one of the predefined formats.

Synopsis

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


void set_format(output_format of);

Description

The framework implements two results report formats:

  • plain human readable format (boost::unit_test::OF_CLF)

  • XML format (boost::unit_test::OF_XML)

Parameters:

of

one of the presefined enumeration values for output formats


PrevUpHomeNext