[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

个人资源站

发表评论

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.