[GTS6.0r1]Geo-availability要求移除Play Movies之后出现这两条fail

问题描述


   某些国家不支持Play Movies&TV应用,去掉后测试GTS GtsPlacementTestCases模块出现两个fail项:

解决方案


com.google.android.placement.gts.CoreGmsAppsPrivappPermissionsTest#testCoreGmsAppsPermissionsWhitelisted fail android.content.pm.PackageManager$NameNotFoundException: com.google.android.videos at android.app.ApplicationPackageManager.getPackageInfoAsUser(ApplicationPackageManager.java:173) at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:144) at com.google.android.placement.gts.CoreGmsAppsPrivappPermissionsTest.testCoreGmsAppsPermissionsWhitelisted(CoreGmsAppsPrivappPermissionsTest.java:81) at java.lang.reflect.Method.invoke(Native Method) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at

->GTS6.0r1会fail,换用6.0r2单跑即可pass。

 

com.google.android.placement.gts.CoreGmsAppsTest#testCoreGmsAppsPreloaded fail java.lang.AssertionError: Mandatory core GMS packages not found as system apps: com.google.android.videos at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.assertTrue(Assert.java:41) at com.google.android.placement.gts.CoreGmsAppsTest.checkGeneralCoreGmsAppsPreloaded(CoreGmsAppsTest.java:204) at com.google.android.placement.gts.CoreGmsAppsTest.testCoreGmsAppsPreloaded(CoreGmsAppsTest.java:487) at java.lang.reflect.Method.invoke(Native Method) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at

->使用Bug ID:118858478申请豁免

 

作者: RESSRC

个人资源站

发表评论

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

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