Test suites GMS July release GMS Client ID update

These versions will be required for GMS approvals as described in the table below:

Release Release version Required-use date
CTS 8.1 R7, 8.0 R11, 7.1 R19, 7.0 R23, 6.0 R30 2018-8-21
VTS 8.1_r4 and 8.0_r8 w August SPLs 2018-8-21
GMS 8.1_201807, 8.0_201807 2018-9-18

GMS Client ID update
Updated H3G country list to include ITWe've updated the GMS Client ID mapping (direct link), effective for new devices only. Check with specific carriers to confirm which values to set. Here's a summary of the changes:

  • Removed AT, BE, CH, FR from Vodafone list of countries
  • Added a row for Vodafone AU

com.google.android.permission.gts.DefaultPermissionGrantPolicyTest#testDefaultGrantsWithRemoteExceptions test fail

[DESCRIPTION]
 com.google.android.permission.gts.DefaultPermissionGrantPolicyTest#testDefaultGrantsWithRemoteExceptions test fail
java.lang.AssertionError: Permission:android.permission.WRITE_EXTERNAL_STORAGE cannot be granted by default to package:com.google.android.talk  
[SOLUTION]

继续阅读“com.google.android.permission.gts.DefaultPermissionGrantPolicyTest#testDefaultGrantsWithRemoteExceptions test fail”

com.google.android.os.gts.SysConfigTest#testValidSysConfigPresent fail

[DESCRIPTION]

低于内存是512MB的android go项目,maps go是optional app.(参考GMS Go Requirements - 2018-02-23.pdf第3页),
但是移除掉的话,会出现如下GTS fail:
Module:GtsOsTestCases
Test:com.google.android.os.gts.SysConfigTest#testValidSysConfigPresent

com.google.android.os.gts.SysConfigTest#testValidSysConfigPresent
fail
java.lang.AssertionError: Modification of required config file: Missing elements for tag linkedApps: 'com.google.android.apps.maps' . required={com.android.vending, com.google.android.music, com.google.android.apps.docs, com.google.android.apps.maps, com.google.android.videos, com.google.android.apps.photos, com.google.android.calendar, com.google.android.apps.tycho, com.google.android.talk, com.google.android.apps.youtube.mango} . all={com.google.android.apps.docs.editors.docs, com.google.android.apps.mapslite, com.google.android.apps.docs.editors.sheets, com.google.android.apps.docs.editors.slides, com.android.vending, com.google.android.music, com.google.android.apps.docs, com.google.android.apps.plus, com.google.android.videos, com.google.android.apps.photos, com.google.android.calendar, com.google.android.apps.tycho, com.google.android.talk, com.google.android.apps.youtube.mango} at org.junit.Assert.fail(Assert.java:88) at com.google.android.os.gts.SysConfigTest.assertSystemConfigEquals(SysConfigTest.java:424) at com.google.android.os.gts.SysConfigTest.testValidSysConfigPresent(SysConfigTest.java:112)

[SOLUTION]

继续阅读“com.google.android.os.gts.SysConfigTest#testValidSysConfigPresent fail”