Home
last modified time | relevance | path

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

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAlertDialog.java38 private Button positiveButton; field in ShadowAlertDialog
92 return positiveButton; in getButton()
105positiveButton = createButton(context, realAlertDialog, whichButton, text, listener); in setButton()
450 …latestAlertDialog.positiveButton = createButton(context, realDialog, AlertDialog.BUTTON_POSITIVE, … in create()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DAlertDialogTest.java132 final Button positiveButton = shadowOf(alertDialog).getButton(AlertDialog.BUTTON_POSITIVE); in shouldSetThePositiveButtonAfterCreation() local
133 positiveButton.performClick(); in shouldSetThePositiveButtonAfterCreation()
135 assertThat(positiveButton.getText().toString(), equalTo("More Positive")); in shouldSetThePositiveButtonAfterCreation()