Home
last modified time | relevance | path

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

/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/preferences/
DEmergencyEditTextPreferenceTest.java74 String medicalConditions = "Asthma"; in testReloadFromPreference() local
76 .thenReturn(medicalConditions); in testReloadFromPreference()
79 assertThat(mPreference.getText()).isEqualTo(medicalConditions); in testReloadFromPreference()
85 final String medicalConditions = "Asthma"; in testOnPreferenceChange() local
86 mPreference.onPreferenceChange(mPreference, medicalConditions); in testOnPreferenceChange()
88 assertThat(mPreference.getSummary()).isEqualTo(medicalConditions); in testOnPreferenceChange()
93 final String medicalConditions = "Asthma"; in testSetText() local
94 mPreference.setText(medicalConditions); in testSetText()
96 assertThat(mPreference.getText()).isEqualTo(medicalConditions); in testSetText()
97 assertThat(mPreference.getSummary()).isEqualTo(medicalConditions); in testSetText()