Adjust to boost 1.65 30/206230/1
authorTomasz Swierczek <t.swierczek@samsung.com>
Wed, 15 May 2019 08:05:49 +0000 (10:05 +0200)
committerTomasz Swierczek <t.swierczek@samsung.com>
Wed, 15 May 2019 08:50:55 +0000 (10:50 +0200)
Change-Id: I43e986a010030db949053a8e1b3669495fa1a986

tests/colour_log_formatter.cpp
tests/colour_log_formatter.h

index 87e862b..b2d2b9b 100644 (file)
@@ -297,6 +297,39 @@ colour_log_formatter::log_entry_finish(
 
 //____________________________________________________________________________//
 
+#if BOOST_VERSION >= 106501
+void colour_log_formatter::log_exception_start(std::ostream& os, boost::unit_test::log_checkpoint_data const& lcd, boost::execution_exception const& ex)
+{
+       (void)os;
+       (void)lcd;
+       (void)ex;
+}
+
+void colour_log_formatter::log_exception_finish(std::ostream& os)
+{
+       (void)os;
+}
+
+void colour_log_formatter::entry_context_start(std::ostream& os, boost::unit_test::log_level l)
+{
+       (void)os;
+       (void)l;
+}
+
+void colour_log_formatter::log_entry_context(std::ostream& os, boost::unit_test::log_level l, boost::unit_test::const_string value)
+{
+    (void)os;
+    (void)l;
+    (void)value;
+}
+
+void colour_log_formatter::entry_context_finish(std::ostream& os, boost::unit_test::log_level l)
+{
+    (void)os;
+    (void)l;
+}
+#endif
+
 //____________________________________________________________________________//
 
 } // namespace CKM
index 3c5dae0..064cfe2 100644 (file)
@@ -54,6 +54,14 @@ public:
                boost::unit_test::lazy_ostream const &value);
        void    log_entry_finish(std::ostream &);
 
+#if BOOST_VERSION >= 106501
+       void log_exception_start(std::ostream& os, boost::unit_test::log_checkpoint_data const& lcd, boost::execution_exception const& ex);
+       void log_exception_finish(std::ostream& os);
+       void entry_context_start(std::ostream& os, boost::unit_test::log_level l);
+       void log_entry_context(std::ostream& os, boost::unit_test::log_level l, boost::unit_test::const_string value);
+       void entry_context_finish(std::ostream& os, boost::unit_test::log_level l);
+#endif
+
 private:
        bool m_isTestCaseFailed;
 };