Searched refs:SliceTestUtils (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SlicesDatabaseAccessorTest.java | 94 SliceTestUtils.insertSliceToDb(mContext, key); in testGetSliceDataFromKey_validKey_validSliceReturned() 99 assertThat(data.getTitle()).isEqualTo(SliceTestUtils.FAKE_TITLE); in testGetSliceDataFromKey_validKey_validSliceReturned() 100 assertThat(data.getSummary()).isEqualTo(SliceTestUtils.FAKE_SUMMARY); in testGetSliceDataFromKey_validKey_validSliceReturned() 101 assertThat(data.getScreenTitle()).isEqualTo(SliceTestUtils.FAKE_SCREEN_TITLE); in testGetSliceDataFromKey_validKey_validSliceReturned() 102 assertThat(data.getKeywords()).isEqualTo(SliceTestUtils.FAKE_KEYWORDS); in testGetSliceDataFromKey_validKey_validSliceReturned() 103 assertThat(data.getIconResource()).isEqualTo(SliceTestUtils.FAKE_ICON); in testGetSliceDataFromKey_validKey_validSliceReturned() 104 assertThat(data.getFragmentClassName()).isEqualTo(SliceTestUtils.FAKE_FRAGMENT_NAME); in testGetSliceDataFromKey_validKey_validSliceReturned() 106 assertThat(data.getPreferenceController()).isEqualTo(SliceTestUtils.FAKE_CONTROLLER_NAME); in testGetSliceDataFromKey_validKey_validSliceReturned() 107 assertThat(data.getHighlightMenuRes()).isEqualTo(SliceTestUtils.FAKE_HIGHLIGHT_MENU_RES); in testGetSliceDataFromKey_validKey_validSliceReturned() 115 SliceTestUtils.insertSliceToDb(mContext, key, true /* isPlatformSlice */, in testGetSliceDataFromKey_allowDynamicSummary_validSliceReturned() [all …]
|
D | SettingsSliceProviderTest.java | 176 SliceTestUtils.insertSliceToDb(mContext, KEY); in testInitialSliceReturned_emptySlice() 185 SliceTestUtils.insertSliceToDb(mContext, KEY); in testLoadSlice_returnsSliceFromAccessor() 191 assertThat(data.getTitle()).isEqualTo(SliceTestUtils.FAKE_TITLE); in testLoadSlice_returnsSliceFromAccessor() 196 SliceTestUtils.insertSliceToDb(mContext, KEY); in loadSlice_registersIntentFilter() 207 SliceTestUtils.insertSliceToDb(mContext, KEY); in loadSlice_registersBackgroundListener() 223 SliceTestUtils.insertSliceToDb(mContext, data.getKey()); in testLoadSlice_cachedEntryRemovedOnUnpinned() 361 SliceTestUtils.insertSliceToDb(mContext, key, true /* isPlatformSlice */, in getDescendantUris_invalidPath_returnsEmpty() 377 SliceTestUtils.insertSliceToDb(mContext, "oem_key", false /* isPlatformSlice */, in getDescendantUris_platformSlice_doesNotReturnOEMSlice() 392 SliceTestUtils.insertSliceToDb(mContext, "platform_key", true /* isPlatformSlice */, in getDescendantUris_oemSlice_doesNotReturnPlatformSlice() 408 SliceTestUtils.insertSliceToDb(mContext, key, false /* isPlatformSlice */, in getDescendantUris_oemSlice_returnsOEMUriDescendant() [all …]
|
D | SliceBroadcastReceiverTest.java | 323 insertSpecialCase(SliceTestUtils.FAKE_CONTROLLER_NAME, key); in insertSpecialCase() 329 values.put(SlicesDatabaseHelper.IndexColumns.TITLE, SliceTestUtils.FAKE_TITLE); in insertSpecialCase() 330 values.put(SlicesDatabaseHelper.IndexColumns.SUMMARY, SliceTestUtils.FAKE_SUMMARY); in insertSpecialCase() 331 values.put(SlicesDatabaseHelper.IndexColumns.SCREENTITLE, SliceTestUtils.FAKE_SCREEN_TITLE); in insertSpecialCase() 332 values.put(SlicesDatabaseHelper.IndexColumns.ICON_RESOURCE, SliceTestUtils.FAKE_ICON); in insertSpecialCase() 333 values.put(SlicesDatabaseHelper.IndexColumns.FRAGMENT, SliceTestUtils.FAKE_FRAGMENT_NAME); in insertSpecialCase() 337 SliceTestUtils.FAKE_HIGHLIGHT_MENU_RES); in insertSpecialCase()
|
D | SliceTestUtils.java | 29 class SliceTestUtils { class
|