Home
last modified time | relevance | path

Searched refs:FAKE_TITLE (Results 1 – 6 of 6) 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/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.java97 assertThat(data.getTitle()).isEqualTo(SliceTestUtils.FAKE_TITLE); in testGetSliceDataFromKey_validKey_validSliceReturned()
117 assertThat(data.getTitle()).isEqualTo(SliceTestUtils.FAKE_TITLE); in testGetSliceDataFromKey_allowDynamicSummary_validSliceReturned()
149 assertThat(data.getTitle()).isEqualTo(SliceTestUtils.FAKE_TITLE); in testGetSliceFromUri_validUri_validSliceReturned()
284 assertThat(data.getTitle()).isEqualTo(SliceTestUtils.FAKE_TITLE); in testGetSliceDataFromKey_defaultUnavailableSlice_validSliceReturned()
304 assertThat(data.getTitle()).isEqualTo(SliceTestUtils.FAKE_TITLE); in testGetSliceDataFromKey_customizeSubtitleOfUnavailableSlice_validSliceReturned()
DSliceTestUtils.java31 public static final String FAKE_TITLE = "title"; field in SliceTestUtils
67 values.put(SlicesDatabaseHelper.IndexColumns.TITLE, FAKE_TITLE); in insertSliceToDb()
DSettingsSliceProviderTest.java190 assertThat(data.getTitle()).isEqualTo(SliceTestUtils.FAKE_TITLE); in testLoadSlice_returnsSliceFromAccessor()
703 .setTitle(SliceTestUtils.FAKE_TITLE) in getDummyData()
DSliceBroadcastReceiverTest.java318 values.put(SlicesDatabaseHelper.IndexColumns.TITLE, SliceTestUtils.FAKE_TITLE); in insertSpecialCase()