source: NonGTP/Boost/boost/test/output/plain_report_formatter.hpp @ 857

Revision 857, 2.3 KB checked in by igarcia, 18 years ago (diff)
Line 
1//  (C) Copyright Gennadiy Rozental 2005.
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: plain_report_formatter.hpp,v $
9//
10//  Version     : $Revision: 1.1 $
11//
12//  Description : plain report formatter implementation
13// ***************************************************************************
14
15#ifndef BOOST_TEST_PLAIN_REPORT_FORMATTER_HPP_020105GER
16#define BOOST_TEST_PLAIN_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
26namespace boost {
27
28namespace unit_test {
29
30namespace output {
31
32// ************************************************************************** //
33// **************             plain_report_formatter           ************** //
34// ************************************************************************** //
35
36class plain_report_formatter : public results_reporter::format {
37public:
38    // Formatter interface
39    void    results_report_start( std::ostream& ostr );
40    void    results_report_finish( std::ostream& ostr );
41
42    void    test_unit_report_start( test_unit const&, std::ostream& ostr );
43    void    test_unit_report_finish( test_unit const&, std::ostream& ostr );
44
45    void    do_confirmation_report( test_unit const&, std::ostream& ostr );
46
47private:
48    // Data members
49    counter_t m_indent;
50};
51
52} // namespace output
53
54} // namespace unit_test
55
56} // namespace boost
57
58//____________________________________________________________________________//
59
60#include <boost/test/detail/enable_warnings.hpp>
61
62// ***************************************************************************
63//  Revision History :
64// 
65//  $Log: plain_report_formatter.hpp,v $
66//  Revision 1.1  2005/02/20 08:27:08  rogeeff
67//  This a major update for Boost.Test framework. See release docs for complete list of fixes/updates
68//
69// ***************************************************************************
70
71#endif // BOOST_TEST_PLAIN_REPORT_FORMATTER_HPP_020105GER
Note: See TracBrowser for help on using the repository browser.