GTS com.google.android.xts.partnerbookmarks.Par tnerBookmarksProviderTest -- ...
时间:10-02
整理:3721RD
点击:
[DESCRIPTION]
Run GTS时出现com.google.android.xts.partnerbookmarks.PartnerBookmarksProviderTest
-- testExactlyOneroot fail junit.php?mod=tag&id=6090" target="_blank" class="relatedlink">Framework.AssertionFailedError: Failed to acquire
content://com.android.partnerbookmarks/bookmarks at
com.google.android.xts.partnerbookmarks.PartnerBookmarksProviderTest.countBookmarksInFolder(PartnerBookm
arksProviderTest.java:67)
[SOLUTION]
手机有预置ChROMe时, Google 要求此项必须Pass。
此项fail是因为手机中缺少partnerbookmarkprovider,请尝试以下方法build in parterbookmarkprovider:
1. 修改Android.mk文件:路徑位於alps/packages/providers/PartnerBookmarksProvider/Android.mk添加LOCAL_CERTIFICAT := platform
2. 修改common.mk文件:路徑位於alps/build/target/product/common.mk
在PRODUCT_PACKAGES下添加 PartnerBookmarksProvider \(注意末尾的斜杠)
添加完成后build,再Run GTS 验证。
Run GTS时出现com.google.android.xts.partnerbookmarks.PartnerBookmarksProviderTest
-- testExactlyOneroot fail junit.php?mod=tag&id=6090" target="_blank" class="relatedlink">Framework.AssertionFailedError: Failed to acquire
content://com.android.partnerbookmarks/bookmarks at
com.google.android.xts.partnerbookmarks.PartnerBookmarksProviderTest.countBookmarksInFolder(PartnerBookm
arksProviderTest.java:67)
[SOLUTION]
手机有预置ChROMe时, Google 要求此项必须Pass。
此项fail是因为手机中缺少partnerbookmarkprovider,请尝试以下方法build in parterbookmarkprovider:
1. 修改Android.mk文件:路徑位於alps/packages/providers/PartnerBookmarksProvider/Android.mk添加LOCAL_CERTIFICAT := platform
2. 修改common.mk文件:路徑位於alps/build/target/product/common.mk
在PRODUCT_PACKAGES下添加 PartnerBookmarksProvider \(注意末尾的斜杠)
添加完成后build,再Run GTS 验证。