use of com.android.tools.idea.tests.gui.framework.fixture.ActionButtonFixture in project android by JetBrains.
the class NlConfigurationToolbarFixture method showDesign.
/**
* Click on the "Show Design" button
*/
public NlConfigurationToolbarFixture showDesign() {
ActionButton button = waitUntilShowing(myRobot, myToolBar.getComponent(), new GenericTypeMatcher<ActionButton>(ActionButton.class) {
@Override
protected boolean isMatching(@NotNull ActionButton component) {
return "Show Design".equals(component.getAction().getTemplatePresentation().getDescription());
}
});
new ActionButtonFixture(myRobot, button).click();
return this;
}
use of com.android.tools.idea.tests.gui.framework.fixture.ActionButtonFixture in project android by JetBrains.
the class NlConfigurationToolbarFixture method showBlueprint.
/**
* Click on the "Show Blueprint" button
*/
public NlConfigurationToolbarFixture showBlueprint() {
ActionButton button = waitUntilShowing(myRobot, myToolBar.getComponent(), new GenericTypeMatcher<ActionButton>(ActionButton.class) {
@Override
protected boolean isMatching(@NotNull ActionButton component) {
return "Show Blueprint".equals(component.getAction().getTemplatePresentation().getDescription());
}
});
new ActionButtonFixture(myRobot, button).click();
return this;
}
Aggregations