Adroid 4.2 CTS测试 fail项汇总
Compatibility Test Package: android.accessibilityservice
Test Result Details Solution
android.accessibilityservice.cts.AccessibilityTextTraversalTest "Reason:google豁免项
"
-- testActionNextAndPreviousAtGranularityPageOverText fail java.util.concurrent.TimeoutException: Expected event not received within: 5000 ms. at android.accessibilityservice.cts.AccessibilityActivityTestCase$AccessibilityInteractionBridge.executeCommandAndWaitForAccessibilityEvent(AccessibilityActivityTestCase.java:542)
"
Compatibility Test Package: android.core.tests.libcore.package.org"
Test Result Details Solution
org.apache.harmony.luni.tests.java.net.URLConnectionTest "Reason:google豁免项
"
-- test_getOutputStream fail junit.framework.AssertionFailedError: Got different responseCode expected:<405> but was:<200> at org.apache.harmony.luni.tests.java.net.URLConnectionTest.test_getOutputStream(URLConnectionTest.java:870)
"
Compatibility Test Package: android.hardware"
Test Result Details Solution
android.hardware.cts.CameraTest "Reason:硬件不支持对焦,但是之前驱动返回的参数是支持的 所以报错
Solution:升级版本,软件修改,把返回的参数改成不对焦"
__testFocusAreas fail junit.framework.AssertionFailedError at android.hardware.cts.CameraTest.testFocusAreas(CameraTest.java:2151)
"
Compatibility Test Package: android.app"
Test Result Details Solution
android.app.cts.SystemFeaturesTest "Solution:升级版本,软件修改,
<feature name=""android.hardware.camera.flash"" />把这个属性加到android.hardware.camera.xml里"
-- testCameraFeatures fail junit.framework.AssertionFailedError: PackageManager#hasSystemFeature should return true for android.hardware.camera.flash at android.app.cts.SystemFeaturesTest.assertAvailable(SystemFeaturesTest.java:368)
"
Compatibility Test Package: android.media"
Test Result Details Solution
android.media.cts.StreamingMediaPlayerTest
-- testHLS fail Test failed to run to completion. Reason: 'Instrumentation run failed due to 'junit.framework.AssertionFailedError''. Check device logcat for details "Reason:google豁免项
Solution&#
Compatibility Test Package: android.accessibilityservice
Test Result Details Solution
android.accessibilityservice.cts.AccessibilityTextTraversalTest "Reason:google豁免项
"
-- testActionNextAndPreviousAtGranularityPageOverText fail java.util.concurrent.TimeoutException: Expected event not received within: 5000 ms. at android.accessibilityservice.cts.AccessibilityActivityTestCase$AccessibilityInteractionBridge.executeCommandAndWaitForAccessibilityEvent(AccessibilityActivityTestCase.java:542)
"
Compatibility Test Package: android.core.tests.libcore.package.org"
Test Result Details Solution
org.apache.harmony.luni.tests.java.net.URLConnectionTest "Reason:google豁免项
"
-- test_getOutputStream fail junit.framework.AssertionFailedError: Got different responseCode expected:<405> but was:<200> at org.apache.harmony.luni.tests.java.net.URLConnectionTest.test_getOutputStream(URLConnectionTest.java:870)
"
Compatibility Test Package: android.hardware"
Test Result Details Solution
android.hardware.cts.CameraTest "Reason:硬件不支持对焦,但是之前驱动返回的参数是支持的 所以报错
Solution:升级版本,软件修改,把返回的参数改成不对焦"
__testFocusAreas fail junit.framework.AssertionFailedError at android.hardware.cts.CameraTest.testFocusAreas(CameraTest.java:2151)
"
Compatibility Test Package: android.app"
Test Result Details Solution
android.app.cts.SystemFeaturesTest "Solution:升级版本,软件修改,
<feature name=""android.hardware.camera.flash"" />把这个属性加到android.hardware.camera.xml里"
-- testCameraFeatures fail junit.framework.AssertionFailedError: PackageManager#hasSystemFeature should return true for android.hardware.camera.flash at android.app.cts.SystemFeaturesTest.assertAvailable(SystemFeaturesTest.java:368)
"
Compatibility Test Package: android.media"
Test Result Details Solution
android.media.cts.StreamingMediaPlayerTest
-- testHLS fail Test failed to run to completion. Reason: 'Instrumentation run failed due to 'junit.framework.AssertionFailedError''. Check device logcat for details "Reason:google豁免项
Solution&#