Searched refs:negativeButton (Results 1 – 2 of 2) sorted by relevance
39 private Button negativeButton; field in ShadowAlertDialog94 return negativeButton; in getButton()108 … negativeButton = createButton(context, realAlertDialog, whichButton, text, listener); in setButton()451 …latestAlertDialog.negativeButton = createButton(context, realDialog, AlertDialog.BUTTON_NEGATIVE, … in create()
147 final Button negativeButton = shadowOf(alertDialog).getButton(AlertDialog.BUTTON_NEGATIVE); in shouldSetTheNegativeButtonAfterCreation() local148 negativeButton.performClick(); in shouldSetTheNegativeButtonAfterCreation()150 assertThat(negativeButton.getText().toString(), equalTo("More Negative")); in shouldSetTheNegativeButtonAfterCreation()