OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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 #ifndef WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_UNITTEST_HELPER_H_ | 11 #ifndef WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_UNITTEST_HELPER_H_ |
12 #define WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_UNITTEST_HELPER_H_ | 12 #define WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_UNITTEST_HELPER_H_ |
13 | 13 |
14 #include "webrtc/call/call.h" | 14 #include "webrtc/call/call.h" |
15 #include "webrtc/logging/rtc_event_log/rtc_event_log_parser.h" | 15 #include "webrtc/logging/rtc_event_log/rtc_event_log_parser.h" |
16 | 16 |
17 namespace webrtc { | 17 namespace webrtc { |
18 | 18 |
19 class RtcEventLogTestHelper { | 19 class RtcEventLogTestHelper { |
20 public: | 20 public: |
21 static void VerifyVideoReceiveStreamConfig( | 21 static void VerifyVideoReceiveStreamConfig( |
22 const ParsedRtcEventLog& parsed_log, | 22 const ParsedRtcEventLog& parsed_log, |
23 size_t index, | 23 size_t index, |
24 const rtclog::StreamConfig& config); | 24 const rtclog::StreamConfig& config); |
25 static void VerifyVideoSendStreamConfig( | 25 static void VerifyVideoSendStreamConfig(const ParsedRtcEventLog& parsed_log, |
26 const ParsedRtcEventLog& parsed_log, | 26 size_t index, |
27 size_t index, | 27 const rtclog::StreamConfig& config); |
28 const VideoSendStream::Config& config); | |
29 static void VerifyAudioReceiveStreamConfig( | 28 static void VerifyAudioReceiveStreamConfig( |
30 const ParsedRtcEventLog& parsed_log, | 29 const ParsedRtcEventLog& parsed_log, |
31 size_t index, | 30 size_t index, |
32 const AudioReceiveStream::Config& config); | 31 const AudioReceiveStream::Config& config); |
33 static void VerifyAudioSendStreamConfig( | 32 static void VerifyAudioSendStreamConfig( |
34 const ParsedRtcEventLog& parsed_log, | 33 const ParsedRtcEventLog& parsed_log, |
35 size_t index, | 34 size_t index, |
36 const AudioSendStream::Config& config); | 35 const AudioSendStream::Config& config); |
37 static void VerifyRtpEvent(const ParsedRtcEventLog& parsed_log, | 36 static void VerifyRtpEvent(const ParsedRtcEventLog& parsed_log, |
38 size_t index, | 37 size_t index, |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 83 |
85 static void VerifyProbeResultFailure(const ParsedRtcEventLog& parsed_log, | 84 static void VerifyProbeResultFailure(const ParsedRtcEventLog& parsed_log, |
86 size_t index, | 85 size_t index, |
87 uint32_t id, | 86 uint32_t id, |
88 ProbeFailureReason failure_reason); | 87 ProbeFailureReason failure_reason); |
89 }; | 88 }; |
90 | 89 |
91 } // namespace webrtc | 90 } // namespace webrtc |
92 | 91 |
93 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_UNITTEST_HELPER_H_ | 92 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_UNITTEST_HELPER_H_ |
OLD | NEW |