qileilove

blog已经转移至github,大家请访问 http://qaseven.github.io/

 1.在AndroidManifest清单文件中进行配置

 1.在AndroidManifest清单文件中进行配置
<application
android:allowBackup="true"
android:debuggable="true" >
<!--配置资源包-->
<uses-library android:name="android.test.runner" />
</application>
<!-- 配置要进行单元测试的包targetPackage-->
<instrumentation
android:name="android.test.InstrumentationTestRunner"
android:label="My Text"
android:targetPackage="edu.qust.text" >
</instrumentation>
  2.定义一个继承自AndroidTestCase的测试类
public class Text extend AndroidTestCase{
public void testAdd throws Exception{
}
}

posted on 2014-02-21 11:13 顺其自然EVO 阅读(1044) 评论(0)  编辑  收藏 所属分类: android


只有注册用户登录后才能发表评论。


网站导航:
 
<2014年2月>
2627282930311
2345678
9101112131415
16171819202122
2324252627281
2345678

导航

统计

常用链接

留言簿(55)

随笔分类

随笔档案

文章分类

文章档案

搜索

最新评论

阅读排行榜

评论排行榜