From 59520b028a2055cf5541ec42dcf1bc19cb6fe696 Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Tue, 6 Mar 2018 09:08:29 -0800 Subject: [PATCH] Fix tests Change-Id: I8b750a87e6852d60ac2f8f61a955b1296cef759b Fixes: 74234076 Test: robotests --- .../robotests/res/xml-mcc998/location_settings.xml | 14 ++++++++++---- .../robotests/res/xml-mcc999/location_settings.xml | 3 +-- .../search/BaseSearchIndexProviderTest.java | 2 +- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/tests/robotests/res/xml-mcc998/location_settings.xml b/tests/robotests/res/xml-mcc998/location_settings.xml index 993af8676d9..f61ca63d68a 100644 --- a/tests/robotests/res/xml-mcc998/location_settings.xml +++ b/tests/robotests/res/xml-mcc998/location_settings.xml @@ -18,14 +18,20 @@ + android:title="screen_title"> + + \ No newline at end of file diff --git a/tests/robotests/res/xml-mcc999/location_settings.xml b/tests/robotests/res/xml-mcc999/location_settings.xml index 5619c774a6d..de77bfae006 100644 --- a/tests/robotests/res/xml-mcc999/location_settings.xml +++ b/tests/robotests/res/xml-mcc999/location_settings.xml @@ -17,8 +17,7 @@ + android:title="screen_title"> controllers = provider.getPreferenceControllers(mContext); - assertThat(controllers).hasSize(3); + assertThat(controllers).hasSize(2); } public static class NotAvailablePreferenceController