android_packages_modules_Co.../tests/unit/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Remi NGUYEN VAN ad8f23fef4 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
Original-Change: https://android-review.googlesource.com/1737400
Merged-In: I61fa371e8957037075a2617a014647ff062207c6
Change-Id: I61fa371e8957037075a2617a014647ff062207c6
2021-07-02 01:59:56 +00:00
..
connectivity Make tests compatible with mockito-extended 2021-07-02 01:59:56 +00:00
net Merge "Partial cherry-pick to remove IoUtils#deleteContents usage in FrameworksNetTests" into sc-dev 2021-06-29 08:12:04 +00:00
ConnectivityServiceTest.java Make tests compatible with mockito-extended 2021-07-02 01:59:56 +00:00
IpSecServiceParameterizedTest.java Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
IpSecServiceRefcountedResourceTest.java Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
IpSecServiceTest.java Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
LegacyTypeTrackerTest.kt Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
NetIdManagerTest.kt Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
NetworkManagementServiceTest.java Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
NsdServiceTest.java Fix the comments from aosp/1719018 2021-06-23 09:55:11 +00:00