Chromium Code Reviews

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

Issue 1688643003: Initial cleanup of cricket::VideoFrame. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/media/webrtc/webrtcvideoframe_unittest.cc
diff --git a/webrtc/media/webrtc/webrtcvideoframe_unittest.cc b/webrtc/media/webrtc/webrtcvideoframe_unittest.cc
index 215a4846d7608d599316e2406403fe7d0b23cbad..38a6a7f2cd6711c269483999c79719d57ab1d2a8 100644
--- a/webrtc/media/webrtc/webrtcvideoframe_unittest.cc
+++ b/webrtc/media/webrtc/webrtcvideoframe_unittest.cc
@@ -66,9 +66,9 @@ class WebRtcVideoFrameTest : public VideoFrameTest<cricket::WebRtcVideoFrame> {
// Verify the new frame.
EXPECT_EQ(5678, frame.GetTimeStamp());
if (apply_rotation)
- EXPECT_EQ(webrtc::kVideoRotation_0, frame.GetRotation());
+ EXPECT_EQ(webrtc::kVideoRotation_0, frame.GetVideoRotation());
else
- EXPECT_EQ(frame_rotation, frame.GetRotation());
+ EXPECT_EQ(frame_rotation, frame.GetVideoRotation());
// If |apply_rotation| and the frame rotation is 90 or 270, width and
// height are flipped.
if (apply_rotation && (frame_rotation == webrtc::kVideoRotation_90
@@ -233,10 +233,7 @@ TEST_WEBRTCVIDEOFRAME(ConvertFromUYVYBuffer)
TEST_WEBRTCVIDEOFRAME(ConvertFromUYVYBufferStride)
TEST_WEBRTCVIDEOFRAME(ConvertFromUYVYBufferInverted)
// TEST_WEBRTCVIDEOFRAME(ConvertToI422Buffer)
-TEST_WEBRTCVIDEOFRAME(CopyToBuffer)
TEST_WEBRTCVIDEOFRAME(CopyToFrame)
-TEST_WEBRTCVIDEOFRAME(Write)
-TEST_WEBRTCVIDEOFRAME(CopyToBuffer1Pixel)
// TEST_WEBRTCVIDEOFRAME(ConstructARGBBlackWhitePixel)
TEST_WEBRTCVIDEOFRAME(StretchToFrame)

Powered by Google App Engine