android_packages_modules_Co.../tests/unit/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chalard Jean 6519c179bd Fix a flake with mocking.
The hypothesis here is that some other thread is using
the mock between the call to when() and the call to
.thenReturn() a few lines above the failure. It's not
clear this is really the reason, but using this syntax
is safer anyway, so whether it fixes the issue or not
this is a good change.

Test: m FrameworksNetTests
Change-Id: I501d2ec8e794c67a53d7c84e290e4cc63481472d
2021-07-12 15:30:21 +09:00
..
connectivity Listen EXTERNAL_APPLICATIONS_AVAILABLE intent 2021-07-02 22:35:26 +08:00
net Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
ConnectivityServiceTest.java Fix a flake with mocking. 2021-07-12 15:30:21 +09:00
IpSecServiceParameterizedTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
IpSecServiceRefcountedResourceTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
IpSecServiceTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
LegacyTypeTrackerTest.kt Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
NetIdManagerTest.kt Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
NetworkManagementServiceTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
NsdServiceTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00