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

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -