Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DInternetPreferenceControllerTest.java76 private static final String TEST_SUMMARY = "test summary"; field in InternetPreferenceControllerTest
223 when(mSummaryHelper.getSummary()).thenReturn(TEST_SUMMARY); in onSummaryChanged_internetWifi_updateSummary()
228 mController.onSummaryChanged(TEST_SUMMARY); in onSummaryChanged_internetWifi_updateSummary()
230 assertThat(mPreference.getSummary()).isEqualTo(TEST_SUMMARY); in onSummaryChanged_internetWifi_updateSummary()
235 when(mSummaryHelper.getSummary()).thenReturn(TEST_SUMMARY); in onSummaryChanged_internetNetworksAvailable_notUpdateSummary()
241 mController.onSummaryChanged(TEST_SUMMARY); in onSummaryChanged_internetNetworksAvailable_notUpdateSummary()
243 assertThat(mPreference.getSummary()).isNotEqualTo(TEST_SUMMARY); in onSummaryChanged_internetNetworksAvailable_notUpdateSummary()
285 mPreference.setSummary(TEST_SUMMARY); in updateHotspotNetwork_isHotspotNetworkEntry_updateAlternateSummary()
297 mPreference.setSummary(TEST_SUMMARY); in updateHotspotNetwork_notHotspotNetworkEntry_notChangeSummary()
301 assertThat(mPreference.getSummary().toString()).isEqualTo(TEST_SUMMARY); in updateHotspotNetwork_notHotspotNetworkEntry_notChangeSummary()
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/exportimport/
DExportImportDocumentProviderTest.java32 private static final String TEST_SUMMARY = "user@documentprovider.com"; field in ExportImportDocumentProviderTest
42 TEST_SUMMARY, in testDeserailize()
53 assertThat(deserializedDocumentProvider.getSummary()).isEqualTo(TEST_SUMMARY); in testDeserailize()
/packages/apps/Settings/tests/robotests/src/com/android/settings/uwb/
DUwbPreferenceControllerTest.java66 private static final String TEST_SUMMARY = "uwb"; field in UwbPreferenceControllerTest
100 .thenReturn(TEST_SUMMARY); in setUp()
199 verify(mPreference, times(2)).setSummary(TEST_SUMMARY); in updateStateAndSummary_uwbDisabledAndEnabled()
206 verify(mPreference, times(4)).setSummary(TEST_SUMMARY); in updateStateAndSummary_uwbDisabledAndEnabled()
226 verify(mPreference, times(2)).setSummary(TEST_SUMMARY); in updateStateAndSummary_apmEnabledAndDisabled()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/managedomainurls/
DDomainUrlsPreferenceControllerTest.java61 private static final String TEST_SUMMARY = "test_summary"; field in DomainUrlsPreferenceControllerTest
100 mMockDomains)).thenReturn(TEST_SUMMARY); in setUp()
150 assertThat(mPreference.getSummary()).isEqualTo(TEST_SUMMARY); in onCreate_isBrowserApp_summarySet()
161 assertThat(mPreference.getSummary()).isEqualTo(TEST_SUMMARY); in onCreate_isNotBrowserApp_summarySet()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapConvoListingElementTest.java51 private static final String TEST_SUMMARY = "test_summary"; field in BluetoothMapConvoListingElementTest
97 mListingElement.setSummary(TEST_SUMMARY); in setUp()
114 assertThat(mListingElement.getFullSummary()).isEqualTo(TEST_SUMMARY); in getters()
163 assertThat(listingElementFromXml.getFullSummary().trim()).isEqualTo(TEST_SUMMARY); in encodeToXml_thenDecodeToInstance_returnsCorrectly()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/backgroundinstall/
DBackgroundInstalledAppsPageProviderTest.kt246 summary = { TEST_SUMMARY }, in setItemContent()
259 private const val TEST_SUMMARY = "Summary" constant
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DOpenSupportedLinksTest.java67 private static final String TEST_SUMMARY = "TestSummary"; field in OpenSupportedLinksTest