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 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 verifier.TestMemberIsUndefined(media_stream_track.frames_per_second); | 464 verifier.TestMemberIsUndefined(media_stream_track.frames_per_second); |
465 verifier.TestMemberIsUndefined(media_stream_track.frames_sent); | 465 verifier.TestMemberIsUndefined(media_stream_track.frames_sent); |
466 verifier.TestMemberIsUndefined(media_stream_track.frames_received); | 466 verifier.TestMemberIsUndefined(media_stream_track.frames_received); |
467 verifier.TestMemberIsUndefined(media_stream_track.frames_decoded); | 467 verifier.TestMemberIsUndefined(media_stream_track.frames_decoded); |
468 verifier.TestMemberIsUndefined(media_stream_track.frames_dropped); | 468 verifier.TestMemberIsUndefined(media_stream_track.frames_dropped); |
469 verifier.TestMemberIsUndefined(media_stream_track.frames_corrupted); | 469 verifier.TestMemberIsUndefined(media_stream_track.frames_corrupted); |
470 verifier.TestMemberIsUndefined(media_stream_track.partial_frames_lost); | 470 verifier.TestMemberIsUndefined(media_stream_track.partial_frames_lost); |
471 verifier.TestMemberIsUndefined(media_stream_track.full_frames_lost); | 471 verifier.TestMemberIsUndefined(media_stream_track.full_frames_lost); |
472 // Audio-only members | 472 // Audio-only members |
473 verifier.TestMemberIsNonNegative<double>(media_stream_track.audio_level); | 473 verifier.TestMemberIsNonNegative<double>(media_stream_track.audio_level); |
474 // TODO(hbos): Find out why |echo_return_loss| and | 474 // TODO(hbos): |echo_return_loss| and |echo_return_loss_enhancement| are |
475 // |echo_return_loss_enhancement| are undefined in the integration test. | 475 // flaky on msan bot (sometimes defined, sometimes undefined). Should the |
476 // Is this a real problem or a test problem? Update test so that they are. | 476 // test run until available or is there a way to have it always be |
477 // crbug.com/627816 | 477 // defined? crbug.com/627816 |
478 verifier.TestMemberIsUndefined(media_stream_track.echo_return_loss); | 478 verifier.MarkMemberTested(media_stream_track.echo_return_loss, true); |
479 verifier.TestMemberIsUndefined( | 479 verifier.MarkMemberTested( |
480 media_stream_track.echo_return_loss_enhancement); | 480 media_stream_track.echo_return_loss_enhancement, true); |
481 } | 481 } |
482 return verifier.ExpectAllMembersSuccessfullyTested(); | 482 return verifier.ExpectAllMembersSuccessfullyTested(); |
483 } | 483 } |
484 | 484 |
485 bool VerifyRTCPeerConnectionStats( | 485 bool VerifyRTCPeerConnectionStats( |
486 const RTCPeerConnectionStats& peer_connection) { | 486 const RTCPeerConnectionStats& peer_connection) { |
487 RTCStatsVerifier verifier(report_, &peer_connection); | 487 RTCStatsVerifier verifier(report_, &peer_connection); |
488 verifier.TestMemberIsNonNegative<uint32_t>( | 488 verifier.TestMemberIsNonNegative<uint32_t>( |
489 peer_connection.data_channels_opened); | 489 peer_connection.data_channels_opened); |
490 verifier.TestMemberIsNonNegative<uint32_t>( | 490 verifier.TestMemberIsNonNegative<uint32_t>( |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 caller_ = nullptr; | 619 caller_ = nullptr; |
620 // Any pending stats requests should have completed in the act of destroying | 620 // Any pending stats requests should have completed in the act of destroying |
621 // the peer connection. | 621 // the peer connection. |
622 EXPECT_TRUE(stats_obtainer->report()); | 622 EXPECT_TRUE(stats_obtainer->report()); |
623 } | 623 } |
624 #endif // HAVE_SCTP | 624 #endif // HAVE_SCTP |
625 | 625 |
626 } // namespace | 626 } // namespace |
627 | 627 |
628 } // namespace webrtc | 628 } // namespace webrtc |
OLD | NEW |