Search in sources :

Example 6 with JTextComponentFixture

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

the class BuildSignedApkDialogCreateKeystoreSubDialogFixture method keyPasswordConfirm.

@NotNull
public BuildSignedApkDialogCreateKeystoreSubDialogFixture keyPasswordConfirm(@NotNull String password) {
    JPasswordField passwordField = robot().finder().findByName("myConfirmKeyPasswordField", JPasswordField.class);
    new JTextComponentFixture(robot(), passwordField).enterText(password);
    return this;
}
Also used : JTextComponentFixture(org.fest.swing.fixture.JTextComponentFixture) NotNull(org.jetbrains.annotations.NotNull)

Example 7 with JTextComponentFixture

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

the class BuildSignedApkDialogCreateKeystoreSubDialogFixture method keyPassword.

@NotNull
public BuildSignedApkDialogCreateKeystoreSubDialogFixture keyPassword(@NotNull String password) {
    JPasswordField passwordField = robot().finder().findByName("myKeyPasswordField", JPasswordField.class);
    new JTextComponentFixture(robot(), passwordField).enterText(password);
    return this;
}
Also used : JTextComponentFixture(org.fest.swing.fixture.JTextComponentFixture) NotNull(org.jetbrains.annotations.NotNull)

Example 8 with JTextComponentFixture

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

the class BuildSignedApkDialogCreateKeystoreSubDialogFixture method stateOrProvince.

@NotNull
public BuildSignedApkDialogCreateKeystoreSubDialogFixture stateOrProvince(@NotNull String state) {
    JTextField stateComponent = robot().finder().findByLabel("State or Province:", JTextField.class);
    new JTextComponentFixture(robot(), stateComponent).enterText(state);
    return this;
}
Also used : JTextComponentFixture(org.fest.swing.fixture.JTextComponentFixture) NotNull(org.jetbrains.annotations.NotNull)

Example 9 with JTextComponentFixture

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

the class BuildSignedApkDialogCreateKeystoreSubDialogFixture method password.

@NotNull
public BuildSignedApkDialogCreateKeystoreSubDialogFixture password(@NotNull String password) {
    JPasswordField passwordField = robot().finder().findByName("myPasswordField", JPasswordField.class);
    new JTextComponentFixture(robot(), passwordField).enterText(password);
    return this;
}
Also used : JTextComponentFixture(org.fest.swing.fixture.JTextComponentFixture) NotNull(org.jetbrains.annotations.NotNull)

Example 10 with JTextComponentFixture

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

the class BuildSignedApkDialogCreateKeystoreSubDialogFixture method cityOrLocality.

@NotNull
public BuildSignedApkDialogCreateKeystoreSubDialogFixture cityOrLocality(@NotNull String city) {
    JTextField cityComponent = robot().finder().findByLabel("City or Locality:", JTextField.class);
    new JTextComponentFixture(robot(), cityComponent).enterText(city);
    return this;
}
Also used : JTextComponentFixture(org.fest.swing.fixture.JTextComponentFixture) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

JTextComponentFixture (org.fest.swing.fixture.JTextComponentFixture)22 NotNull (org.jetbrains.annotations.NotNull)15 JTextComponent (javax.swing.text.JTextComponent)3 PublicAtsApi (com.axway.ats.common.PublicAtsApi)2 SwingElementState (com.axway.ats.uiengine.utilities.swing.SwingElementState)2 TextFieldWithBrowseButton (com.intellij.openapi.ui.TextFieldWithBrowseButton)2 ComponentLookupException (org.fest.swing.exception.ComponentLookupException)2 JComboBoxFixture (org.fest.swing.fixture.JComboBoxFixture)2 JListFixture (org.fest.swing.fixture.JListFixture)2 JTreeFixture (org.fest.swing.fixture.JTreeFixture)2 Test (org.junit.Test)2 ThemeSelectionDialogFixture (com.android.tools.idea.tests.gui.framework.fixture.ThemeSelectionDialogFixture)1 AndroidThemePreviewPanelFixture (com.android.tools.idea.tests.gui.framework.fixture.theme.AndroidThemePreviewPanelFixture)1 NewStyleDialogFixture (com.android.tools.idea.tests.gui.framework.fixture.theme.NewStyleDialogFixture)1 ThemeEditorFixture (com.android.tools.idea.tests.gui.framework.fixture.theme.ThemeEditorFixture)1 ElementNotFoundException (com.axway.ats.uiengine.exceptions.ElementNotFoundException)1 SwingDriverInternal (com.axway.ats.uiengine.internal.driver.SwingDriverInternal)1 Component (java.awt.Component)1 StringSelection (java.awt.datatransfer.StringSelection)1 File (java.io.File)1