Search in sources :

Example 11 with JComboBoxFixture

use of org.fest.swing.fixture.JComboBoxFixture in project android by JetBrains.

the class BuildTypesTabFixture method setDebuggable.

@NotNull
public BuildTypesTabFixture setDebuggable(@NotNull String debuggable) {
    JComboBox comboBox = robot().finder().findByLabel(target(), "Debuggable", JComboBox.class, true);
    new JComboBoxFixture(robot(), comboBox).selectItem(debuggable);
    return this;
}
Also used : JComboBoxFixture(org.fest.swing.fixture.JComboBoxFixture) NotNull(org.jetbrains.annotations.NotNull)

Example 12 with JComboBoxFixture

use of org.fest.swing.fixture.JComboBoxFixture in project android by JetBrains.

the class CreateFileFromTemplateDialogFixture method selectKind.

@NotNull
public CreateFileFromTemplateDialogFixture selectKind(@NotNull final Kind kind) {
    JComboBoxFixture kindFixture = new JComboBoxFixture(robot(), robot().finder().findByType(target(), JComboBox.class));
    kindFixture.selectItem(kind.getTemplateName());
    return this;
}
Also used : JComboBoxFixture(org.fest.swing.fixture.JComboBoxFixture) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

JComboBoxFixture (org.fest.swing.fixture.JComboBoxFixture)12 NotNull (org.jetbrains.annotations.NotNull)6 ThemeEditorFixture (com.android.tools.idea.tests.gui.framework.fixture.theme.ThemeEditorFixture)4 Test (org.junit.Test)4 Component (java.awt.Component)3 ResourceComponent (com.android.tools.idea.editors.theme.ui.ResourceComponent)2 NewStyleDialogFixture (com.android.tools.idea.tests.gui.framework.fixture.theme.NewStyleDialogFixture)2 JListFixture (org.fest.swing.fixture.JListFixture)2 JTextComponentFixture (org.fest.swing.fixture.JTextComponentFixture)2 JTreeFixture (org.fest.swing.fixture.JTreeFixture)2 ThemeSelectionDialogFixture (com.android.tools.idea.tests.gui.framework.fixture.ThemeSelectionDialogFixture)1 AndroidThemePreviewPanelFixture (com.android.tools.idea.tests.gui.framework.fixture.theme.AndroidThemePreviewPanelFixture)1 PublicAtsApi (com.axway.ats.common.PublicAtsApi)1 ElementNotFoundException (com.axway.ats.uiengine.exceptions.ElementNotFoundException)1 UiElementException (com.axway.ats.uiengine.exceptions.UiElementException)1 SwingDriverInternal (com.axway.ats.uiengine.internal.driver.SwingDriverInternal)1 SwingElementState (com.axway.ats.uiengine.utilities.swing.SwingElementState)1 LogModel (com.intellij.notification.LogModel)1 Notification (com.intellij.notification.Notification)1 Content (com.intellij.ui.content.Content)1