Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74728 - trunk/libs/iostreams/test
From: gennadiy.rozental_at_[hidden]
Date: 2011-10-05 05:43:30


Author: rogeeff
Date: 2011-10-05 05:43:29 EDT (Wed, 05 Oct 2011)
New Revision: 74728
URL: http://svn.boost.org/trac/boost/changeset/74728

Log:
eliminated unit_test_framework and BOOST_MESSAGE
Text files modified:
   trunk/libs/iostreams/test/mapped_file_test.cpp | 21 ++++++++++-----------
   1 files changed, 10 insertions(+), 11 deletions(-)

Modified: trunk/libs/iostreams/test/mapped_file_test.cpp
==============================================================================
--- trunk/libs/iostreams/test/mapped_file_test.cpp (original)
+++ trunk/libs/iostreams/test/mapped_file_test.cpp 2011-10-05 05:43:29 EDT (Wed, 05 Oct 2011)
@@ -16,7 +16,6 @@
 #include <fstream>
 #include <boost/config.hpp>
 #include <boost/detail/workaround.hpp>
-#include <boost/test/test_tools.hpp>
 #include <boost/test/unit_test.hpp>
 
 #include <boost/iostreams/stream.hpp>
@@ -66,7 +65,7 @@
 void mapped_file_test()
 {
     using namespace boost::iostreams;
- BOOST_MESSAGE("about to begin");
+ BOOST_TEST_MESSAGE("about to begin");
 
     //--------------Reading from a mapped_file_source-------------------------//
 
@@ -86,7 +85,7 @@
                 "failed reading from stream<mapped_file_source> in chars"
             );
 
- BOOST_MESSAGE(
+ BOOST_TEST_MESSAGE(
                 "done reading from stream<mapped_file_source> in chars"
             );
         }
@@ -103,7 +102,7 @@
                 "failed reading from stream<mapped_file_source> in chunks"
             );
 
- BOOST_MESSAGE(
+ BOOST_TEST_MESSAGE(
                 "done reading from stream<mapped_file_source> in chunks"
             );
         }
@@ -126,7 +125,7 @@
             "failed writing to stream<mapped_file_sink> in chars"
         );
 
- BOOST_MESSAGE(
+ BOOST_TEST_MESSAGE(
             "done writing to stream<mapped_file_source> in chars"
         );
 
@@ -140,7 +139,7 @@
             "failed writing to stream<mapped_file_sink> in chunks"
         );
 
- BOOST_MESSAGE(
+ BOOST_TEST_MESSAGE(
             "done writing to stream<mapped_file_source> in chunks"
         );
     }
@@ -206,7 +205,7 @@
             "failed seeking within stream<mapped_file> in chars"
         );
 
- BOOST_MESSAGE(
+ BOOST_TEST_MESSAGE(
             "done seeking within stream<mapped_file> in chars"
         );
 
@@ -221,7 +220,7 @@
             "failed seeking within stream<mapped_file> in chunks"
         );
 
- BOOST_MESSAGE(
+ BOOST_TEST_MESSAGE(
             "done seeking within stream<mapped_file> in chunks"
         );
     }
@@ -238,7 +237,7 @@
             "failed resizing a mapped_file"
         );
         
- BOOST_MESSAGE(
+ BOOST_TEST_MESSAGE(
             "done resizing a mapped_file"
         );
     }
@@ -263,7 +262,7 @@
             "failed writing to private mapped_file"
         );
         
- BOOST_MESSAGE(
+ BOOST_TEST_MESSAGE(
             "done seeking within private mapped_file"
         );
         
@@ -280,7 +279,7 @@
             "failed writing to reopened private mapped_file"
         );
         
- BOOST_MESSAGE(
+ BOOST_TEST_MESSAGE(
             "done reopening private mapped_file"
         );
     }


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