1 | // (C) Copyright Gennadiy Rozental 2001. |
2 | // Distributed under the Boost Software License, Version 1.0. |
3 | // (See accompanying file LICENSE_1_0.txt or copy at |
4 | // http://www.boost.org/LICENSE_1_0.txt) |
5 | |
6 | // See http://www.boost.org/libs/test for the library home page. |
7 | // |
8 | /// @file |
9 | /// @brief Deprecated implementation of Test Execution Monitor |
10 | /// |
11 | /// To convert to Unit Test Framework simply rewrite: |
12 | /// @code |
13 | /// #include <boost/test/test_exec_monitor.hpp> |
14 | /// |
15 | /// int test_main( int, char *[] ) |
16 | /// { |
17 | /// ... |
18 | /// } |
19 | /// @endcode |
20 | /// as |
21 | /// @code |
22 | /// #include <boost/test/unit_test.hpp> |
23 | /// |
24 | /// BOOST_AUTO_TEST_CASE(test_main) |
25 | /// { |
26 | /// ... |
27 | /// } |
28 | /// @endcode |
29 | /// and link with boost_unit_test_framework library *instead of* boost_test_exec_monitor |
30 | // *************************************************************************** |
31 | |
32 | #ifndef BOOST_TEST_EXEC_MONITOR_HPP_071894GER |
33 | #define BOOST_TEST_EXEC_MONITOR_HPP_071894GER |
34 | |
35 | // Boost.Test |
36 | #include <boost/test/test_tools.hpp> |
37 | |
38 | //____________________________________________________________________________// |
39 | |
40 | // ************************************************************************** // |
41 | // ************** Auto Linking ************** // |
42 | // ************************************************************************** // |
43 | |
44 | // Automatically link to the correct build variant where possible. |
45 | #if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_TEST_NO_LIB) && \ |
46 | !defined(BOOST_TEST_SOURCE) && !defined(BOOST_TEST_INCLUDED) |
47 | |
48 | # define BOOST_LIB_NAME boost_test_exec_monitor |
49 | # include <boost/config/auto_link.hpp> |
50 | |
51 | #endif // auto-linking disabled |
52 | |
53 | #endif // BOOST_TEST_EXEC_MONITOR_HPP_071894GER |
54 | |