diff options
| author | Remi NGUYEN VAN <reminv@google.com> | 2021-08-03 11:40:10 +0900 |
|---|---|---|
| committer | Remi NGUYEN VAN <reminv@google.com> | 2021-08-03 12:43:57 +0900 |
| commit | 5d67667e9b96270131df610c676060e7dfc1c53f (patch) | |
| tree | 9a46060c6503492236895fd5756c8d1def41f7b5 /tests/common/java/android/net/NetworkCapabilitiesTest.java | |
| parent | 44021f4a17636026528c1ca4089a0c1e3d08b980 (diff) | |
Do not use mockito to create HttpURLConnection
Instead, use a dedicated MockConnection class.
This should improve performance of the test, and works around failures
where mockito crashes when creating mocks when openConnection is called.
The failures are believed to be a bug in mockito-extended, but are not
likely to be fixed soon.
Bug: 185083316
Test: atest FrameworksNetIntegrationTests
Change-Id: I32deaaaaa5ce9876611314c8e8b9d8bdd6325df0
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions
