GTS testcase fail in BusinessLogicTestCase

问题描述

 有一些GTS testcase fail在BusinessLogicTestCase中,这类问题跟testcase本身关系不大,由于获取不到这部分的源代码,所以也无法分析,例如:

04-11 11:44:14.053 10304 10320 I TestRunner: started: testClient(com.google.android.comms.RcsCompliantTests)
04-11 11:44:14.749 10304 10320 I Finding business logic for test case: : com.google.android.comms.RcsCompliantTests#testClient
04-11 11:44:14.750 10304 10320 D BusinessLogicExecutor: Executing condition: com.android.xts.common.util.GmsUtil.isCnGmsBuild()
04-11 11:44:14.752 10304 10320 D BusinessLogicExecutor: Executing condition: com.android.xts.common.util.GmsUtil.hasGmsCore()
04-11 11:44:14.755 10304 10320 D BusinessLogicExecutor: Executing condition: com.android.compatibility.common.util.ApiLevelUtil.isAfter(O)
04-11 11:44:14.756 10304 10320 D BusinessLogicExecutor: Executing condition: com.android.compatibility.common.util.FeatureUtil.hasSystemFeature(android.hardware.telephony)
04-11 11:44:14.758 10304 10320 D BusinessLogicExecutor: Executing action: com.google.android.comms.RcsCompliantTests.addRcsCompliantClients(com.google.android.apps.messaging CC:75:52:6D:6C:0F:80:AC:3B:3A:84:EB:44:83:84:40:DB:BE:6B:12:44:43:A7:C7:D7:BD:19:18:2A:C0:22:C9 0, com.samsung.android.messaging 34:DF:0E:7A:9F:1C:F1:89:2E:45:C0:56:B4:97:3C:D8:1C:CF:14:8A:40:50:D1:1A:EA:4A:C5:A6:5F:90:0A:42 0, com.android.mms 42:74:24:3D:7A:95:4A:C6:48:28:66:F0:CC:67:CA:18:43:CA:94:D6:8A:0E:E5:3F:83:7D:67:40:A8:13:44:21 70045909, com.motorola.summit.rcs 71:3F:E9:CC:7E:E0:32:C8:F0:85:31:11:00:01:F6:28:28:90:F0:33:B9:91:7C:ED:DA:FD:DC:97:5E:24:F1:E0 10100026)
04-11 11:44:14.758 10304 10320 D BusinessLogicExecutor: Executing condition: com.google.android.comms.RcsCompliantTests.testIfApprovedMessagingClientInstalled()
04-11 11:44:14.761 10304 10320 D BusinessLogicExecutor: Executing action: com.google.android.comms.RcsCompliantTests.failTest(UP compatible message client is not preloaded)
04-11 11:44:14.764 10304 10320 I TestRunner: failed: testClient(com.google.android.comms.RcsCompliantTests)
04-11 11:44:14.764 10304 10320 I TestRunner: ----- begin exception -----
04-11 11:44:14.765 10304 10320 I TestRunner: java.lang.RuntimeException: UP compatible message client is not preloaded
04-11 11:44:14.765 10304 10320 I TestRunner:     at org.junit.Assert.fail(Assert.java:88)
04-11 11:44:14.765 10304 10320 I TestRunner:     at com.android.compatibility.common.util.BusinessLogicTestCase.failTest(BusinessLogicTestCase.java:117)

解决方案

 此类问题请厂商通过自己的Google 3PL(3rd party laboratory)反馈给Google解决。ODM请反馈给厂商的3PL,再由3PL反馈给Google解决。

作者: RESSRC

个人资源站

发表评论

邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据