3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>BOOST_TEST_ALTERNATIVE_INIT_API</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_module_macro.html" title="BOOST_TEST_MODULE">
10 <link rel="next" href="link_boost_test_no_lib.html" title="BOOST_TEST_NO_LIB">
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>
22 <div class="spirit-nav">
23 <a accesskey="p" href="link_boost_test_module_macro.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="link_boost_test_no_lib.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
26 <div class="titlepage"><div><div><h4 class="title">
27 <a name="boost_test.utf_reference.link_references.link_boost_test_alternative_init_macro"></a><a class="link" href="link_boost_test_alternative_init_macro.html" title="BOOST_TEST_ALTERNATIVE_INIT_API"><code class="computeroutput"><span class="identifier">BOOST_TEST_ALTERNATIVE_INIT_API</span></code></a>
28 </h4></div></div></div>
29 <div class="warning"><table border="0" summary="Warning">
31 <td rowspan="2" align="center" valign="top" width="25"><img alt="[Warning]" src="../../../../../../../doc/src/images/warning.png"></td>
32 <th align="left">Warning</th>
34 <tr><td align="left" valign="top"><p>
35 This macro should be defined before any include directive to the <span class="emphasis"><em>Unit
36 Test Framework</em></span> headers and is mutually exclusive with the
37 <a class="link" href="link_boost_test_module_macro.html" title="BOOST_TEST_MODULE"><code class="computeroutput"><span class="identifier">BOOST_TEST_MODULE</span></code></a> macro.
41 In case of custom initialization of the test module entry point, this macro
42 indicates the <span class="emphasis"><em>Unit Test Framework</em></span> to use the new API.
43 The differences between the new and old APIs are described in <a class="link" href="../../adv_scenarios/obsolete_init_func.html" title="The obsolete initialization function">this
47 The way to customize the entry point of the test-module depends on the
48 variant of the <span class="emphasis"><em>Unit Test Framework</em></span> in use. Several
49 sections in the documentation are devoted to this:
51 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
53 <a class="link" href="../../adv_scenarios/single_header_customizations/entry_point.html" title="Customizing the module's entry point">this
54 section</a> for single header variant,
57 <a class="link" href="../../adv_scenarios/static_lib_customizations/init_func.html" title="Customizing the module's initialization function">this
58 section</a> for static link variant,
61 <a class="link" href="../../adv_scenarios/shared_lib_customizations/init_func.html" title="Customizing the module's initialization function">this
62 section</a> for shared link variant
66 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
67 <td align="left"></td>
68 <td align="right"><div class="copyright-footer">Copyright © 2001-2019 Boost.Test
70 Distributed under the Boost Software License, Version 1.0. (See accompanying
71 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>)
76 <div class="spirit-nav">
77 <a accesskey="p" href="link_boost_test_module_macro.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="link_boost_test_no_lib.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>