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

Side by Side Diff: webrtc/video/video_encoder_unittest.cc

Issue 1417283007: modules/video_coding refactorings (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix the other copy of the mock include header Created 5 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « webrtc/video/video_decoder_unittest.cc ('k') | webrtc/video_engine/vie_channel.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "webrtc/video_encoder.h" 11 #include "webrtc/video_encoder.h"
12 12
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 #include "webrtc/modules/video_coding/codecs/interface/video_error_codes.h" 14 #include "webrtc/modules/video_coding/include/video_error_codes.h"
15 15
16 namespace webrtc { 16 namespace webrtc {
17 17
18 const int kWidth = 320; 18 const int kWidth = 320;
19 const int kHeight = 240; 19 const int kHeight = 240;
20 const size_t kMaxPayloadSize = 800; 20 const size_t kMaxPayloadSize = 800;
21 21
22 class VideoEncoderSoftwareFallbackWrapperTest : public ::testing::Test { 22 class VideoEncoderSoftwareFallbackWrapperTest : public ::testing::Test {
23 protected: 23 protected:
24 VideoEncoderSoftwareFallbackWrapperTest() 24 VideoEncoderSoftwareFallbackWrapperTest()
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 253
254 TEST_F(VideoEncoderSoftwareFallbackWrapperTest, 254 TEST_F(VideoEncoderSoftwareFallbackWrapperTest,
255 SupportsNativeHandleNotForwardedDuringFallback) { 255 SupportsNativeHandleNotForwardedDuringFallback) {
256 UtilizeFallbackEncoder(); 256 UtilizeFallbackEncoder();
257 fallback_wrapper_.SupportsNativeHandle(); 257 fallback_wrapper_.SupportsNativeHandle();
258 EXPECT_EQ(0, fake_encoder_.supports_native_handle_count_); 258 EXPECT_EQ(0, fake_encoder_.supports_native_handle_count_);
259 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, fallback_wrapper_.Release()); 259 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, fallback_wrapper_.Release());
260 } 260 }
261 261
262 } // namespace webrtc 262 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/video/video_decoder_unittest.cc ('k') | webrtc/video_engine/vie_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698