OLD | NEW |
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 <map> | 11 #include <map> |
12 #include <memory> | 12 #include <memory> |
13 #include <string> | 13 #include <string> |
14 #include <utility> | 14 #include <utility> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "webrtc/test/gtest.h" | |
18 #include "webrtc/base/buffer.h" | 17 #include "webrtc/base/buffer.h" |
19 #include "webrtc/base/checks.h" | 18 #include "webrtc/base/checks.h" |
20 #include "webrtc/base/random.h" | 19 #include "webrtc/base/random.h" |
21 #include "webrtc/call.h" | 20 #include "webrtc/call.h" |
22 #include "webrtc/call/rtc_event_log.h" | 21 #include "webrtc/call/rtc_event_log.h" |
23 #include "webrtc/call/rtc_event_log_parser.h" | 22 #include "webrtc/call/rtc_event_log_parser.h" |
24 #include "webrtc/call/rtc_event_log_unittest_helper.h" | 23 #include "webrtc/call/rtc_event_log_unittest_helper.h" |
25 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" | 24 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" |
26 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h" | 25 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h" |
27 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extension.h" | 26 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extension.h" |
28 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" | 27 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" |
29 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h" | 28 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h" |
30 #include "webrtc/system_wrappers/include/clock.h" | 29 #include "webrtc/system_wrappers/include/clock.h" |
| 30 #include "webrtc/test/gtest.h" |
31 #include "webrtc/test/test_suite.h" | 31 #include "webrtc/test/test_suite.h" |
32 #include "webrtc/test/testsupport/fileutils.h" | 32 #include "webrtc/test/testsupport/fileutils.h" |
33 | 33 |
34 // Files generated at build-time by the protobuf compiler. | 34 // Files generated at build-time by the protobuf compiler. |
35 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD | 35 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD |
36 #include "external/webrtc/webrtc/call/rtc_event_log.pb.h" | 36 #include "external/webrtc/webrtc/call/rtc_event_log.pb.h" |
37 #else | 37 #else |
38 #include "webrtc/call/rtc_event_log.pb.h" | 38 #include "webrtc/call/rtc_event_log.pb.h" |
39 #endif | 39 #endif |
40 | 40 |
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 MediaType::VIDEO, rtcp_packet.data(), | 451 MediaType::VIDEO, rtcp_packet.data(), |
452 rtcp_packet.size()); | 452 rtcp_packet.size()); |
453 | 453 |
454 RtcEventLogTestHelper::VerifyLogEndEvent(parsed_log, 3); | 454 RtcEventLogTestHelper::VerifyLogEndEvent(parsed_log, 3); |
455 | 455 |
456 // Clean up temporary file - can be pretty slow. | 456 // Clean up temporary file - can be pretty slow. |
457 remove(temp_filename.c_str()); | 457 remove(temp_filename.c_str()); |
458 } | 458 } |
459 | 459 |
460 } // namespace webrtc | 460 } // namespace webrtc |
OLD | NEW |