Searched refs:FAKE_TITLE (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | ExtraSettingsLoaderTest.java | 57 private static final String FAKE_TITLE = "fake_title"; field in ExtraSettingsLoaderTest 78 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_stringResources_shouldLoadResources() 98 assertThat(p.getTitle()).isEqualTo(FAKE_TITLE); in testLoadPreference_stringResources_shouldLoadResources() 108 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_metadataBundleIsValue() 132 assertThat(p.getTitle()).isEqualTo(FAKE_TITLE); in testLoadPreference_metadataBundleIsValue() 136 assertThat(b.getString(META_DATA_PREFERENCE_TITLE)).isEqualTo(FAKE_TITLE); in testLoadPreference_metadataBundleIsValue() 172 assertThat(p.getTitle()).isEqualTo(FAKE_TITLE); in testLoadPreference_integerResources_shouldLoadResources() 184 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_noDefaultSummary() 201 assertThat(p.getTitle()).isEqualTo(FAKE_TITLE); in testLoadPreference_noDefaultSummary() 212 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_noCategory_shouldSetToDeviceCategory() [all …]
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastListItemTest.java | 50 private static final String FAKE_TITLE = "Fake Alert"; field in CellBroadcastListItemTest 76 doReturn(FAKE_TITLE).when(mMockResources).getText(anyInt()); in setUp() 103 verify(mMockChannelView, times(1)).setText(eq(FAKE_TITLE), any()); in testCellBroadcastListItemBindOnRoaming()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SliceDataConverterTest.java | 57 private static final String FAKE_TITLE = "title"; field in SliceDataConverterTest 119 assertThat(fakeSlice.getTitle()).isEqualTo(FAKE_TITLE); in assertFakeSlice() 136 assertThat(fakeSlice.getTitle()).isEqualTo(FAKE_TITLE); in assertFakeA11ySlice() 155 doReturn(FAKE_TITLE).when(resolveInfo).loadLabel(any(PackageManager.class)); in getFakeService()
|
D | SlicesDatabaseAccessorTest.java | 99 assertThat(data.getTitle()).isEqualTo(SliceTestUtils.FAKE_TITLE); in testGetSliceDataFromKey_validKey_validSliceReturned() 121 assertThat(data.getTitle()).isEqualTo(SliceTestUtils.FAKE_TITLE); in testGetSliceDataFromKey_allowDynamicSummary_validSliceReturned() 156 assertThat(data.getTitle()).isEqualTo(SliceTestUtils.FAKE_TITLE); in testGetSliceFromUri_validUri_validSliceReturned() 301 assertThat(data.getTitle()).isEqualTo(SliceTestUtils.FAKE_TITLE); in testGetSliceDataFromKey_defaultUnavailableSlice_validSliceReturned() 323 assertThat(data.getTitle()).isEqualTo(SliceTestUtils.FAKE_TITLE); in testGetSliceDataFromKey_customizeSubtitleOfUnavailableSlice_validSliceReturned()
|
D | SliceTestUtils.java | 31 public static final String FAKE_TITLE = "title"; field in SliceTestUtils 68 values.put(SlicesDatabaseHelper.IndexColumns.TITLE, FAKE_TITLE); in insertSliceToDb()
|
D | SettingsSliceProviderTest.java | 191 assertThat(data.getTitle()).isEqualTo(SliceTestUtils.FAKE_TITLE); in testLoadSlice_returnsSliceFromAccessor() 707 .setTitle(SliceTestUtils.FAKE_TITLE) in getMockData()
|
D | SliceBroadcastReceiverTest.java | 329 values.put(SlicesDatabaseHelper.IndexColumns.TITLE, SliceTestUtils.FAKE_TITLE); in insertSpecialCase()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
D | ExtraSettingsLoaderTest.java | 60 private static final String FAKE_TITLE = "fake_title"; field in ExtraSettingsLoaderTest 108 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_uriResources_shouldNotLoadStaticResources() 226 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_isTopLevel_topLevelMetadataSet() 245 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_notSystem_notLoaded()
|