在Activity中使用
startInstrumentation(new ComponentName( "com.syl.Camera.test","android.test.InstrumentationTestRunner"), null,null)
可启动Instrumentation来进行测试,ComponentName中分别为完整的包名,和manifest中定义的Instrumentation的name。
在Activity中使用
startInstrumentation(new ComponentName( "com.syl.Camera.test","android.test.InstrumentationTestRunner"), null,null)
可启动Instrumentation来进行测试,ComponentName中分别为完整的包名,和manifest中定义的Instrumentation的name。