Searched refs:getButton (Results 1 – 5 of 5) sorted by relevance
63 assertThat(shadowOf(dialog).getButton(AlertDialog.BUTTON_POSITIVE), not(nullValue())); in shouldOnlyCreateRequestedButtons()64 assertThat(shadowOf(dialog).getButton(AlertDialog.BUTTON_NEGATIVE), nullValue()); in shouldOnlyCreateRequestedButtons()73 Robolectric.clickOn(dialog.getButton(AlertDialog.BUTTON_POSITIVE)); in shouldAllowNullButtonListeners()132 final Button positiveButton = shadowOf(alertDialog).getButton(AlertDialog.BUTTON_POSITIVE); in shouldSetThePositiveButtonAfterCreation()147 final Button negativeButton = shadowOf(alertDialog).getButton(AlertDialog.BUTTON_NEGATIVE); in shouldSetTheNegativeButtonAfterCreation()162 final Button neutralButton = shadowOf(alertDialog).getButton(AlertDialog.BUTTON_NEUTRAL); in shouldSetTheNeutralButtonAfterCreation()176 alertDialog.getButton(AlertDialog.BUTTON_POSITIVE).performClick(); in clickingPositiveButtonDismissesDialog()191 alertDialog.getButton(AlertDialog.BUTTON_NEUTRAL).performClick(); in clickingNeutralButtonDismissesDialog()206 alertDialog.getButton(AlertDialog.BUTTON_NEGATIVE).performClick(); in clickingNegativeButtonDismissesDialog()
299 switch (arg0.getButton()) { in getJMEButtonIndex()
89 public Button getButton(int whichButton) { in getButton() method in ShadowAlertDialog
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
META-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...