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

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

mysqli - Php Mysqli_fetch_assoc Error : "Warning: Illegal string offset 'name' in" -

javascript - Chart.js - setting tooltip z-index -