b25a32413c
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 |
||
---|---|---|
.. | ||
res | ||
src/org/cyanogenmod/tests | ||
Android.mk | ||
AndroidManifest.xml | ||
proguard.flags | ||
README.md |
CM Platform SDK Tests
The tests package contains both functional manual tests as well as unit tests which can be ran utilizing the InstrumentationTestRunner from android.
To run the tests (on a live device):
adb shell am instrument -w org.cyanogenmod.tests/android.support.test.runner.AndroidJUnitRunner