summaryrefslogtreecommitdiff
path: root/tests/unit/java/android/net/NetworkStatsTest.java
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2021-06-15 16:05:56 +0900
committerRemi NGUYEN VAN <reminv@google.com>2021-06-16 17:53:08 +0900
commitc9c745f2f2fd819247edc2228ce5d80e21e09e38 (patch)
tree45cd9bf5c9927d94f7424c4b3ccb2161d2b6a326 /tests/unit/java/android/net/NetworkStatsTest.java
parent18a979fa413534005ad28441b682195848949aa0 (diff)
Make tests compatible with mockito-extended
This does not change the mockito library to use mockito-extended in FrameworksNetTests, but changes the tests so that they would pass if built against that library. This is useful to run FrameworksNetTests in a common test suite with other tests that use mockito-extended, for example a common connectivity coverage test target. The change includes increasing the test timeout in ConnectivityServiceTest, as mockito-extended can have performance impact (~3 times on hwasan builds). This change does not make tests run slower in the current FrameworksNetTests suite though. Bug: 187935317 Test: atest FrameworksNetTests Change-Id: I61fa371e8957037075a2617a014647ff062207c6
Diffstat (limited to 'tests/unit/java/android/net/NetworkStatsTest.java')
0 files changed, 0 insertions, 0 deletions