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

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


        action.getShell().open();
      }
    });

    SWTBotShell bot = new SWTBotShell(action.getShell());
    bot.bot().link().click();

    Format format = new SimpleDateFormat(CalendarAction.DATE_FORMAT);
    assertEquals(format.format(today.getTime()), action.getText());

    Calendar cal = action.getCalendar();
View Full Code Here


      }
    }));
   
    SWTBotShell shell = mBot.shell("Create string literal");
    shell.activate();
    SWTBotText text = shell.bot().textWithLabel(
        "Enter string literal value");
    text.typeText(name + "\n");
  }
}
View Full Code Here

      }
    }));
   
    SWTBotShell shell = mBot.shell("Create string literal");
    shell.activate();
    SWTBotText text = shell.bot().textWithLabel("Enter string literal value");
    text.typeText("Test String Literal\n");
   
    //Should have the literal now
    Pair<Shape, EObject> here = TestUtil.getLiteralWithName(
        "\"Test String Literal\"", d);
View Full Code Here

    tree.getAllItems()[0].select();
    ContextMenuHelper.clickContextMenu(tree, myUtil
        .getPluginLocalizedValue(DELETE_REPOSITORY_CONTEXT_MENU_LABEL));
    SWTBotShell shell = bot.shell(UIText.DeleteRepositoryConfirmDialog_DeleteRepositoryWindowTitle);
    shell.activate();
    shell.bot()
        .checkBox(
            UIText.DeleteRepositoryConfirmDialog_DeleteGitDirCheckbox)
        .select();
    shell.bot()
        .checkBox(
View Full Code Here

    shell.activate();
    shell.bot()
        .checkBox(
            UIText.DeleteRepositoryConfirmDialog_DeleteGitDirCheckbox)
        .select();
    shell.bot()
        .checkBox(
            UIText.DeleteRepositoryConfirmDialog_DeleteWorkingDirectoryCheckbox)
        .select();
    shell.bot().button(IDialogConstants.OK_LABEL).click();
    TestUtil.joinJobs(JobFamilies.REPOSITORY_DELETE);
View Full Code Here

        .select();
    shell.bot()
        .checkBox(
            UIText.DeleteRepositoryConfirmDialog_DeleteWorkingDirectoryCheckbox)
        .select();
    shell.bot().button(IDialogConstants.OK_LABEL).click();
    TestUtil.joinJobs(JobFamilies.REPOSITORY_DELETE);

    refreshAndWait();
    assertEmpty();
    assertProjectExistence(PROJ1, false);
View Full Code Here

    ContextMenuHelper.clickContextMenu(tree, myUtil
        .getPluginLocalizedValue(DELETE_REPOSITORY_CONTEXT_MENU_LABEL));
    SWTBotShell shell = bot
        .shell(UIText.DeleteRepositoryConfirmDialog_DeleteRepositoryWindowTitle);
    shell.activate();
    shell.bot()
        .checkBox(
            UIText.DeleteRepositoryConfirmDialog_DeleteGitDirCheckbox)
        .select();
    shell.bot()
        .checkBox(
View Full Code Here

    shell.activate();
    shell.bot()
        .checkBox(
            UIText.DeleteRepositoryConfirmDialog_DeleteGitDirCheckbox)
        .select();
    shell.bot()
        .checkBox(
            UIText.DeleteRepositoryConfirmDialog_DeleteWorkingDirectoryCheckbox)
        .select();
    shell.bot().button(IDialogConstants.OK_LABEL).click();
    TestUtil.joinJobs(JobFamilies.REPOSITORY_DELETE);
View Full Code Here

        .select();
    shell.bot()
        .checkBox(
            UIText.DeleteRepositoryConfirmDialog_DeleteWorkingDirectoryCheckbox)
        .select();
    shell.bot().button(IDialogConstants.OK_LABEL).click();
    TestUtil.joinJobs(JobFamilies.REPOSITORY_DELETE);

    refreshAndWait();
    assertFalse(subRepo.getDirectory().exists());
    assertFalse(subRepo.getWorkTree().exists());
View Full Code Here

        .expand();
    remotesItem.select();
    ContextMenuHelper.clickContextMenu(tree, myUtil
        .getPluginLocalizedValue("NewRemoteCommand"));
    SWTBotShell shell = bot.shell(UIText.NewRemoteDialog_WindowTitle);
    shell.bot().textWithLabel(UIText.NewRemoteDialog_NameLabel).setText(
        "testRemote");
    // configure fetch first
    shell.bot().radio(UIText.NewRemoteDialog_FetchRadio).click();
    shell.bot().button(IDialogConstants.OK_LABEL).click();
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.