Home | History | Annotate | Download | only in template

Lines Matching defs:button

35 import android.widget.Button;
130 assertEquals("More button should be visible",
132 assertEquals("Next button should be hidden",
139 assertEquals("More button should be hidden",
141 assertEquals("Next button should be visible",
148 final Button button = new Button(application);
149 button.setText("OriginalLabel");
152 button, "TestMoreLabel", wrappedListener);
154 assertEquals("Button label should be kept initially", "OriginalLabel", button.getText());
157 assertEquals("TestMoreLabel", button.getText());
158 button.performClick();
159 verify(wrappedListener, never()).onClick(eq(button));
163 assertEquals("OriginalLabel", button.getText());
164 button.performClick();
165 verify(wrappedListener).onClick(eq(button));