1 #define BOOST_TEST_MODULE (RootOutputClosingCriteria_t) 30 BOOST_AUTO_TEST_SUITE(RootOutputClosingCriteria_t)
35 max_events, -1u, -1u, -1u, max_size, max_age};
39 BOOST_CHECK(!
c.should_close(fp));
44 using namespace std::chrono;
46 max_events, -1u, -1u, -1u, max_size, one_second()};
50 std::this_thread::sleep_for(
seconds_t{2});
54 0, 0, 0, 0, 0, duration_cast<seconds>(age)};
55 BOOST_CHECK(
c.should_close(currentProperties));
58 BOOST_AUTO_TEST_SUITE_END()
std::chrono::seconds seconds_t
BOOST_AUTO_TEST_CASE(MaxCriteria)