10 #include <boost/test/unit_test.hpp> 19 for (
auto offset : to_add) {
53 static bool IsWarningRaised(
const std::vector<std::chrono::seconds>& check_offsets)
58 return offsets.WarnIfOutOfSync();
static const int64_t offsets[]
Manages warning messages within a node.
BOOST_AUTO_TEST_CASE(timeoffsets)
BOOST_AUTO_TEST_SUITE_END()
static bool IsWarningRaised(const std::vector< std::chrono::seconds > &check_offsets)
#define BOOST_CHECK(expr)
static void AddMulti(TimeOffsets &offsets, const std::vector< std::chrono::seconds > &to_add)