OLD | NEW |
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_unittest.h" |
12 | 12 |
13 namespace webrtc { | 13 namespace webrtc { |
14 namespace testing { | 14 namespace testing { |
15 | 15 |
16 class TestVp8Impl | 16 class TestVp8Impl : public TestVp8Simulcast { |
17 : public TestVp8Simulcast { | |
18 public: | 17 public: |
19 TestVp8Impl() | 18 TestVp8Impl() |
20 : TestVp8Simulcast(VP8Encoder::Create(), VP8Decoder::Create()) {} | 19 : TestVp8Simulcast(VP8Encoder::Create(), VP8Decoder::Create()) {} |
| 20 |
21 protected: | 21 protected: |
22 virtual void SetUp() { | 22 virtual void SetUp() { TestVp8Simulcast::SetUp(); } |
23 TestVp8Simulcast::SetUp(); | 23 virtual void TearDown() { TestVp8Simulcast::TearDown(); } |
24 } | |
25 virtual void TearDown() { | |
26 TestVp8Simulcast::TearDown(); | |
27 } | |
28 }; | 24 }; |
29 | 25 |
30 TEST_F(TestVp8Impl, TestKeyFrameRequestsOnAllStreams) { | 26 TEST_F(TestVp8Impl, TestKeyFrameRequestsOnAllStreams) { |
31 TestVp8Simulcast::TestKeyFrameRequestsOnAllStreams(); | 27 TestVp8Simulcast::TestKeyFrameRequestsOnAllStreams(); |
32 } | 28 } |
33 | 29 |
34 TEST_F(TestVp8Impl, TestPaddingAllStreams) { | 30 TEST_F(TestVp8Impl, TestPaddingAllStreams) { |
35 TestVp8Simulcast::TestPaddingAllStreams(); | 31 TestVp8Simulcast::TestPaddingAllStreams(); |
36 } | 32 } |
37 | 33 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 TEST_F(TestVp8Impl, TestStrideEncodeDecode) { | 82 TEST_F(TestVp8Impl, TestStrideEncodeDecode) { |
87 TestVp8Simulcast::TestStrideEncodeDecode(); | 83 TestVp8Simulcast::TestStrideEncodeDecode(); |
88 } | 84 } |
89 | 85 |
90 TEST_F(TestVp8Impl, TestSkipEncodingUnusedStreams) { | 86 TEST_F(TestVp8Impl, TestSkipEncodingUnusedStreams) { |
91 TestVp8Simulcast::TestSkipEncodingUnusedStreams(); | 87 TestVp8Simulcast::TestSkipEncodingUnusedStreams(); |
92 } | 88 } |
93 | 89 |
94 } // namespace testing | 90 } // namespace testing |
95 } // namespace webrtc | 91 } // namespace webrtc |
OLD | NEW |