Remove unused mocks of process thread
Bug: None Change-Id: Ib671c45ce46f45f2ce3ba59b6c041bf2466ca88a Reviewed-on: https://webrtc-review.googlesource.com/4240 Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20010}
This commit is contained in:

committed by
Commit Bot

parent
e55686e9d3
commit
a82fcd0fc8
@ -195,16 +195,6 @@ TEST_F(Vp9SsMapTest, UpdatePacket) {
|
||||
EXPECT_EQ(2, packet_.video_header.codecHeader.VP9.pid_diff[1]);
|
||||
}
|
||||
|
||||
class ProcessThreadMock : public ProcessThread {
|
||||
public:
|
||||
MOCK_METHOD0(Start, void());
|
||||
MOCK_METHOD0(Stop, void());
|
||||
MOCK_METHOD1(WakeUp, void(Module* module));
|
||||
MOCK_METHOD2(RegisterModule, void(Module* module, const rtc::Location&));
|
||||
MOCK_METHOD1(DeRegisterModule, void(Module* module));
|
||||
void PostTask(std::unique_ptr<rtc::QueuedTask> task) /*override*/ {}
|
||||
};
|
||||
|
||||
class TestBasicJitterBuffer : public ::testing::TestWithParam<std::string>,
|
||||
public NackSender,
|
||||
public KeyFrameRequestSender {
|
||||
@ -216,7 +206,6 @@ class TestBasicJitterBuffer : public ::testing::TestWithParam<std::string>,
|
||||
|
||||
void RequestKeyFrame() override { ++keyframe_requests_; }
|
||||
|
||||
::testing::NiceMock<ProcessThreadMock> process_thread_mock_;
|
||||
std::vector<uint16_t> nack_sent_;
|
||||
int keyframe_requests_;
|
||||
|
||||
@ -332,7 +321,6 @@ class TestRunningJitterBuffer : public ::testing::TestWithParam<std::string>,
|
||||
|
||||
void RequestKeyFrame() { ++keyframe_requests_; }
|
||||
|
||||
::testing::NiceMock<ProcessThreadMock> process_thread_mock_;
|
||||
std::vector<uint16_t> nack_sent_;
|
||||
int keyframe_requests_;
|
||||
|
||||
|
@ -288,7 +288,6 @@ if (rtc_include_tests) {
|
||||
"../modules/rtp_rtcp",
|
||||
"../modules/rtp_rtcp:mock_rtp_rtcp",
|
||||
"../modules/utility",
|
||||
"../modules/utility:mock_process_thread",
|
||||
"../modules/video_coding",
|
||||
"../modules/video_coding:video_coding_utility",
|
||||
"../modules/video_coding:webrtc_h264",
|
||||
|
@ -12,7 +12,6 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "modules/utility/include/mock/mock_process_thread.h"
|
||||
#include "test/gmock.h"
|
||||
#include "test/gtest.h"
|
||||
#include "video/send_statistics_proxy.h"
|
||||
|
Reference in New Issue
Block a user