summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/NetworkCapabilitiesTest.java
diff options
context:
space:
mode:
authorChalard Jean <jchalard@google.com>2021-10-25 18:20:33 +0900
committerChalard Jean <jchalard@google.com>2021-11-01 16:30:56 +0900
commit21f4f70d468a1cd84d6cd367ae5d35093ce5be47 (patch)
tree2245d6ef2fc32da21534f9a0fdb819717340a894 /tests/common/java/android/net/NetworkCapabilitiesTest.java
parentadcec9ebbe11360588ec3cf0beeee144de6fa680 (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