Searched refs:positiveButton (Results 1 – 2 of 2) sorted by relevance
38 private Button positiveButton; field in ShadowAlertDialog92 return positiveButton; in getButton()105 … positiveButton = createButton(context, realAlertDialog, whichButton, text, listener); in setButton()450 …latestAlertDialog.positiveButton = createButton(context, realDialog, AlertDialog.BUTTON_POSITIVE, … in create()
132 final Button positiveButton = shadowOf(alertDialog).getButton(AlertDialog.BUTTON_POSITIVE); in shouldSetThePositiveButtonAfterCreation() local133 positiveButton.performClick(); in shouldSetThePositiveButtonAfterCreation()135 assertThat(positiveButton.getText().toString(), equalTo("More Positive")); in shouldSetThePositiveButtonAfterCreation()