junit - cannot run android unit test if I set the shareduserId as "android.uid.system" -
i got problem when running test target package's shareduserid "android.uid.system"
when type in shell
adb shell instrument -w -e class com.lewa.security2.holder.clearanceholdertest com.lewa.dunit.test/android.test.instrumentationtestrunner
it never return result.
but when remove "android.uid.system", works
can 1 me ?
a unit test in android need run after kill application. applicaions shareduid android.uid.system
cannot killed in way. so,you need force close application before run unit tests.
Comments
Post a Comment