diff options
| author | Chalard Jean <jchalard@google.com> | 2021-10-25 18:20:33 +0900 |
|---|---|---|
| committer | Chalard Jean <jchalard@google.com> | 2021-11-01 16:30:56 +0900 |
| commit | 21f4f70d468a1cd84d6cd367ae5d35093ce5be47 (patch) | |
| tree | 2245d6ef2fc32da21534f9a0fdb819717340a894 /tests/common/java/android/net/NetworkCapabilitiesTest.java | |
| parent | adcec9ebbe11360588ec3cf0beeee144de6fa680 (diff) | |
Replace mDeps with a custom object
Mockito's mocks are not thread-safe. The dependencies object
is used both on the test thread (to set it up) and in the CS
handler thread. This can't work with a mock.
Bug: 195626111
Test: ConnectivityServiceTest
Change-Id: Ia989dd71c3133513a90bc1d1957419fb1b74c300
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions
