<< " occurred in a following context:";
}
+#if BOOST_VERSION >= 106501
+void
+colour_log_formatter::log_entry_context(
+ std::ostream& output,
+ boost::unit_test::log_level /*l*/,
+ boost::unit_test::const_string value)
+{
+ output << "\n " << value;
+}
+
+void
+colour_log_formatter::entry_context_finish(
+ std::ostream& output,
+ boost::unit_test::log_level /*l*/)
+{
+ output.flush();
+}
+#else
void
colour_log_formatter::log_entry_context(
std::ostream& output,
{
output.flush();
}
+#endif
//____________________________________________________________________________//
} // namespace Test
void log_entry_finish(std::ostream &);
void entry_context_start(std::ostream& os, boost::unit_test::log_level l);
+
+#if BOOST_VERSION >= 106501
+ 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*/);
+#else
void log_entry_context(std::ostream& os,
boost::unit_test::const_string value);
void entry_context_finish(std::ostream& os);
-
+#endif
private:
bool m_isTestCaseFailed;
};