File indexing completed on 2025-12-16 10:09:51
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #ifndef BOOST_TEST_PLAIN_REPORT_FORMATTER_HPP_020105GER
0016 #define BOOST_TEST_PLAIN_REPORT_FORMATTER_HPP_020105GER
0017
0018
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
0032
0033
0034 class plain_report_formatter : public results_reporter::format {
0035 public:
0036 plain_report_formatter() : m_indent( 0 ), m_color_output( false ) {}
0037
0038
0039 void results_report_start( std::ostream& ostr ) BOOST_OVERRIDE;
0040 void results_report_finish( std::ostream& ostr ) BOOST_OVERRIDE;
0041
0042 void test_unit_report_start( test_unit const&, std::ostream& ostr ) BOOST_OVERRIDE;
0043 void test_unit_report_finish( test_unit const&, std::ostream& ostr ) BOOST_OVERRIDE;
0044
0045 void do_confirmation_report( test_unit const&, std::ostream& ostr ) BOOST_OVERRIDE;
0046
0047 private:
0048
0049 counter_t m_indent;
0050 bool m_color_output;
0051 };
0052
0053 }
0054 }
0055 }
0056
0057 #include <boost/test/detail/enable_warnings.hpp>
0058
0059 #endif