Revert "Remove duplicate strings."
Revert submission 19748582-settings_yesno Reason for revert: Common strings in English could be translated into different strings in other languages. Reverted changes: /q/submissionid:19748582-settings_yesno Bug: 272603842 Test: build and open Settings app Test: atest SettingsRoboTests Change-Id: Iaad301c5513478fb95e40987ea3ccb4f923d71fa
This commit is contained in:
@@ -92,13 +92,13 @@ public class NfcAndPaymentFragmentControllerTest {
|
||||
public void getSummary_nfcOn_shouldProvideOnSummary() {
|
||||
mShadowNfcAdapter.setEnabled(true);
|
||||
assertThat(mController.getSummary().toString()).contains(
|
||||
mContext.getString(R.string.on));
|
||||
mContext.getString(R.string.switch_on_text));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getSummary_nfcOff_shouldProvideOffSummary() {
|
||||
mShadowNfcAdapter.setEnabled(false);
|
||||
assertThat(mController.getSummary().toString()).contains(
|
||||
mContext.getString(R.string.off));
|
||||
mContext.getString(R.string.switch_off_text));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user