![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android CTS测试
buggly
Nothing in the world can replace the stick
展开
-
android.media.cts.EncodeDecodeTest -- testVP8EncodeDecodeVideoFromPersistentSurfaceToSurfaceQCIF
android.media.cts.EncodeDecodeTest – testVP8EncodeDecodeVideoFromPersistentSurfaceToSurfaceQCIF failjunit.framework.AssertionFailedError: Found 29 bad frames at junit.framework.Assert.fail(Assert.jav原创 2017-01-19 16:06:22 · 1483 阅读 · 0 评论 -
android.cts.security.SELinuxNeverallowRulesTest --testNeverallowRulesXXX
android.cts.security.SELinuxNeverallowRulesTest –testNeverallowRulesXXX [DESCRIPTION]若有自行修改Sepolicy导致违反Google的Neverallow rule,CTS 将fail。比如: android.cts.security.SELinuxNeverallowRulesTest#testNevera原创 2017-01-19 14:50:35 · 3285 阅读 · 0 评论 -
android.cts.security.SELinuxNeverallowRulesTest#testNeverallowRules**
[DESCRIPTION]若有自行修改Sepolicy导致违反Google的Neverallow rule,CTS 将fail。比如:android.cts.security.SELinuxNeverallowRulesTest#testNeverallowRules110 FAILjunit.framework.AssertionFailedError: The following errors原创 2016-11-26 15:00:05 · 3895 阅读 · 0 评论 -
android.permission.cts.DebuggableTest -- testNoDebuggable
错误log: junit.framework.AssertionFailedError: Package xxx.xxx.xxx.xxx is marked as debuggable. at android.permission.cts.DebuggableTest.testNoDebuggable(DebuggableTest.java:38) 原因 : – Apk which con原创 2016-10-28 16:39:27 · 2109 阅读 · 0 评论 -
android.media.cts.CamcorderProfileTest -- testGetWithId
[DESCRIPTION] 使用不在SensorAvailable List中的YUV sensor 时,或者改动feature table 配置之后 CTS fail issue: Camera CTS通不过 testGeWithId(android.media.cts.CamcorderProfileTest) [ANALYSE] 从log中看,不支持352x288 的vide原创 2016-10-28 16:33:30 · 2600 阅读 · 0 评论 -
gtx com.google.android.xts.permissions.DefaultPermissionGrantPolicyTest -- testDefaultGrants fail
com.google.android.xts.permissions.DefaultPermissionGrantPolicyTest – testDefaultGrants 在xtsTestResult.xml文件中查看result=“fail”项会报一些权限的问题 junit.framework.AssertionFailedError: Permission:android.permis原创 2016-07-29 16:00:24 · 5227 阅读 · 2 评论 -
com.android.cts.devicepolicy.ManagedProfileTest -- testAppLinks
com.android.cts.devicepolicy.ManagedProfileTest – testAppLinksjunit.framework.AssertionFailedError at junit.framework.Assert.fail(Assert.java:48)10-11 11:56:14 I/BaseDevicePolicyTest: Test com.androi原创 2016-10-13 16:50:50 · 2517 阅读 · 0 评论 -
testAllSystemAppsUsingRuntimePermissionsTargetMncAndAboveSdk
com.google.android.xts.permissions.InitialRuntimePermissionStateTest – testAllSystemAppsUsingRuntimePermissionsTargetMncAndAboveSdk 日志信息如下:junit.framework.AssertionFailedError: testAllSystemAppsUsing原创 2016-08-13 14:39:02 · 2593 阅读 · 0 评论 -
com.google.android.xts.location.LocationHostTest--testSetting fail
com.google.android.xts.location.LocationHostTest –testSetting failjunit.framework.AssertionFailedError: com.google.android.xts.location.InjectedSettingTestCase.testSetting failed.at junit.framework.A原创 2016-09-14 11:52:27 · 1584 阅读 · 0 评论 -
com.android.cts.appsecurity.AppSecurityTests#testAppFailAccessPrivateData fail
com.android.cts.appsecurity.AppSecurityTests –testAppFailAccessPrivateData failjava.lang.AssertionError: on-device tests failed:com.android.cts.appaccessdata.AccessPrivateDataTest#testAccessPrivateDa原创 2016-09-14 11:46:43 · 3274 阅读 · 0 评论 -
com.google.android.xts.devicepolicy.DeviceOwnerTest--testUserManagement fail
com.google.android.xts.devicepolicy.DeviceOwnerTest–testUserManagement failDear Customer, 如果支持多用户的,请参照如下修改.此问题我们没有patch.请自行修改再验证. 找到frameworks/base/services/core/java/com/android/server/am/ActivityMa原创 2016-09-14 11:26:47 · 1287 阅读 · 0 评论 -
CTS测试相关
最近刚接触CTS测试,总结了一些知识点,与大家分享。 第一章 CTS简介 谷歌CTS, 英文为Compatibility Test Suite,意思就是兼容性测试,Android手机设备需要通过google的兼容性测试,以确保在android上开发的程序在手机上都能很好的运行。如果想要使用Google服务必须要通过CTS测试谷歌GMS认证,当然国内是享受不到google服务的,平时我们测试的时候原创 2016-07-29 14:27:35 · 4230 阅读 · 1 评论 -
cts 测试中需要前置条件才能pass的fail项解决方案
com.android.cts.browser.BrowserBenchTest – testOctane fail 原因:如果你的手机有两个浏览器,且没有设置默认的浏览器,在测试过程中会有选择,所以fail 解决方案:在测试的过程中手动选择即可。org.apache.harmony.tests.java.net.InetAddressTest –test_isRea原创 2016-07-29 16:30:21 · 3848 阅读 · 1 评论 -
cts android.bluetooth.cts.BluetoothLeScanTest --testBasicBleScan fail
cts测试时出现这个fail项,可以在另一台机器上安装TxEddystone-UID-release-1.0.0.apk这个应用后打开就可以pass 我的百度云盘地址:http://pan.baidu.com/s/1miEoLqo原创 2016-07-29 15:50:22 · 2700 阅读 · 3 评论 -
cts android.hardware.camera2.cts.RecordingTest --testBasicRecording fail
android.hardware.camera2.cts.RecordingTest – testBasicRecording fail junit.framework.AssertionFailedError: Frame rate range [20, 20] (for profile ID 2) must be one of the camera device available FPS原创 2016-07-29 15:34:44 · 4007 阅读 · 0 评论 -
gts-5.0_r1新工具
GTS5.0适用于O平台,不适用于N平台及N以下平台但目前得到GMS最新消息称,送测的软件必须同时通过GTS 5.0 beta的如下三条case。 run gts –include-filter GtsPackageNameCertPairsDeviceTestCases –include-filter GtsInstallPackagesWhitelistDeviceTestCases –inc原创 2017-08-25 17:50:26 · 1711 阅读 · 3 评论