Home
last modified time | relevance | path

Searched refs:FAKE_SUMMARY (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DExtraSettingsLoaderTest.java58 private static final String FAKE_SUMMARY = "fake_summary"; field in ExtraSettingsLoaderTest
79 bundle.putString(META_DATA_PREFERENCE_SUMMARY, FAKE_SUMMARY); in testLoadPreference_stringResources_shouldLoadResources()
99 assertThat(p.getSummary()).isEqualTo(FAKE_SUMMARY); in testLoadPreference_stringResources_shouldLoadResources()
109 bundle.putString(META_DATA_PREFERENCE_SUMMARY, FAKE_SUMMARY); in testLoadPreference_metadataBundleIsValue()
133 assertThat(p.getSummary()).isEqualTo(FAKE_SUMMARY); in testLoadPreference_metadataBundleIsValue()
137 assertThat(b.getString(META_DATA_PREFERENCE_SUMMARY)).isEqualTo(FAKE_SUMMARY); in testLoadPreference_metadataBundleIsValue()
173 assertThat(p.getSummary()).isEqualTo(FAKE_SUMMARY); in testLoadPreference_integerResources_shouldLoadResources()
213 bundle.putString(META_DATA_PREFERENCE_SUMMARY, FAKE_SUMMARY); in testLoadPreference_noCategory_shouldSetToDeviceCategory()
232 assertThat(p.getSummary()).isEqualTo(FAKE_SUMMARY); in testLoadPreference_noCategory_shouldSetToDeviceCategory()
242 bundle.putString(META_DATA_PREFERENCE_SUMMARY, FAKE_SUMMARY); in testLoadPreference_noCategoryMatched_shouldNotReturnPreferences()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSlicesDatabaseAccessorTest.java100 assertThat(data.getSummary()).isEqualTo(SliceTestUtils.FAKE_SUMMARY); in testGetSliceDataFromKey_validKey_validSliceReturned()
122 assertThat(data.getSummary()).isEqualTo(SliceTestUtils.FAKE_SUMMARY); in testGetSliceDataFromKey_allowDynamicSummary_validSliceReturned()
157 assertThat(data.getSummary()).isEqualTo(SliceTestUtils.FAKE_SUMMARY); in testGetSliceFromUri_validUri_validSliceReturned()
302 assertThat(data.getSummary()).isEqualTo(SliceTestUtils.FAKE_SUMMARY); in testGetSliceDataFromKey_defaultUnavailableSlice_validSliceReturned()
324 assertThat(data.getSummary()).isEqualTo(SliceTestUtils.FAKE_SUMMARY); in testGetSliceDataFromKey_customizeSubtitleOfUnavailableSlice_validSliceReturned()
DSliceTestUtils.java32 public static final String FAKE_SUMMARY = "summary"; field in SliceTestUtils
69 values.put(SlicesDatabaseHelper.IndexColumns.SUMMARY, FAKE_SUMMARY); in insertSliceToDb()
DSliceDataConverterTest.java58 private static final String FAKE_SUMMARY = "summary"; field in SliceDataConverterTest
120 assertThat(fakeSlice.getSummary()).isEqualTo(FAKE_SUMMARY); in assertFakeSlice()
DSliceBroadcastReceiverTest.java330 values.put(SlicesDatabaseHelper.IndexColumns.SUMMARY, SliceTestUtils.FAKE_SUMMARY); in insertSpecialCase()
DSettingsSliceProviderTest.java708 .setSummary(SliceTestUtils.FAKE_SUMMARY) in getMockData()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DExtraSettingsLoaderTest.java63 private static final String FAKE_SUMMARY = "fake_summary"; field in ExtraSettingsLoaderTest
109 bundle.putString(META_DATA_PREFERENCE_SUMMARY, FAKE_SUMMARY); in testLoadPreference_uriResources_shouldNotLoadStaticResources()
227 bundle.putString(META_DATA_PREFERENCE_SUMMARY, FAKE_SUMMARY); in testLoadPreference_isTopLevel_topLevelMetadataSet()