]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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$ | |
11 | // | |
12 | // Description : OF_XML report formatter implementation | |
13 | // *************************************************************************** | |
14 | ||
15 | #ifndef BOOST_TEST_XML_REPORT_FORMATTER_HPP_020105GER | |
16 | #define BOOST_TEST_XML_REPORT_FORMATTER_HPP_020105GER | |
17 | ||
18 | // Boost.Test | |
19 | #include <boost/test/detail/global_typedef.hpp> | |
20 | #include <boost/test/results_reporter.hpp> | |
21 | ||
22 | #include <boost/test/detail/suppress_warnings.hpp> | |
23 | ||
24 | //____________________________________________________________________________// | |
25 | ||
26 | namespace boost { | |
27 | namespace unit_test { | |
28 | namespace output { | |
29 | ||
30 | // ************************************************************************** // | |
31 | // ************** xml_report_formatter ************** // | |
32 | // ************************************************************************** // | |
33 | ||
34 | class xml_report_formatter : public results_reporter::format { | |
35 | public: | |
36 | // Formatter interface | |
37 | void results_report_start( std::ostream& ostr ); | |
38 | void results_report_finish( std::ostream& ostr ); | |
39 | ||
40 | void test_unit_report_start( test_unit const&, std::ostream& ostr ); | |
41 | void test_unit_report_finish( test_unit const&, std::ostream& ostr ); | |
42 | ||
43 | void do_confirmation_report( test_unit const&, std::ostream& ostr ); | |
44 | }; | |
45 | ||
46 | } // namespace output | |
47 | } // namespace unit_test | |
48 | } // namespace boost | |
49 | ||
50 | #include <boost/test/detail/enable_warnings.hpp> | |
51 | ||
52 | #endif // BOOST_TEST_XML_REPORT_FORMATTER_HPP_020105GER |