GTS com.google.android.gts.backup.LocaleSettingsRestoreHostSideTest#testLocaleRestore

[DESCRIPTION]
run gts -m GtsBackupHostTestCases -t com.google.android.gts.backup.LocaleSettingsRestoreHostSideTest#testLocaleRestore

junit.framework.AssertionFailedError: Locales after restore are not as expected. expected:<[en-US, gl-ES, ga-IE, af-ZA]> but was:<[en-US, gl-ES]>
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.failNotEquals(Assert.java:287)
at junit.framework.Assert.assertEquals(Assert.java:67)
at com.google.android.gts.backup.testscontainerapp.LocaleSettingsRestoreTest.checkLocales(LocaleSettingsRestoreTest.java:105)
at java.lang.reflect.Method.invoke(Native Method)

[SOLUTION]


请首先确认是否修改过
/frameworks/base/core/res/res/values/locale_config.xml?如果有,请回退测试;

GTS测试至少需要<[en-US, gl-ES, ga-IE, af-ZA]几种语言;

微信扫码打赏

作者: RESSRC

个人资源站

发表评论

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

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