Android 4.0 CTS
来源:互联网 发布:软件开发的难度 编辑:程序博客网 时间:2024/06/02 02:15
大体步骤:
- 从这里下载CTS包
- 确保Android SDK已经安装好,adb命令已经添加到系统路径$PATH
- 参考google CTS Guide配置主机和设备;//这里说明的很详细
- 连上ADB;
- 启动CTS;
- 切换到android-cts目录,这个目录在第1步骤下载后的包里;
- 运行下面命令进入cts控制台
android-cts$ ./tools/cts-tradefed - 在cts控制台下
下面命令是,罗列出有效的测试计划:
cts-tf > list p
测试特定的测试计划
run cts --plan <test plan name>
当所有的测试执行完毕后,可以通过浏览器()察看[android-cts/repository/results/<session-name>/testResult.xml]这个目录下的测试报告,以便根据结果调整开发设计方案;
刚开始了解Android CTS,感觉挺好,网上查了很多的资料,
下面是在beagleboard-xm板子上跑完run cts --plan CTS的报告,在我的系统上跑了两天两夜才跑完,板子有许多模块也没有,有很多fail这是理所当然,这里只是学习一下android的CTS。
Device InformationTest Summary
Build ModelOMAP3EVMBuild NamebeagleboardBuild BrandAndroidBuild ManufacturerTexas_Instruments_IncDevice IDunknownFirmware Version4.0.3Firmware Build NumberIML74KBuild FingerprintAndroid/beagleboard/beagleboard:4.0.3/IML74K/eng.kimi.20120423.112542:eng/test-keysBuild ABIarmeabi-v7aBuild ABI2armeabiAndroid Platform Version15Supported Localesen_US ca da fa ja nb de af bg th
fi hi vi sk uk el nl pl sl tl
am rm in ko ro ar fr hr sr tr
cs es ms it lt pt hu ru zu lv
sv iw sw en_CA uk_UA en_GB in_ID ar_EG en_SG th_TH
fi_FI sl_SI sk_SK zh_CN hi_IN vi_VN ro_RO hr_HR ca_ES sr_RS
en_US es_US lt_LT pt_PT en_AU hu_HU lv_LV zh_TW en_NZ fr_CA
af_ZA zu_ZA nl_BE fr_BE de_DE sv_SE bg_BG de_CH rm_CH fr_CH
it_CH tl_PH de_LI da_DK iw_IL nl_NL pl_PL nb_NO ja_JP pt_BR
fr_FR el_GR fa_IR ko_KR tr_TR es_ES de_AT am_ET it_IT ru_RU
ms_MY cs_CZ sw_TZ en Screen Size0x4Resolution1024x720Density1.0 (mdpi)Phone numbernullX dpi288.99554Y dpi361.24442TouchnotouchNavigationnonavKeypadnokeysNetwork IMEInullIMSInullOpen GL ES VersionNo feature for Open GL ES version.Open GL Compressed Texture Formats
[_] android.hardware.bluetooth
[_] android.hardware.camera
[_] android.hardware.camera.autofocus
[_] android.hardware.camera.flash
[_] android.hardware.camera.front
[_] android.hardware.faketouch
[_] android.hardware.faketouch.multitouch.distinct
[_] android.hardware.faketouch.multitouch.jazzhand
[_] android.software.live_wallpaper
[_] android.hardware.location
[_] android.hardware.location.gps
[_] android.hardware.location.network
[_] android.hardware.microphone
[_] android.hardware.nfc
[_] android.hardware.screen.landscape
[_] android.hardware.screen.portrait
[_] android.hardware.sensor.accelerometer
[_] android.hardware.sensor.barometer
[_] android.hardware.sensor.compass
[_] android.hardware.sensor.gyroscope
[_] android.hardware.sensor.light
[_] android.hardware.sensor.proximity
[_] android.software.sip
[_] android.software.sip.voip
[_] android.hardware.telephony
[_] android.hardware.telephony.cdma
[_] android.hardware.telephony.gsm
[_] android.hardware.touchscreen
[_] android.hardware.touchscreen.multitouch
[_] android.hardware.touchscreen.multitouch.distinct
[_] android.hardware.touchscreen.multitouch.jazzhand
[_] android.hardware.usb.accessory
[_] android.hardware.usb.host
[_] android.hardware.wifi
[_] android.hardware.wifi.directOther Features
fi hi vi sk uk el nl pl sl tl
am rm in ko ro ar fr hr sr tr
cs es ms it lt pt hu ru zu lv
sv iw sw en_CA uk_UA en_GB in_ID ar_EG en_SG th_TH
fi_FI sl_SI sk_SK zh_CN hi_IN vi_VN ro_RO hr_HR ca_ES sr_RS
en_US es_US lt_LT pt_PT en_AU hu_HU lv_LV zh_TW en_NZ fr_CA
af_ZA zu_ZA nl_BE fr_BE de_DE sv_SE bg_BG de_CH rm_CH fr_CH
it_CH tl_PH de_LI da_DK iw_IL nl_NL pl_PL nb_NO ja_JP pt_BR
fr_FR el_GR fa_IR ko_KR tr_TR es_ES de_AT am_ET it_IT ru_RU
ms_MY cs_CZ sw_TZ en Screen Size0x4Resolution1024x720Density1.0 (mdpi)Phone numbernullX dpi288.99554Y dpi361.24442TouchnotouchNavigationnonavKeypadnokeysNetwork IMEInullIMSInullOpen GL ES VersionNo feature for Open GL ES version.Open GL Compressed Texture Formats
- GL_OES_compressed_paletted_texture
- GL_OES_compressed_ETC1_RGB8_texture
- GL_IMG_texture_compression_pvrtc
[_] android.hardware.bluetooth
[_] android.hardware.camera
[_] android.hardware.camera.autofocus
[_] android.hardware.camera.flash
[_] android.hardware.camera.front
[_] android.hardware.faketouch
[_] android.hardware.faketouch.multitouch.distinct
[_] android.hardware.faketouch.multitouch.jazzhand
[_] android.software.live_wallpaper
[_] android.hardware.location
[_] android.hardware.location.gps
[_] android.hardware.location.network
[_] android.hardware.microphone
[_] android.hardware.nfc
[_] android.hardware.screen.landscape
[_] android.hardware.screen.portrait
[_] android.hardware.sensor.accelerometer
[_] android.hardware.sensor.barometer
[_] android.hardware.sensor.compass
[_] android.hardware.sensor.gyroscope
[_] android.hardware.sensor.light
[_] android.hardware.sensor.proximity
[_] android.software.sip
[_] android.software.sip.voip
[_] android.hardware.telephony
[_] android.hardware.telephony.cdma
[_] android.hardware.telephony.gsm
[_] android.hardware.touchscreen
[_] android.hardware.touchscreen.multitouch
[_] android.hardware.touchscreen.multitouch.distinct
[_] android.hardware.touchscreen.multitouch.jazzhand
[_] android.hardware.usb.accessory
[_] android.hardware.usb.host
[_] android.hardware.wifi
[_] android.hardware.wifi.directOther Features
- ueventd
- rild
- sh
- adbd
- sh
- logcat
- logcat
- adbd
- netd
- adbd
- adbd
- adbd
- sh
- logcat
- sh
- logcat
- sh
- app_process
- adbd
Filesystem Size Used Free Blksize / 3G 285M 3G 4096 / 3G 285M 3G 4096 /dev 119M 44K 119M 4096 /part-3 3G 109M 3G 4096 /mnt/asec 119M 0K 119M 4096 /mnt/obb 119M 0K 119M 4096 /mnt/sdcard 3G 109M 3G 4096System Libraries
- android.test.runner
- com.android.location.provider
- javax.obex
通过这次研究CTS,大概可以总结出以下几点:
1. CTS是android自动化测试的核心;
2. 对底层开发人员也有好处,它可以对android系统的单一package进行测试,如:android:media对多媒体进行压力测试;
run cts --package android:media
3. 开发人员可以自己编写cts 测试用例程序;4. 官方提供有CCD,里面描述了android标准一些规格;
注:以上均为个人学习时总结出来的,并不在实际工作中得到验证过,会存在不足的地方。一切都以官方为准哈。
- Android 4.0 CTS step
- Android 4.0 CTS
- android 4.0 cts
- Android 4.0 CTS Debug
- android 4.0 cts
- Android 4.0 CTS Debug
- Android 4.0.3 CTS 测试
- Android 4.0.3 CTS 测试
- Android 4.0.3 CTS 测试
- Android 4.0.3 CTS 测试
- Android CTS
- Android CTS
- Android CTS
- Android CTS
- android CTS
- Android CTS
- 在windows上运行Android 4.0CTS
- Android CTS测试(2.2 2.3 4.0 4.1)
- Linux lsof命令详解
- mapreduce源码分析之Reduce任务的运行
- 数据结构及算法相关文章索引(持续更新)
- OTSU算法提取图像阈值的C语言实现
- 递归
- Android 4.0 CTS
- 套接字编程中,recv error:bad file descriptor
- UESTC Training for Data Structures(总结)
- hdu 1964 Pipes
- java正则表达式
- bootmem allocator
- UESTC Training for Data Structures——A
- 用mysqlslap对MySQL进行压力测试
- Hibernate入门