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

Side by Side Diff: webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.cc

Issue 2964953002: Remove webrtc::VideoEncoderFactory (Closed)
Patch Set: Add dep to base:sequenced_task_checker Created 3 years, 5 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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/modules/video_coding/codecs/vp8/simulcast_unittest.h" 11 #include "webrtc/modules/video_coding/codecs/vp8/simulcast_test_utility.h"
12 12
13 namespace webrtc { 13 namespace webrtc {
14 namespace testing { 14 namespace testing {
15 15
16 class TestVp8Impl : public TestVp8Simulcast { 16 class TestVp8Impl : public TestVp8Simulcast {
17 public:
18 TestVp8Impl()
19 : TestVp8Simulcast(VP8Encoder::Create(), VP8Decoder::Create()) {}
20
21 protected: 17 protected:
22 virtual void SetUp() { TestVp8Simulcast::SetUp(); } 18 VP8Encoder* CreateEncoder() override { return VP8Encoder::Create(); }
23 virtual void TearDown() { TestVp8Simulcast::TearDown(); } 19 VP8Decoder* CreateDecoder() override { return VP8Decoder::Create(); }
24 }; 20 };
25 21
26 TEST_F(TestVp8Impl, TestKeyFrameRequestsOnAllStreams) { 22 TEST_F(TestVp8Impl, TestKeyFrameRequestsOnAllStreams) {
27 TestVp8Simulcast::TestKeyFrameRequestsOnAllStreams(); 23 TestVp8Simulcast::TestKeyFrameRequestsOnAllStreams();
28 } 24 }
29 25
30 TEST_F(TestVp8Impl, TestPaddingAllStreams) { 26 TEST_F(TestVp8Impl, TestPaddingAllStreams) {
31 TestVp8Simulcast::TestPaddingAllStreams(); 27 TestVp8Simulcast::TestPaddingAllStreams();
32 } 28 }
33 29
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 69
74 TEST_F(TestVp8Impl, TestSpatioTemporalLayers321PatternEncoder) { 70 TEST_F(TestVp8Impl, TestSpatioTemporalLayers321PatternEncoder) {
75 TestVp8Simulcast::TestSpatioTemporalLayers321PatternEncoder(); 71 TestVp8Simulcast::TestSpatioTemporalLayers321PatternEncoder();
76 } 72 }
77 73
78 TEST_F(TestVp8Impl, TestStrideEncodeDecode) { 74 TEST_F(TestVp8Impl, TestStrideEncodeDecode) {
79 TestVp8Simulcast::TestStrideEncodeDecode(); 75 TestVp8Simulcast::TestStrideEncodeDecode();
80 } 76 }
81 } // namespace testing 77 } // namespace testing
82 } // namespace webrtc 78 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h ('k') | webrtc/video/end_to_end_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698