Home
last modified time | relevance | path

Searched refs:FAKE_TITLE (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DExtraSettingsLoaderTest.java57 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/
DCellBroadcastListItemTest.java50 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/
DSliceDataConverterTest.java57 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()
DSlicesDatabaseAccessorTest.java99 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()
DSliceTestUtils.java31 public static final String FAKE_TITLE = "title"; field in SliceTestUtils
68 values.put(SlicesDatabaseHelper.IndexColumns.TITLE, FAKE_TITLE); in insertSliceToDb()
DSettingsSliceProviderTest.java191 assertThat(data.getTitle()).isEqualTo(SliceTestUtils.FAKE_TITLE); in testLoadSlice_returnsSliceFromAccessor()
707 .setTitle(SliceTestUtils.FAKE_TITLE) in getMockData()
DSliceBroadcastReceiverTest.java329 values.put(SlicesDatabaseHelper.IndexColumns.TITLE, SliceTestUtils.FAKE_TITLE); in insertSpecialCase()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DExtraSettingsLoaderTest.java60 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()