Searched refs:mIndexProvider (Results 1 – 1 of 1) sorted by relevance
51 private BaseSearchIndexProvider mIndexProvider; field in BaseSearchIndexProviderTest57 mIndexProvider = spy(BaseSearchIndexProvider.class); in setUp()62 assertThat(mIndexProvider.getNonIndexableKeys(mContext)).isEmpty(); in getNonIndexableKeys_noPreferenceController_shouldReturnEmptyList()93 doReturn(controllers).when(mIndexProvider).createPreferenceControllers(mContext); in getNonIndexableKeys_preferenceIsAvailable_shouldReturnEmptyList()95 assertThat(mIndexProvider.getNonIndexableKeys(mContext)).isEqualTo(Collections.EMPTY_LIST); in getNonIndexableKeys_preferenceIsAvailable_shouldReturnEmptyList()153 doReturn(controllers).when(mIndexProvider).createPreferenceControllers(mContext); in getNonIndexableKeys_preferenceIsNotAvailable_shouldReturnKey()155 assertThat(mIndexProvider.getNonIndexableKeys(mContext)).contains(TEST_PREF_KEY); in getNonIndexableKeys_preferenceIsNotAvailable_shouldReturnKey()214 assertThat(mIndexProvider.getDynamicRawDataToIndex(mContext, true)).isEmpty(); in getDynamicRawDataToIndex_noPreferenceController_shouldReturnEmptyList()221 doReturn(controllers).when(mIndexProvider).createPreferenceControllers(mContext); in getDynamicRawDataToIndex_disablePageSearch_shouldReturnEmptyList()222 doReturn(false).when(mIndexProvider).isPageSearchEnabled(mContext); in getDynamicRawDataToIndex_disablePageSearch_shouldReturnEmptyList()[all …]