Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(394)

Unified Diff: webrtc/call/rtx_receive_stream_unittest.cc

Issue 2988853002: Only one implementation of MockRtpPacketSink once (Closed)
Patch Set: . Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/call/rtp_demuxer_unittest.cc ('k') | webrtc/call/test/mock_rtp_packet_sink_interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/call/rtx_receive_stream_unittest.cc
diff --git a/webrtc/call/rtx_receive_stream_unittest.cc b/webrtc/call/rtx_receive_stream_unittest.cc
index 91ed2ca2c73fa2b954737696932a889dee7c7a72..e9c82105212adec197b49f6298c1e345b5df3be5 100644
--- a/webrtc/call/rtx_receive_stream_unittest.cc
+++ b/webrtc/call/rtx_receive_stream_unittest.cc
@@ -9,6 +9,7 @@
*/
#include "webrtc/call/rtx_receive_stream.h"
+#include "webrtc/call/test/mock_rtp_packet_sink_interface.h"
#include "webrtc/modules/rtp_rtcp/include/rtp_header_extension_map.h"
#include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h"
#include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h"
@@ -22,11 +23,6 @@ namespace {
using ::testing::_;
using ::testing::StrictMock;
-class MockRtpPacketSink : public RtpPacketSinkInterface {
- public:
- MOCK_METHOD1(OnRtpPacket, void(const RtpPacketReceived&));
-};
-
constexpr int kMediaPayloadType = 100;
constexpr int kRtxPayloadType = 98;
constexpr uint32_t kMediaSSRC = 0x3333333;
« no previous file with comments | « webrtc/call/rtp_demuxer_unittest.cc ('k') | webrtc/call/test/mock_rtp_packet_sink_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698