Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/
DDeviceNamePreferenceControllerTest.java57 private static final String TESTING_STRING = "Testing"; field in DeviceNamePreferenceControllerTest
139 mController.onPreferenceChange(mPreference, TESTING_STRING); in setDeviceName_preferenceUpdatedWhenDeviceNameUpdated()
141 assertThat(mPreference.getSummary()).isEqualTo(TESTING_STRING); in setDeviceName_preferenceUpdatedWhenDeviceNameUpdated()
150 mController.onPreferenceChange(mPreference, TESTING_STRING); in setDeviceName_bluetoothNameUpdatedWhenDeviceNameUpdated()
152 assertThat(mBluetoothAdapter.getName()).isEqualTo(TESTING_STRING); in setDeviceName_bluetoothNameUpdatedWhenDeviceNameUpdated()
159 mController.onPreferenceChange(mPreference, TESTING_STRING); in setDeviceName_wifiTetherNameUpdatedWhenDeviceNameUpdated()
164 assertThat(captor.getValue().getSsid()).isEqualTo(TESTING_STRING); in setDeviceName_wifiTetherNameUpdatedWhenDeviceNameUpdated()
178 mController.onPreferenceChange(mPreference, TESTING_STRING); in setDeviceName_okInDeviceNameWarningDialog_shouldChangePreferenceText()
180 assertThat(mPreference.getSummary()).isEqualTo(TESTING_STRING); in setDeviceName_okInDeviceNameWarningDialog_shouldChangePreferenceText()
187 mController.onPreferenceChange(mPreference, TESTING_STRING); in setDeviceName_cancelInDeviceNameWarningDialog_shouldNotChangePreferenceText()
[all …]