summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/NetworkCapabilitiesTest.java
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2021-08-03 11:40:10 +0900
committerRemi NGUYEN VAN <reminv@google.com>2021-08-03 12:43:57 +0900
commit5d67667e9b96270131df610c676060e7dfc1c53f (patch)
tree9a46060c6503492236895fd5756c8d1def41f7b5 /tests/common/java/android/net/NetworkCapabilitiesTest.java
parent44021f4a17636026528c1ca4089a0c1e3d08b980 (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