OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 | 11 |
12 #include "webrtc/modules/rtp_rtcp/source/rtp_format_vp8_test_helper.h" | 12 #include "webrtc/modules/rtp_rtcp/source/rtp_format_vp8_test_helper.h" |
13 | 13 |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "webrtc/test/gtest.h" |
15 | 15 |
16 namespace webrtc { | 16 namespace webrtc { |
17 | 17 |
18 namespace test { | 18 namespace test { |
19 | 19 |
20 RtpFormatVp8TestHelper::RtpFormatVp8TestHelper(const RTPVideoHeaderVP8* hdr) | 20 RtpFormatVp8TestHelper::RtpFormatVp8TestHelper(const RTPVideoHeaderVP8* hdr) |
21 : payload_data_(NULL), | 21 : payload_data_(NULL), |
22 buffer_(NULL), | 22 buffer_(NULL), |
23 data_ptr_(NULL), | 23 data_ptr_(NULL), |
24 fragmentation_(NULL), | 24 fragmentation_(NULL), |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 bool frag_start) { | 242 bool frag_start) { |
243 EXPECT_EQ(expect_bytes, send_bytes); | 243 EXPECT_EQ(expect_bytes, send_bytes); |
244 CheckHeader(frag_start); | 244 CheckHeader(frag_start); |
245 CheckPayload(send_bytes); | 245 CheckPayload(send_bytes); |
246 CheckLast(last); | 246 CheckLast(last); |
247 } | 247 } |
248 | 248 |
249 } // namespace test | 249 } // namespace test |
250 | 250 |
251 } // namespace webrtc | 251 } // namespace webrtc |
OLD | NEW |