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

Unified Diff: webrtc/media/webrtc/webrtcvideocapturer_unittest.cc

Issue 1679323002: Cleanup of webrtc::VideoFrame. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Drop return value from FakeWebRtcVideoCaptureModule::SendFrame. Created 4 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
Index: webrtc/media/webrtc/webrtcvideocapturer_unittest.cc
diff --git a/webrtc/media/webrtc/webrtcvideocapturer_unittest.cc b/webrtc/media/webrtc/webrtcvideocapturer_unittest.cc
index f776dff396e93a03a0e35b9aeaddbdcabd53b81a..f12aaf239385c1726b068393ba00bba4dba9b84c 100644
--- a/webrtc/media/webrtc/webrtcvideocapturer_unittest.cc
+++ b/webrtc/media/webrtc/webrtcvideocapturer_unittest.cc
@@ -87,7 +87,7 @@ TEST_F(WebRtcVideoCapturerTest, TestCapture) {
ASSERT_TRUE(capturer_->GetCaptureFormat() != NULL);
EXPECT_EQ(format, *capturer_->GetCaptureFormat());
EXPECT_EQ_WAIT(cricket::CS_RUNNING, listener_.last_capture_state(), 1000);
- EXPECT_TRUE(factory_->modules[0]->SendFrame(640, 480));
+ factory_->modules[0]->SendFrame(640, 480);
EXPECT_TRUE_WAIT(listener_.frame_count() > 0, 5000);
EXPECT_EQ(capturer_->GetCaptureFormat()->fourcc, listener_.frame_fourcc());
EXPECT_EQ(640, listener_.frame_width());
@@ -114,7 +114,7 @@ TEST_F(WebRtcVideoCapturerTest, TestCaptureVcm) {
ASSERT_TRUE(capturer_->GetCaptureFormat() != NULL);
EXPECT_EQ(format, *capturer_->GetCaptureFormat());
EXPECT_EQ_WAIT(cricket::CS_RUNNING, listener_.last_capture_state(), 1000);
- EXPECT_TRUE(factory_->modules[0]->SendFrame(640, 480));
+ factory_->modules[0]->SendFrame(640, 480);
EXPECT_TRUE_WAIT(listener_.frame_count() > 0, 5000);
EXPECT_EQ(capturer_->GetCaptureFormat()->fourcc, listener_.frame_fourcc());
EXPECT_EQ(640, listener_.frame_width());

Powered by Google App Engine
This is Rietveld 408576698