8#include <boost/test/unit_test.hpp>
71 [](
const std::system_error&
e) {
return e.code() == std::errc::operation_not_permitted; });
BOOST_CHECK_EXCEPTION predicates to check the specific validation error.
BOOST_AUTO_TEST_SUITE_END()
BOOST_CHECK_EXCEPTION(HTTPHeaders{}.Read(reader), std::runtime_error, HasReason{"Empty HTTP header name"})
#define BOOST_CHECK(expr)
BOOST_AUTO_TEST_CASE(reverselock_basics)
#define WAIT_LOCK(cs, name)
#define AssertLockNotHeld(cs)
#define REVERSE_LOCK(g, cs)
#define AssertLockHeld(cs)
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.