diff options
author | Tomasz Swierczek <t.swierczek@samsung.com> | 2018-07-18 12:15:47 +0200 |
---|---|---|
committer | Tomasz Swierczek <t.swierczek@samsung.com> | 2018-07-18 13:56:14 +0200 |
commit | c3d2e17cb5f53079aa0f59af579619387eb32b03 (patch) | |
tree | b87c17a47014f2fc1633c52163e243c9ba74a674 /tests | |
parent | 06893c34ec9a7423a35422415e14793beb45b9a8 (diff) | |
download | cert-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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/colour_log_formatter.cpp | 16 | ||||
-rw-r--r-- | tests/colour_log_formatter.h | 11 |
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; }; |