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)
6 // See http://www.boost.org/libs/test for the library home page.
10 // Version : $Revision: 74640 $
12 // Description : defines auto_test_unit_registrar
13 // ***************************************************************************
15 #ifndef BOOST_TEST_TREE_AUTO_REGISTRATION_HPP_100211GER
16 #define BOOST_TEST_TREE_AUTO_REGISTRATION_HPP_100211GER
19 #include <boost/test/detail/config.hpp>
20 #include <boost/test/tree/decorator.hpp>
21 #include <boost/test/tree/test_unit.hpp>
26 #include <boost/test/detail/suppress_warnings.hpp>
28 //____________________________________________________________________________//
34 // ************************************************************************** //
35 // ************** auto_test_unit_registrar ************** //
36 // ************************************************************************** //
38 struct BOOST_TEST_DECL auto_test_unit_registrar {
40 auto_test_unit_registrar( test_case* tc, decorator::collector& decorators, counter_t exp_fail = 0 );
41 explicit auto_test_unit_registrar( const_string ts_name, const_string ts_file, std::size_t ts_line, decorator::collector& decorators );
42 explicit auto_test_unit_registrar( test_unit_generator const& tc_gen, decorator::collector& decorators );
43 explicit auto_test_unit_registrar( int );
46 } // namespace ut_detail
47 } // namespace unit_test
50 #include <boost/test/detail/enable_warnings.hpp>
52 #endif // BOOST_TEST_TREE_AUTO_REGISTRATION_HPP_100211GER