]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/test/unit_test_log_formatter.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / test / unit_test_log_formatter.hpp
index 79b74e0849391af888a5b5692ff27b11ef9c2bc3..6ec72cafa7ab8d3f375384224c631305354feff3 100644 (file)
@@ -139,8 +139,9 @@ public:
 
     /// Invoked when Unit Test Framework build information is requested
     ///
-    /// @param[in] os   output stream to write a messages into
-    virtual void        log_build_info( std::ostream& os ) = 0;
+    /// @param[in] os               output stream to write a messages into
+    /// @param[in] log_build_info   indicates if build info should be logged or not
+    virtual void        log_build_info( std::ostream& os, bool log_build_info = true ) = 0;
     // @}
 
     // @name Test unit start/finish
@@ -171,11 +172,16 @@ public:
     }
 
     /// Deprecated version of this interface
+    /// @deprecated
     virtual void        test_unit_skipped( std::ostream& /* os */, test_unit const& /* tu */) {}
 
     /// Invoked when a test unit is aborted
     virtual void        test_unit_aborted( std::ostream& /* os */, test_unit const& /* tu */) {}
 
+    /// Invoked when a test unit times-out
+    virtual void        test_unit_timed_out( std::ostream& /* os */, test_unit const& /* tu */) {}
+
+
     // @}
 
     // @name Uncaught exception report
@@ -319,4 +325,3 @@ protected:
 #include <boost/test/detail/enable_warnings.hpp>
 
 #endif // BOOST_TEST_UNIT_TEST_LOG_FORMATTER_HPP_071894GER
-