|
Boost-Commit : |
From: gennadiy.rozental_at_[hidden]
Date: 2007-10-14 14:33:17
Author: rogeeff
Date: 2007-10-14 14:33:16 EDT (Sun, 14 Oct 2007)
New Revision: 40023
URL: http://svn.boost.org/trac/boost/changeset/40023
Log:
accessor to the reporter stream provided
Text files modified:
trunk/boost/test/impl/results_reporter.ipp | 8 ++++++++
trunk/boost/test/results_reporter.hpp | 2 ++
2 files changed, 10 insertions(+), 0 deletions(-)
Modified: trunk/boost/test/impl/results_reporter.ipp
==============================================================================
--- trunk/boost/test/impl/results_reporter.ipp (original)
+++ trunk/boost/test/impl/results_reporter.ipp 2007-10-14 14:33:16 EDT (Sun, 14 Oct 2007)
@@ -112,6 +112,14 @@
//____________________________________________________________________________//
+std::ostream&
+get_stream()
+{
+ return *s_rr_impl().m_output;
+}
+
+//____________________________________________________________________________//
+
void
set_format( output_format rf )
{
Modified: trunk/boost/test/results_reporter.hpp
==============================================================================
--- trunk/boost/test/results_reporter.hpp (original)
+++ trunk/boost/test/results_reporter.hpp 2007-10-14 14:33:16 EDT (Sun, 14 Oct 2007)
@@ -60,6 +60,8 @@
BOOST_TEST_DECL void set_format( output_format );
BOOST_TEST_DECL void set_format( results_reporter::format* );
+BOOST_TEST_DECL std::ostream& get_stream();
+
// ************************************************************************** //
// ************** report initiation ************** //
// ************************************************************************** //
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk