mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-16 15:20:42 +01:00
![]() AndroidNetworkMonitor::SetNetworkInfos assumes this method is called only once, but unittests calls it twice. One is called by the startMonitoring Java method, and the other is called by each test. Because of this, these tests will not succeed if dcheck_always_on is true. To solve this problem, use OnNetworkConnected_n instead of SetNetworkInfos in each test. Bug: None Change-Id: I027706ad5ccd597a91e3a66f15e181ee22d4aaa9 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/285861 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Jonas Oreland <jonaso@webrtc.org> Commit-Queue: Daniel.L (Byoungchan) Lee <daniel.l@hpcnt.com> Cr-Commit-Position: refs/heads/main@{#38798} |
||
---|---|---|
.. | ||
audio_device | ||
codecs | ||
org/webrtc | ||
peerconnection | ||
stacktrace | ||
video | ||
android_network_monitor_unittest.cc | ||
application_context_provider.cc | ||
application_context_provider.h | ||
DEPS | ||
java_types_unittest.cc | ||
test_jni_onload.cc |