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 : $RCSfile$
9//
10// Version : $Revision: 74640 $
11//
12// Description : defines auto_test_unit_registrar
13// ***************************************************************************
14
15#ifndef BOOST_TEST_TREE_AUTO_REGISTRATION_HPP_100211GER
16#define BOOST_TEST_TREE_AUTO_REGISTRATION_HPP_100211GER
17
18// Boost.Test
19#include <boost/test/detail/config.hpp>
20#include <boost/test/tree/decorator.hpp>
21#include <boost/test/tree/test_unit.hpp>
22
23// STL
24#include <list>
25
26#include <boost/test/detail/suppress_warnings.hpp>
27
28//____________________________________________________________________________//
29
30namespace boost {
31namespace unit_test {
32namespace ut_detail {
33
34// ************************************************************************** //
35// ************** auto_test_unit_registrar ************** //
36// ************************************************************************** //
37
38struct BOOST_TEST_DECL auto_test_unit_registrar {
39 // Constructors
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 );
44};
45
46} // namespace ut_detail
47} // namespace unit_test
48} // namespace boost
49
50#include <boost/test/detail/enable_warnings.hpp>
51
52#endif // BOOST_TEST_TREE_AUTO_REGISTRATION_HPP_100211GER
53
54

source code of boost/boost/test/tree/auto_registration.hpp