Package org.eclipse.swtbot.swt.finder.widgets

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotShell.bot()


        .button(UIText.SimpleConfigurePushDialog_AddRefSpecButton, 1)
        .click();
    // add push spec
    shell = bot.shell(UIText.RefSpecDialog_WindowTitle);

    shell.bot().textWithLabel(UIText.RefSpecDialog_SourceBranchPushLabel)
        .setText("HEAD");
    shell.bot().textWithLabel(UIText.RefSpecDialog_DestinationPushLabel)
        .setText("refs/for/master");
    final Text text2 = shell.bot().textWithLabel(
        UIText.RefSpecDialog_DestinationPushLabel).widget;
View Full Code Here


    // add push spec
    shell = bot.shell(UIText.RefSpecDialog_WindowTitle);

    shell.bot().textWithLabel(UIText.RefSpecDialog_SourceBranchPushLabel)
        .setText("HEAD");
    shell.bot().textWithLabel(UIText.RefSpecDialog_DestinationPushLabel)
        .setText("refs/for/master");
    final Text text2 = shell.bot().textWithLabel(
        UIText.RefSpecDialog_DestinationPushLabel).widget;
    shell.display.syncExec(new Runnable() {
View Full Code Here

    shell.bot().textWithLabel(UIText.RefSpecDialog_SourceBranchPushLabel)
        .setText("HEAD");
    shell.bot().textWithLabel(UIText.RefSpecDialog_DestinationPushLabel)
        .setText("refs/for/master");
    final Text text2 = shell.bot().textWithLabel(
        UIText.RefSpecDialog_DestinationPushLabel).widget;
    shell.display.syncExec(new Runnable() {

      public void run() {
        // focus for update of other fields
View Full Code Here

        text2.setFocus();
        text2.notifyListeners(SWT.Modify, new Event());
      }
    });

    shell.bot().button(IDialogConstants.OK_LABEL).click();

    // back to dialog
    shell = bot.shell(shellText);
    shell.bot().button(UIText.SimpleConfigurePushDialog_SaveButton).click();
    refreshAndWait();
View Full Code Here

    shell.bot().button(IDialogConstants.OK_LABEL).click();

    // back to dialog
    shell = bot.shell(shellText);
    shell.bot().button(UIText.SimpleConfigurePushDialog_SaveButton).click();
    refreshAndWait();
    // assert 2 children
    item = myRepoViewUtil.getRemotesItem(tree, repositoryFile).expand()
        .getNode("testRemote").expand();
    children = item.getNodes();
View Full Code Here

    item.select();
    ContextMenuHelper.clickContextMenu(tree, myUtil
        .getPluginLocalizedValue("RepoViewRemoveRemote.label"));
    shell = bot.shell(UIText.RepositoriesView_ConfirmDeleteRemoteHeader);
    // Cancel
    shell.bot().button(IDialogConstants.CANCEL_LABEL).click();

    refreshAndWait();
    // assert 2 children
    item = myRepoViewUtil.getRemotesItem(tree, repositoryFile).expand()
        .getNode("testRemote").expand();
View Full Code Here

    SWTBotShell createPage = bot
        .shell(UIText.CreateBranchWizard_NewBranchTitle);
    createPage.activate();
    // getting text with label doesn't work
    createPage.bot().textWithId("BranchName").setText("newLocal");
    createPage.bot().checkBox(UIText.CreateBranchPage_CheckoutButton)
        .deselect();
    createPage.bot().button(IDialogConstants.FINISH_LABEL).click();
    refreshAndWait();

    localItem = myRepoViewUtil.getLocalBranchesItem(view.bot().tree(),
View Full Code Here

    createPage.activate();
    // getting text with label doesn't work
    createPage.bot().textWithId("BranchName").setText("newLocal");
    createPage.bot().checkBox(UIText.CreateBranchPage_CheckoutButton)
        .deselect();
    createPage.bot().button(IDialogConstants.FINISH_LABEL).click();
    refreshAndWait();

    localItem = myRepoViewUtil.getLocalBranchesItem(view.bot().tree(),
        repositoryFile);
    localItem.expand();
View Full Code Here

    SWTBotShell createPage = bot
        .shell(UIText.CreateBranchWizard_NewBranchTitle);
    createPage.activate();
    // getting text with label doesn't work
    createPage.bot().textWithId("BranchName").setText("newLocal");
    createPage.bot().checkBox(UIText.CreateBranchPage_CheckoutButton)
        .select();
    createPage.bot().button(IDialogConstants.FINISH_LABEL).click();
    TestUtil.joinJobs(JobFamilies.CHECKOUT);
    refreshAndWait();
View Full Code Here

    SWTBotShell createPage = bot
        .shell(UIText.CreateBranchWizard_NewBranchTitle);
    createPage.activate();
    // getting text with label doesn't work
    createPage.bot().textWithId("BranchName").setText("newLocal");
    createPage.bot().checkBox(UIText.CreateBranchPage_CheckoutButton)
        .select();
    createPage.bot().button(IDialogConstants.FINISH_LABEL).click();
    TestUtil.joinJobs(JobFamilies.CHECKOUT);
    refreshAndWait();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.