replicant-vendor_cmsdk/tests
Adnan Begovic eafcdbd229 cmsdk: Create Concierge parcel handler concept.
Simply, Concierge handles your parcels and makes sure they
  get marshalled and unmarshalled correctly when cross IPC
  boundaries even when there is a version mismatch between the client
  sdk level and the framework implementation.

 On incoming parcel (to be unmarshalled):
     ParcelInfo incomingParcelInfo = Concierge.receiveParcel(incomingParcel);
     int parcelableVersion = incomingParcelInfo.getParcelVersion();

     // Do unmarshalling steps here iterating over every plausible version

     // Complete the process
     incomingParcelInfo.complete();

 On outgoing parcel (to be marshalled):
     ParcelInfo outgoingParcelInfo = Concierge.prepareParcel(incomingParcel);

     // Do marshalling steps here iterating over every plausible version

     // Complete the process
     outgoingParcelInfo.complete();

Change-Id: I0096851e08ce25908e19e39e6bc4af344e85725e
2016-03-31 17:58:11 -07:00
..
res cmsdk: Update iconography. 2016-01-06 11:45:15 -08:00
src/org/cyanogenmod/tests cmsdk: Create Concierge parcel handler concept. 2016-03-31 17:58:11 -07:00
Android.mk cmsdk: Strip unused cmsdk members for codecoverage. 2016-03-04 15:24:26 -08:00
AndroidManifest.xml cmsdk: Add PerformanceManager tests, Change target permission. 2016-03-08 09:24:34 -08:00
proguard.flags cmsdk: Keep generated java classes from aidl interfaces. 2016-03-08 09:24:32 -08: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