Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 10:09:51

0001 //  (C) Copyright Gennadiy Rozental 2001.
0002 //  Distributed under the Boost Software License, Version 1.0.
0003 //  (See accompanying file LICENSE_1_0.txt or copy at
0004 //  http://www.boost.org/LICENSE_1_0.txt)
0005 
0006 //  See http://www.boost.org/libs/test for the library home page.
0007 //
0008 //  File        : $RCSfile$
0009 //
0010 //  Version     : $Revision$
0011 //
0012 //  Description : OF_XML report formatter implementation
0013 // ***************************************************************************
0014 
0015 #ifndef BOOST_TEST_XML_REPORT_FORMATTER_HPP_020105GER
0016 #define BOOST_TEST_XML_REPORT_FORMATTER_HPP_020105GER
0017 
0018 // Boost.Test
0019 #include <boost/test/detail/global_typedef.hpp>
0020 #include <boost/test/results_reporter.hpp>
0021 
0022 #include <boost/test/detail/suppress_warnings.hpp>
0023 
0024 //____________________________________________________________________________//
0025 
0026 namespace boost {
0027 namespace unit_test {
0028 namespace output {
0029 
0030 // ************************************************************************** //
0031 // **************              xml_report_formatter            ************** //
0032 // ************************************************************************** //
0033 
0034 class xml_report_formatter : public results_reporter::format {
0035 public:
0036     // Formatter interface
0037     void    results_report_start( std::ostream& ostr ) BOOST_OVERRIDE;
0038     void    results_report_finish( std::ostream& ostr ) BOOST_OVERRIDE;
0039 
0040     void    test_unit_report_start( test_unit const&, std::ostream& ostr ) BOOST_OVERRIDE;
0041     void    test_unit_report_finish( test_unit const&, std::ostream& ostr ) BOOST_OVERRIDE;
0042 
0043     void    do_confirmation_report( test_unit const&, std::ostream& ostr ) BOOST_OVERRIDE;
0044 };
0045 
0046 } // namespace output
0047 } // namespace unit_test
0048 } // namespace boost
0049 
0050 #include <boost/test/detail/enable_warnings.hpp>
0051 
0052 #endif // BOOST_TEST_XML_REPORT_FORMATTER_HPP_020105GER