summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Swierczek <t.swierczek@samsung.com>2018-07-18 12:15:47 +0200
committerTomasz Swierczek <t.swierczek@samsung.com>2018-07-18 13:56:14 +0200
commitc3d2e17cb5f53079aa0f59af579619387eb32b03 (patch)
treeb87c17a47014f2fc1633c52163e243c9ba74a674
parent06893c34ec9a7423a35422415e14793beb45b9a8 (diff)
downloadcert-checker-c3d2e17cb5f53079aa0f59af579619387eb32b03.tar.gz
cert-checker-c3d2e17cb5f53079aa0f59af579619387eb32b03.tar.bz2
cert-checker-c3d2e17cb5f53079aa0f59af579619387eb32b03.zip
Adjust build to boost 1.65.0 and up
Change-Id: I7e6d7cac40c643d68775f30ccfbfaf465525c48c
-rw-r--r--tests/colour_log_formatter.cpp16
-rw-r--r--tests/colour_log_formatter.h11
2 files changed, 27 insertions, 0 deletions
diff --git a/tests/colour_log_formatter.cpp b/tests/colour_log_formatter.cpp
index 020ee27..4a9ea4f 100644
--- a/tests/colour_log_formatter.cpp
+++ b/tests/colour_log_formatter.cpp
@@ -306,6 +306,22 @@ colour_log_formatter::entry_context_finish(std::ostream& os)
}
//____________________________________________________________________________//
+#if BOOST_VERSION >= 106500
+void
+colour_log_formatter::log_entry_context(std::ostream& os, log_level l, const_string value)
+{
+ (void)os;
+ (void)l;
+ (void)value;
+}
+void
+colour_log_formatter::entry_context_finish(std::ostream& os, log_level l)
+{
+ (void)os;
+ (void)l;
+}
+#endif
+
//____________________________________________________________________________//
} // namespace CCHECKER
diff --git a/tests/colour_log_formatter.h b/tests/colour_log_formatter.h
index 0838cce..0717a6c 100644
--- a/tests/colour_log_formatter.h
+++ b/tests/colour_log_formatter.h
@@ -64,6 +64,17 @@ public:
std::ostream& os,
boost::unit_test::const_string value);
void entry_context_finish(std::ostream& os);
+#if BOOST_VERSION >= 106500
+ 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;
};