CTS测试

http://source.android.com/compatibility/overview.html
android-cts-4.1_r3-linux_x86-arm.zip
android-cts-verifier-4.1_r6-linux_x86-arm.zip

1.Download the CTS and CTS media files.

2.Attach at least one device (or emulator) to your machine.

3.For CTS 2.1 R2 and beyond, setup your device (or emulator) to run the accessibility tests:

1.adb install -r android-cts/repository/testcases/CtsDelegatingAccessibilityService.apk

2.On the device, enable Settings > Accessibility > Accessibility > Delegating Accessibility Service

4.For CTS 2.3 R4 and beyond, setup your device to run the device administration tests:

1.adb install -r android-cts/repository/testcases/CtsDeviceAdmin.apk

2.On the device, enable all the android.deviceadmin.cts.* device administrators under Settings > Location & security > Select device administrators

5.For CTS 2.3 R12 and beyond, the CTS media files must be copied to the device's external storage. Check section 4.2 of the latest CTS manual for further details on copying these files:

1.Unzip the CTS Media zip file.

2.Run copy_media.sh [720x480|1280x720|1920x1080|all] [-s serial]. If no resolution is specified, the default maximum resolution of 480x360 is assumed.

6.Launch the CTS. The CTS test harness loads the test plan onto the attached devices. For each test in the test harness:

◦The test harness pushes a .apk file to each device, executes the test through instrumentation, and records test results.

◦The test harness removes the .apk file from each device.

7.Once all the tests are executed, you can view the test results in your browser and use the results to adjust your design. You can continue to run the CTS throughout your development process.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值