In modules/ replace mock macros with unified MOCK_METHOD macro

Bug: webrtc:11564
Change-Id: I8a87389a795029feb818449ab1e5bbe69486db28
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/175908
Reviewed-by: Philip Eliasson <philipel@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#31364}
This commit is contained in:
Danil Chapovalov
2020-05-26 19:18:17 +02:00
committed by Commit Bot
parent e309651f33
commit 014197b581
14 changed files with 118 additions and 99 deletions

View File

@ -42,7 +42,10 @@ using ::webrtc::test::RtcpPacketParser;
class MockMediaReceiverRtcpObserver : public webrtc::MediaReceiverRtcpObserver {
public:
MOCK_METHOD3(OnSenderReport, void(uint32_t, webrtc::NtpTime, uint32_t));
MOCK_METHOD(void,
OnSenderReport,
(uint32_t, webrtc::NtpTime, uint32_t),
(override));
};
constexpr int kTimeoutMs = 1000;