commit | 21f4f70d468a1cd84d6cd367ae5d35093ce5be47 | [log] [tgz] |
---|---|---|
author | Chalard Jean <jchalard@google.com> | Mon Oct 25 18:20:33 2021 +0900 |
committer | Chalard Jean <jchalard@google.com> | Mon Nov 01 16:30:56 2021 +0900 |
tree | 2245d6ef2fc32da21534f9a0fdb819717340a894 | |
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