Cleanup RtcpReceiver tests
update MOCK_METHODs to use new syntax recommended in go/totw/164 Replace fixture with struct of mocks. Use main method under test (IncomingPacket) directly rather than through fixture helpers minor cleanup of the RtcReceiver itself: make IncomingPacket function more friendly to containers, mark class as final to verify ability to inherit from it is not used and thus destructor doesn't need to be virtual. Bug: None Change-Id: I346e7dc513b1fbe663ebe5858dec7df0520416a7 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170226 Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Markus Handell <handellm@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30765}
This commit is contained in:

committed by
Commit Bot

parent
3bc8123247
commit
443f26695f