Move LocationServicePreference to Location > LocationServices
Bug: 180533061 Test: manual on device Change-Id: Idd700f5c530af67f4936e207e42988267185f256
This commit is contained in:
@@ -32,7 +32,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import java.util.List;
|
||||
|
||||
@RunWith(RobolectricTestRunner.class)
|
||||
public class ScanningSettingsTest {
|
||||
public class LocationServicesTest {
|
||||
|
||||
private Context mContext;
|
||||
|
||||
@@ -43,10 +43,10 @@ public class ScanningSettingsTest {
|
||||
|
||||
@Test
|
||||
public void searchProvider_shouldIndexDefaultXml() {
|
||||
final List<SearchIndexableResource> sir = ScanningSettings.SEARCH_INDEX_DATA_PROVIDER
|
||||
final List<SearchIndexableResource> sir = LocationServices.SEARCH_INDEX_DATA_PROVIDER
|
||||
.getXmlResourcesToIndex(mContext, true /* enabled */);
|
||||
|
||||
assertThat(sir).hasSize(1);
|
||||
assertThat(sir.get(0).xmlResId).isEqualTo(R.xml.location_scanning);
|
||||
assertThat(sir.get(0).xmlResId).isEqualTo(R.xml.location_services);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user