replicant-vendor_cmsdk/tests/src/org/cyanogenmod/tests/weather/unit
Luis Vidal b25a32413c 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
2016-06-16 16:05:42 -07:00
..
CMWeatherManagerTest.java Weather API test: Wait for a bit before Mockito verifies if method was called 2016-06-16 16:05:42 -07:00
DayForecastBuilderTest.java Add Weather API test coverage 2016-04-20 10:27:10 -07:00
MockWeatherProviderService.java Provide remaining Weather API test coverage 2016-06-15 16:52:24 -07:00
ServiceRequestResultBuilderTest.java Add Weather API test coverage 2016-04-20 10:27:10 -07:00
WeatherInfoBuilderTest.java Add Weather API test coverage 2016-04-20 10:27:10 -07:00
WeatherLocationBuilderTest.java Add Weather API test coverage 2016-04-20 10:27:10 -07:00
WeatherProviderServiceTest.java Weather API test: Wait for a bit before Mockito verifies if method was called 2016-06-16 16:05:42 -07:00