diff options
author | Luis Vidal <lvidal@cyngn.com> | 2016-06-16 15:48:41 -0700 |
---|---|---|
committer | Luis Vidal <lvidal@cyngn.com> | 2016-06-16 16:05:42 -0700 |
commit | b25a32413c96bff5ad36786e32f490cd772e70ef (patch) | |
tree | 7bbd1fea2bab3dc248f8ccde7f9f1068dee375e4 /org.cyanogenmod.platform.xml | |
parent | 3251a4506fb6cda6f8699e6abe78de06b33dc465 (diff) | |
download | vendor_cmsdk-b25a32413c96bff5ad36786e32f490cd772e70ef.zip vendor_cmsdk-b25a32413c96bff5ad36786e32f490cd772e70ef.tar.gz vendor_cmsdk-b25a32413c96bff5ad36786e32f490cd772e70ef.tar.bz2 |
Weather API test: Wait for a bit before Mockito verifies if method was called
Sometimes the runnable posted to runOnServiceThread() might run a bit
faster than the calls made to the mocked weather provider, which causes
Mockito to throw an exception. Add a timeout to instruct Mockito to
wait for a bit before it verifies if the method was actually called.
Also removed an unused variable in CMWeatherManagerTest
TICKET: CYNGNOS-3043
Change-Id: I53b6541aeb571a6c83d1c26b6723d74c3661e8cc
Diffstat (limited to 'org.cyanogenmod.platform.xml')
0 files changed, 0 insertions, 0 deletions