From ec5b8174bc9275b5601a584eca6e04231d17c433 Mon Sep 17 00:00:00 2001 From: Miguel Company Date: Thu, 4 Mar 2021 16:27:47 +0100 Subject: [PATCH] Refs 10756. Add get_unread_count to RTPSReader mock. Signed-off-by: Miguel Company --- test/mock/rtps/RTPSReader/fastdds/rtps/reader/RTPSReader.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/mock/rtps/RTPSReader/fastdds/rtps/reader/RTPSReader.h b/test/mock/rtps/RTPSReader/fastdds/rtps/reader/RTPSReader.h index bf6c5d0d774..f955ca73a0e 100644 --- a/test/mock/rtps/RTPSReader/fastdds/rtps/reader/RTPSReader.h +++ b/test/mock/rtps/RTPSReader/fastdds/rtps/reader/RTPSReader.h @@ -93,6 +93,8 @@ class RTPSReader : public Endpoint MOCK_METHOD1(wait_for_unread_cache, bool (const eprosima::fastrtps::Duration_t& timeout)); + MOCK_METHOD0(get_unread_count, uint64_t()); + // *INDENT-ON*