摘要: 一、CTS添加新测试用例:前言:google源代码中的cts测试用例集目录为:source_android4.2/cts/tests/tests/ (source_android4.2表示android4.2代码存放路径),该目录下有一个测试用例集example文件夹;下面就以这个用例集为例,讲述怎样编写自己的cts测试用例集;结构如下:example├── AndroidManifest.xml├── Android.mk└── src └── android └── example ├── cts步骤:1、 在cts/tests/tests/目录下创建一个自己的用例集(文件夹)名称XXX; 阅读全文
posted @ 2013-11-13 16:34 为自由奋斗 阅读(1656) 评论(0) 推荐(0) 编辑
摘要: 例子:@echo offset /a i=1:cadb connect 192.168.1.109&ping -n 1 123.45.67.89 -w 10000>nulif %%i==%%i goto c说明:上面红色部分就是“休眠时间”的代码;ping参数说明: -n count 要发送的回显请求数。-w timeout 等待每次回复的超时时间(毫秒)。 阅读全文
posted @ 2013-11-13 16:32 为自由奋斗 阅读(3875) 评论(0) 推荐(0) 编辑