commit | bf69824479fbf95a653af22cee311031a6e23cfa | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Tue Feb 16 14:14:06 2021 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Thu Mar 04 23:02:40 2021 +0900 |
tree | e4b9a0f08a4fb755f183f26546afd8080f4d6b05 | |
parent | d025c562f0424381f6657aefdc6b33dbbdc2128a [diff] |
Change TetheringTest's UpstreamNetworkMonitor from mock to spy. This allows future tests that want to exercise the interactions between Tethering and UNM to do so. Also verify what happens when UNM is initialized, and in setUp, capture the NetworkCallback it files to track the default network, so tests can send it NetworkCallbacks. (This callback is only ever filed once.) Test: test-only change Change-Id: Iff9b62120cced41cc61263bfd4fa34f575d0ac00