summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
};