| OLD | NEW |
| 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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 candidate_pair.local_candidate_id, RTCLocalIceCandidateStats::kType); | 365 candidate_pair.local_candidate_id, RTCLocalIceCandidateStats::kType); |
| 366 verifier.TestMemberIsIDReference( | 366 verifier.TestMemberIsIDReference( |
| 367 candidate_pair.remote_candidate_id, RTCRemoteIceCandidateStats::kType); | 367 candidate_pair.remote_candidate_id, RTCRemoteIceCandidateStats::kType); |
| 368 verifier.TestMemberIsDefined(candidate_pair.state); | 368 verifier.TestMemberIsDefined(candidate_pair.state); |
| 369 verifier.TestMemberIsNonNegative<uint64_t>(candidate_pair.priority); | 369 verifier.TestMemberIsNonNegative<uint64_t>(candidate_pair.priority); |
| 370 verifier.TestMemberIsUndefined(candidate_pair.nominated); | 370 verifier.TestMemberIsUndefined(candidate_pair.nominated); |
| 371 verifier.TestMemberIsDefined(candidate_pair.writable); | 371 verifier.TestMemberIsDefined(candidate_pair.writable); |
| 372 verifier.TestMemberIsUndefined(candidate_pair.readable); | 372 verifier.TestMemberIsUndefined(candidate_pair.readable); |
| 373 verifier.TestMemberIsNonNegative<uint64_t>(candidate_pair.bytes_sent); | 373 verifier.TestMemberIsNonNegative<uint64_t>(candidate_pair.bytes_sent); |
| 374 verifier.TestMemberIsNonNegative<uint64_t>(candidate_pair.bytes_received); | 374 verifier.TestMemberIsNonNegative<uint64_t>(candidate_pair.bytes_received); |
| 375 verifier.TestMemberIsUndefined(candidate_pair.total_round_trip_time); | 375 verifier.TestMemberIsNonNegative<double>( |
| 376 candidate_pair.total_round_trip_time); |
| 376 verifier.TestMemberIsNonNegative<double>( | 377 verifier.TestMemberIsNonNegative<double>( |
| 377 candidate_pair.current_round_trip_time); | 378 candidate_pair.current_round_trip_time); |
| 378 if (is_selected_pair) { | 379 if (is_selected_pair) { |
| 379 verifier.TestMemberIsNonNegative<double>( | 380 verifier.TestMemberIsNonNegative<double>( |
| 380 candidate_pair.available_outgoing_bitrate); | 381 candidate_pair.available_outgoing_bitrate); |
| 381 } else { | 382 } else { |
| 382 verifier.TestMemberIsUndefined(candidate_pair.available_outgoing_bitrate); | 383 verifier.TestMemberIsUndefined(candidate_pair.available_outgoing_bitrate); |
| 383 } | 384 } |
| 384 verifier.TestMemberIsUndefined(candidate_pair.available_incoming_bitrate); | 385 verifier.TestMemberIsUndefined(candidate_pair.available_incoming_bitrate); |
| 385 verifier.TestMemberIsNonNegative<uint64_t>( | 386 verifier.TestMemberIsNonNegative<uint64_t>( |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 caller_ = nullptr; | 642 caller_ = nullptr; |
| 642 // Any pending stats requests should have completed in the act of destroying | 643 // Any pending stats requests should have completed in the act of destroying |
| 643 // the peer connection. | 644 // the peer connection. |
| 644 EXPECT_TRUE(stats_obtainer->report()); | 645 EXPECT_TRUE(stats_obtainer->report()); |
| 645 } | 646 } |
| 646 #endif // HAVE_SCTP | 647 #endif // HAVE_SCTP |
| 647 | 648 |
| 648 } // namespace | 649 } // namespace |
| 649 | 650 |
| 650 } // namespace webrtc | 651 } // namespace webrtc |
| OLD | NEW |