Fix search test using location_settings
Second attempt to proactively fix a search test. SearchIndexableResourcesTest uses the FakeIndexProvider, which implicitly assumes that the robotests/res/xml-mcc999/location_settings.xml xml is in use. Without it, the test is accessing the real location_settings.xml / real preference controllers. This was working until now, but by luck and probably not intent. There is an upcoming change which will break the test, so this fixes the test ahead of time. This change updates the test to use the "mcc999" config, and improves the docs around FakeIndexProvider to try to make the requirements for use clearer. Bug: 171371424 Test: m RunSettingsRoboTests Change-Id: I868d191281a2030fa49134893bcd6720f757ea91
Loading
Please register or sign in to comment