5#include <event2/event.h>
14#include <boost/test/unit_test.hpp>
18#ifdef EVENT_SET_MEM_FUNCTIONS_IMPLEMENTED
20static std::map<void*, short>
tags;
21static std::map<void*, uint16_t>
orders;
53 auto event =
obtain_event(base.get(), -1, 0,
nullptr,
nullptr);
75 auto event =
obtain_event(base.get(), -1, 0,
nullptr,
nullptr);
BOOST_FIXTURE_TEST_SUITE(cuckoocache_tests, BasicTestingSetup)
Test Suite for CuckooCache.
BOOST_AUTO_TEST_SUITE_END()
raii_event obtain_event(struct event_base *base, evutil_socket_t s, short events, event_callback_fn cb, void *arg)
raii_event_base obtain_event_base()
BOOST_AUTO_TEST_CASE(ipc_tests)
#define BOOST_CHECK(expr)
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.