• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>BOOST_TEST_GLOBAL_CONFIGURATION</title>
5<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="../../../index.html" title="Boost.Test">
8<link rel="up" href="../link_references.html" title="Build scenarios and behaviors">
9<link rel="prev" href="link_boost_test_no_main.html" title="BOOST_TEST_NO_MAIN">
10<link rel="next" href="config_disable_alt_stack.html" title="BOOST_TEST_DISABLE_ALT_STACK">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr>
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
15<td align="center"><a href="../../../../../../../index.html">Home</a></td>
16<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="link_boost_test_no_main.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../link_references.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="config_disable_alt_stack.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h4 class="title">
27<a name="boost_test.utf_reference.link_references.link_boost_test_global_configuration"></a><a class="link" href="link_boost_test_global_configuration.html" title="BOOST_TEST_GLOBAL_CONFIGURATION"><code class="computeroutput"><span class="identifier">BOOST_TEST_GLOBAL_CONFIGURATION</span></code></a>
28</h4></div></div></div>
29<p>
30          Declares a class that will be constructed during the initialization of
31          the test framework, and destructed afterwards. The framework will not call
32          any other member function than the constructor and destructor. In particular
33          the constructor and destructor will be called prior and after to the <a class="link" href="../../tests_organization/fixtures/global.html" title="Global fixture">global fixtures</a>
34          setup and teardown.
35        </p>
36<p>
37          This facility is provided to perform additional configuration, in particular
38          programmatic configuration of the loggers and reporters. See <a class="link" href="../../test_output/logging_api.html" title="Logging API">this
39          section</a> for more details.
40        </p>
41<div class="warning"><table border="0" summary="Warning">
42<tr>
43<td rowspan="2" align="center" valign="top" width="25"><img alt="[Warning]" src="../../../../../../../doc/src/images/warning.png"></td>
44<th align="left">Warning</th>
45</tr>
46<tr><td align="left" valign="top"><p>
47            No logging or any other call to the framework assertion is allowed in
48            the constructor and destructor, as its purpose is to set-up the loggers/reporters,
49            and the assertions are calling the logging/reporting facility. Any such
50            assertion during the execution of the will result in the abortion of
51            the test module .
52          </p></td></tr>
53</table></div>
54</div>
55<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
56<td align="left"></td>
57<td align="right"><div class="copyright-footer">Copyright © 2001-2020 Boost.Test contributors<p>
58        Distributed under the Boost Software License, Version 1.0. (See accompanying
59        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
60      </p>
61</div></td>
62</tr></table>
63<hr>
64<div class="spirit-nav">
65<a accesskey="p" href="link_boost_test_no_main.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../link_references.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="config_disable_alt_stack.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
66</div>
67</body>
68</html>
69