Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Side by Side Diff: webrtc/api/rtcstats_integrationtest.cc

Issue 2558293002: RTCIceCandidatePairStats.consentRequestsSent set by RTCStatsCollector. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/api/rtcstatscollector.cc » ('j') | webrtc/api/rtcstatscollector.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright 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
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 verifier.TestMemberIsDefined(candidate_pair.current_rtt); 338 verifier.TestMemberIsDefined(candidate_pair.current_rtt);
339 verifier.TestMemberIsUndefined(candidate_pair.available_outgoing_bitrate); 339 verifier.TestMemberIsUndefined(candidate_pair.available_outgoing_bitrate);
340 verifier.TestMemberIsUndefined(candidate_pair.available_incoming_bitrate); 340 verifier.TestMemberIsUndefined(candidate_pair.available_incoming_bitrate);
341 verifier.TestMemberIsUndefined(candidate_pair.requests_received); 341 verifier.TestMemberIsUndefined(candidate_pair.requests_received);
342 verifier.TestMemberIsDefined(candidate_pair.requests_sent); 342 verifier.TestMemberIsDefined(candidate_pair.requests_sent);
343 verifier.TestMemberIsDefined(candidate_pair.responses_received); 343 verifier.TestMemberIsDefined(candidate_pair.responses_received);
344 verifier.TestMemberIsDefined(candidate_pair.responses_sent); 344 verifier.TestMemberIsDefined(candidate_pair.responses_sent);
345 verifier.TestMemberIsUndefined(candidate_pair.retransmissions_received); 345 verifier.TestMemberIsUndefined(candidate_pair.retransmissions_received);
346 verifier.TestMemberIsUndefined(candidate_pair.retransmissions_sent); 346 verifier.TestMemberIsUndefined(candidate_pair.retransmissions_sent);
347 verifier.TestMemberIsUndefined(candidate_pair.consent_requests_received); 347 verifier.TestMemberIsUndefined(candidate_pair.consent_requests_received);
348 verifier.TestMemberIsUndefined(candidate_pair.consent_requests_sent); 348 verifier.TestMemberIsDefined(candidate_pair.consent_requests_sent);
349 verifier.TestMemberIsUndefined(candidate_pair.consent_responses_received); 349 verifier.TestMemberIsUndefined(candidate_pair.consent_responses_received);
350 verifier.TestMemberIsUndefined(candidate_pair.consent_responses_sent); 350 verifier.TestMemberIsUndefined(candidate_pair.consent_responses_sent);
351 return verifier.ExpectAllMembersSuccessfullyTested(); 351 return verifier.ExpectAllMembersSuccessfullyTested();
352 } 352 }
353 353
354 bool VerifyRTCIceCandidateStats( 354 bool VerifyRTCIceCandidateStats(
355 const RTCIceCandidateStats& candidate) { 355 const RTCIceCandidateStats& candidate) {
356 RTCStatsVerifier verifier(report_, &candidate); 356 RTCStatsVerifier verifier(report_, &candidate);
357 verifier.TestMemberIsDefined(candidate.ip); 357 verifier.TestMemberIsDefined(candidate.ip);
358 verifier.TestMemberIsDefined(candidate.port); 358 verifier.TestMemberIsDefined(candidate.port);
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 TEST_F(RTCStatsIntegrationTest, GetStatsFromCallee) { 529 TEST_F(RTCStatsIntegrationTest, GetStatsFromCallee) {
530 StartCall(); 530 StartCall();
531 531
532 rtc::scoped_refptr<const RTCStatsReport> report = GetStatsFromCallee(); 532 rtc::scoped_refptr<const RTCStatsReport> report = GetStatsFromCallee();
533 RTCStatsReportVerifier(report.get()).VerifyReport(); 533 RTCStatsReportVerifier(report.get()).VerifyReport();
534 } 534 }
535 535
536 } // namespace 536 } // namespace
537 537
538 } // namespace webrtc 538 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/rtcstatscollector.cc » ('j') | webrtc/api/rtcstatscollector.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698