Loading...

adb shell am instrument -e coverage true -w com.android.example.spinner.test/android.test.InstrumentationTestRunner

adb pull /data/data/com.android.example.spinner/files/coverage.ec

java -cp external/emma/lib/emma.jar emma report -r html -in coverage.ec -sp ./development/samples/Spinner/src -in out/target/common/obj/APPS/Spinner_intermediates/coverage.em

emulator -system system.img  -data userdata.img  -ramdisk ramdisk.img  -verbose -show-kernel -sdcard sd.img  -sysdir . -kernel ~/tmp/android-sdk-linux_x86/platforms/android-10/images/kernel-qemu  -skindir android-sdk-linux_x86/platforms/android-10/skins -skin WVGA800

emulator -system system.img  -data userdata.img  -ramdisk ramdisk.img  -verbose -show-kernel -sdcard sd.img  -sysdir . -kernel android-sdk-linux_x86/platforms/android-10/images/kernel-qemu  -memory 256 -partition-size 128

java -cp external/emma/lib/emma.jar emma report -r html -in coverage.ec -sp ./development/samples/Spinner/src -in out/target/common/obj/APPS/Spinner_intermediates/coverage.em
adb shell monkey -p com.android.example.spinner -v -v -v 10
Loading...