Adjust build to boost 1.65.0 and up 34/184534/1 accepted/tizen/unified/20180719.063037 submit/tizen/20180718.133940
authorTomasz Swierczek <t.swierczek@samsung.com>
Wed, 18 Jul 2018 12:00:02 +0000 (14:00 +0200)
committerTomasz Swierczek <t.swierczek@samsung.com>
Wed, 18 Jul 2018 12:02:46 +0000 (14:02 +0200)
Change-Id: I4f541900316f3419827fa3e3f66bcdf81e40f44e

tests/colour_log_formatter.cpp
tests/colour_log_formatter.h

index 087951f33628c40a16236addca69ef0834c1dc83..041fef8bde878757a54b8cc2057a0d9f7ab4d2d1 100644 (file)
@@ -348,6 +348,21 @@ colour_log_formatter::entry_context_finish(std::ostream& output)
        output.flush();
 }
 
+#if BOOST_VERSION >= 106500
+void
+colour_log_formatter::log_entry_context(std::ostream& os, log_level l, const_string value)
+{
+       (void)l;
+       os << "\n    " << value;
+}
+void
+colour_log_formatter::entry_context_finish(std::ostream& os, log_level l)
+{
+       (void)l;
+       os.flush();
+}
+#endif
+
 //____________________________________________________________________________//
 } // namespace Test
 } // namespace Wae
index 968f6be889b5246cfbd5c1b092f0a5a5041af31c..3de589992419cc4fb5190759ea40c79ad530d706 100644 (file)
@@ -63,6 +63,15 @@ public:
        void log_entry_context(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;