Activity 启动 Instrumentation 测试
和startActivity 及 startService类似
在activity中 启动Instrumentation 以便调用运行测试项目 ActivityInstrumentationTestCase2
可以尝试如下代码实现
startInstrumentation(new ComponentName("com.example.test", "android.test.InstrumentationTestRunner"), null, null);
posted on 2011-11-01 09:12 freeliver54 阅读(3425) 评论(0) 收藏 举报
浙公网安备 33010602011771号