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

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


    String shellTitle = UIText.CreateTagDialog_NewTag;
    SWTBotShell createDialog = bot.shell(shellTitle).activate();
    TestUtil.joinJobs(JobFamilies.FILL_TAG_LIST);
    createDialog.bot().textWithLabel(UIText.CreateTagDialog_tagName)
        .setText(name);
    createDialog.bot()
        .styledTextWithLabel(UIText.CreateTagDialog_tagMessage)
        .setText(message);
    createDialog.bot().button(UIText.CreateTagDialog_CreateTagButton)
        .click();
    TestUtil.joinJobs(JobFamilies.TAG);
View Full Code Here


    createDialog.bot().textWithLabel(UIText.CreateTagDialog_tagName)
        .setText(name);
    createDialog.bot()
        .styledTextWithLabel(UIText.CreateTagDialog_tagMessage)
        .setText(message);
    createDialog.bot().button(UIText.CreateTagDialog_CreateTagButton)
        .click();
    TestUtil.joinJobs(JobFamilies.TAG);
  }

  private String getObjectIdOfCommit() throws Exception {
View Full Code Here

    tree.getAllItems()[0].select();
    ContextMenuHelper.clickContextMenu(tree, myUtil
        .getPluginLocalizedValue(REMOVE_REPOSITORY_CONTEXT_MENU_LABEL));
    SWTBotShell shell = bot
        .shell(UIText.RepositoriesView_ConfirmProjectDeletion_WindowTitle);
    shell.bot().button(IDialogConstants.YES_LABEL).click();
    refreshAndWait();
    assertEmpty();
    assertProjectExistence(PROJ1, false);
  }
View Full Code Here

    tree.getAllItems()[0].select();
    ContextMenuHelper.clickContextMenu(tree, myUtil
        .getPluginLocalizedValue(REMOVE_REPOSITORY_CONTEXT_MENU_LABEL));
    SWTBotShell shell = bot
        .shell(UIText.RepositoriesView_ConfirmProjectDeletion_WindowTitle);
    shell.bot().button(IDialogConstants.NO_LABEL).click();
    refreshAndWait();
    assertEmpty();
    assertProjectExistence(PROJ1, true);
  }
View Full Code Here

    tree.getAllItems()[0].select();
    ContextMenuHelper.clickContextMenu(tree, myUtil
        .getPluginLocalizedValue(REMOVE_REPOSITORY_CONTEXT_MENU_LABEL));
    SWTBotShell shell = bot
        .shell(UIText.RepositoriesView_ConfirmProjectDeletion_WindowTitle);
    shell.bot().button(IDialogConstants.CANCEL_LABEL).click();
    refreshAndWait();
    assertHasRepo(repositoryFile);
    assertProjectExistence(PROJ1, true);
  }
View Full Code Here

            myUtil
                .getPluginLocalizedValue("RepoViewAddRepository.tooltip"))
        .click();
    SWTBotShell shell = bot
        .shell(UIText.RepositorySearchDialog_AddGitRepositories);
    shell.bot().textWithLabel(UIText.RepositorySearchDialog_directory)
        .setText(getTestDirectory().getPath());
    shell.bot().button(UIText.RepositorySearchDialog_Search).click();
    shell.bot().button(IDialogConstants.FINISH_LABEL).click();
    refreshAndWait();
    assertHasRepo(repositoryFile);
View Full Code Here

        .click();
    SWTBotShell shell = bot
        .shell(UIText.RepositorySearchDialog_AddGitRepositories);
    shell.bot().textWithLabel(UIText.RepositorySearchDialog_directory)
        .setText(getTestDirectory().getPath());
    shell.bot().button(UIText.RepositorySearchDialog_Search).click();
    shell.bot().button(IDialogConstants.FINISH_LABEL).click();
    refreshAndWait();
    assertHasRepo(repositoryFile);
  }
View Full Code Here

    SWTBotShell shell = bot
        .shell(UIText.RepositorySearchDialog_AddGitRepositories);
    shell.bot().textWithLabel(UIText.RepositorySearchDialog_directory)
        .setText(getTestDirectory().getPath());
    shell.bot().button(UIText.RepositorySearchDialog_Search).click();
    shell.bot().button(IDialogConstants.FINISH_LABEL).click();
    refreshAndWait();
    assertHasRepo(repositoryFile);
  }

  @Test
View Full Code Here

        .toolbarButton(
            myUtil
                .getPluginLocalizedValue("RepoViewCloneRepository.tooltip"))
        .click();
    SWTBotShell shell = bot.shell(UIText.GitCloneWizard_title);
    shell.bot().tree().select("Clone URI");

    shell.bot().button("Next >").click();    // for some reason, textWithLabel doesn't seem to work
    shell.bot()
        .textInGroup(UIText.RepositorySelectionPage_groupLocation, 0)
        .setText(repositoryFile.getPath());
View Full Code Here

                .getPluginLocalizedValue("RepoViewCloneRepository.tooltip"))
        .click();
    SWTBotShell shell = bot.shell(UIText.GitCloneWizard_title);
    shell.bot().tree().select("Clone URI");

    shell.bot().button("Next >").click();    // for some reason, textWithLabel doesn't seem to work
    shell.bot()
        .textInGroup(UIText.RepositorySelectionPage_groupLocation, 0)
        .setText(repositoryFile.getPath());
    shell.bot().button(IDialogConstants.NEXT_LABEL).click();
    bot.waitUntil(widgetIsEnabled(shell.bot().tree()), 60000);
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.