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 #include <string.h> | 11 #include <string.h> |
12 | 12 |
13 #include <list> | 13 #include <list> |
14 #include <memory> | 14 #include <memory> |
15 | 15 |
16 #include "webrtc/modules/rtp_rtcp/include/fec_receiver.h" | 16 #include "webrtc/modules/rtp_rtcp/include/fec_receiver.h" |
17 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" | 17 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" |
18 #include "webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h" | 18 #include "webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h" |
19 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" | 19 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" |
20 #include "webrtc/modules/rtp_rtcp/source/fec_test_helper.h" | 20 #include "webrtc/modules/rtp_rtcp/source/fec_test_helper.h" |
21 #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h" | 21 #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h" |
| 22 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_defines_nullimpl.h" |
22 #include "webrtc/test/gmock.h" | 23 #include "webrtc/test/gmock.h" |
23 #include "webrtc/test/gtest.h" | 24 #include "webrtc/test/gtest.h" |
24 | 25 |
25 namespace webrtc { | 26 namespace webrtc { |
26 | 27 |
27 namespace { | 28 namespace { |
28 using ::testing::_; | 29 using ::testing::_; |
29 using ::testing::Args; | 30 using ::testing::Args; |
30 using ::testing::ElementsAreArray; | 31 using ::testing::ElementsAreArray; |
31 using ::testing::Return; | 32 using ::testing::Return; |
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 0x27, | 549 0x27, |
549 0xc4, | 550 0xc4, |
550 0x2a, | 551 0x2a, |
551 0x21, | 552 0x21, |
552 0x2a, | 553 0x2a, |
553 0x28}; | 554 0x28}; |
554 SurvivesMaliciousPacket(kPacket, sizeof(kPacket), 100); | 555 SurvivesMaliciousPacket(kPacket, sizeof(kPacket), 100); |
555 } | 556 } |
556 | 557 |
557 } // namespace webrtc | 558 } // namespace webrtc |
OLD | NEW |