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

Unified Diff: media/cast/video_sender/video_sender_unittest.cc

Issue 174183003: Cast:Transport: Dividing A/V Initialization pipeline (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing errors and yet another rebase Created 6 years, 10 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 | « media/cast/transport/transport_video_sender.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/video_sender/video_sender_unittest.cc
diff --git a/media/cast/video_sender/video_sender_unittest.cc b/media/cast/video_sender/video_sender_unittest.cc
index 2f5c06e71110f7e8f9fb5ca5bf44aca14e6664de..130dac907af7c492251190bd304e61941ee2a883 100644
--- a/media/cast/video_sender/video_sender_unittest.cc
+++ b/media/cast/video_sender/video_sender_unittest.cc
@@ -90,14 +90,17 @@ class VideoSenderTest : public ::testing::Test {
task_runner_,
task_runner_,
GetLoggingConfigWithRawEventsAndStatsEnabled());
- transport::CastTransportConfig transport_config;
+ transport::CastTransportVideoConfig transport_config;
+ net::IPEndPoint dummy_endpoint;
transport_sender_.reset(new transport::CastTransportSenderImpl(
NULL,
testing_clock_,
- transport_config,
+ dummy_endpoint,
+ dummy_endpoint,
base::Bind(&UpdateCastTransportStatus),
task_runner_,
&transport_));
+ transport_sender_->InitializeVideo(transport_config);
}
virtual ~VideoSenderTest() {}
@@ -108,7 +111,7 @@ class VideoSenderTest : public ::testing::Test {
}
static void UpdateCastTransportStatus(transport::CastTransportStatus status) {
- EXPECT_EQ(status, transport::TRANSPORT_INITIALIZED);
+ EXPECT_EQ(status, transport::TRANSPORT_VIDEO_INITIALIZED);
}
void InitEncoder(bool external) {
« no previous file with comments | « media/cast/transport/transport_video_sender.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698