replicant-vendor_cmsdk/tests
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
..
res cmsdk: Update iconography. 2016-01-06 11:45:15 -08:00
src/org/cyanogenmod/tests Weather API test: Wait for a bit before Mockito verifies if method was called 2016-06-16 16:05:42 -07:00
Android.mk External view test 2016-06-14 13:14:35 -07:00
AndroidManifest.xml cmsdk: Provide test coverage for remainder PartnerInterface's. 2016-06-16 13:54:13 -07:00
proguard.flags External view test 2016-06-14 13:14:35 -07:00
README.md cmsdk: Add concept of parameterized BinderIdTransactionTest. 2016-02-05 13:52:31 -08:00

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