diff options
Diffstat (limited to 'tests/mock_os.h')
-rw-r--r-- | tests/mock_os.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/mock_os.h b/tests/mock_os.h index 354a6d1..5a378f3 100644 --- a/tests/mock_os.h +++ b/tests/mock_os.h @@ -33,6 +33,8 @@ class MockOs : public Os { ~MockOs() override; MOCK_CONST_METHOD1(GetTimestamp, Timestamp(clockid_t clock_id)); + MOCK_METHOD3(ReceiveDatagram, + std::tuple<size_t, Errno>(int fd, void* buf, size_t buflen)); MOCK_METHOD3(Write, std::tuple<size_t, Os::Errno>(int fd, const void* buf, size_t buflen)); |