Search in sources :

Example 1 with SWTBotSpinner

use of org.eclipse.swtbot.swt.finder.widgets.SWTBotSpinner in project linuxtools by eclipse.

the class StatComparisonViewTest method setPerfOptions.

@Override
protected void setPerfOptions(SWTWorkbenchBot bot) {
    SWTBotCheckBox chkBox = bot.checkBox("Show Stat View");
    assertNotNull(chkBox);
    chkBox.select();
    SWTBotSpinner spinner = bot.spinner();
    assertNotNull(spinner);
    spinner.setSelection(3);
}
Also used : SWTBotCheckBox(org.eclipse.swtbot.swt.finder.widgets.SWTBotCheckBox) SWTBotSpinner(org.eclipse.swtbot.swt.finder.widgets.SWTBotSpinner)

Example 2 with SWTBotSpinner

use of org.eclipse.swtbot.swt.finder.widgets.SWTBotSpinner in project linuxtools by eclipse.

the class StatViewTest method setPerfOptions.

@Override
protected void setPerfOptions(SWTWorkbenchBot bot) {
    SWTBotCheckBox chkBox = bot.checkBox("Show Stat View");
    assertNotNull(chkBox);
    chkBox.select();
    SWTBotSpinner spinner = bot.spinner();
    assertNotNull(spinner);
    spinner.setSelection(STAT_RUNS);
}
Also used : SWTBotCheckBox(org.eclipse.swtbot.swt.finder.widgets.SWTBotCheckBox) SWTBotSpinner(org.eclipse.swtbot.swt.finder.widgets.SWTBotSpinner)

Aggregations

SWTBotCheckBox (org.eclipse.swtbot.swt.finder.widgets.SWTBotCheckBox)2 SWTBotSpinner (org.eclipse.swtbot.swt.finder.widgets.SWTBotSpinner)2