CtsTelephonyTestCases android.telephony.cts.VisualVoicemailServiceTest#testFilter_datajava
该失败项有两个缘由,要确认清楚究竟是哪一个:android
1)bash
ModuleListener.testFailed(android.telephony.cts.VisualVoicemailServiceTest#testFilter_data,
junit.framework.ComparisonFailure: expected:<eg[@]example.com> but was:<eg[¡]example.com>
复制代码
失败缘由: 短信编码设置为8bit,config_sms_decode_gsm_8bit_data设置为true引发。测试
这是Google AOSP的设计就没有处理好CTS测试与打开8bit以后解码的矛盾。编码
2)spa
D/ModuleListener: ModuleListener.testFailed(android.telephony.cts.VisualVoicemailServiceTest#testFilter_data,
java.lang.RuntimeException: java.util.concurrent.TimeoutException
复制代码
失败缘由: SIM不能发短信,须要写过owner number的有效SIM卡,建议联通卡设计
3)code
总结: 测试该模块it
1.恢复出厂设置,链接WIFI,将location设为highio
2.打开settings\developer options\stay awake 设为on
3.设置screen lock为none
4.插入一张有效SIM卡并打开数据链接(能够打电话和发短信).