summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTomasz Swierczek <t.swierczek@samsung.com>2019-05-15 10:05:49 +0200
committerTomasz Swierczek <t.swierczek@samsung.com>2019-05-15 10:50:55 +0200
commit3a49b5305d0739d3165b25e406305dad841d52e1 (patch)
tree66c31cb4bc7cc9a1a1546cb6714abe99cb5dbd07 /tests
parent062dcfeebc57f34472a116fd518ee2910e35f1e9 (diff)
downloadkey-manager-3a49b5305d0739d3165b25e406305dad841d52e1.tar.gz
key-manager-3a49b5305d0739d3165b25e406305dad841d52e1.tar.bz2
key-manager-3a49b5305d0739d3165b25e406305dad841d52e1.zip
Adjust to boost 1.65
Change-Id: I43e986a010030db949053a8e1b3669495fa1a986
Diffstat (limited to 'tests')
-rw-r--r--tests/colour_log_formatter.cpp33
-rw-r--r--tests/colour_log_formatter.h8
2 files changed, 41 insertions, 0 deletions
diff --git a/tests/colour_log_formatter.cpp b/tests/colour_log_formatter.cpp
index 87e862b1..b2d2b9b8 100644
--- a/tests/colour_log_formatter.cpp
+++ b/tests/colour_log_formatter.cpp
@@ -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
diff --git a/tests/colour_log_formatter.h b/tests/colour_log_formatter.h
index 3c5dae00..064cfe2e 100644
--- a/tests/colour_log_formatter.h
+++ b/tests/colour_log_formatter.h
@@ -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;
};