use of org.eclipse.swtbot.swt.finder.widgets.SWTBotCheckBox in project linuxtools by eclipse.
the class SourceDisassemblyViewTest method setPerfOptions.
@Override
protected void setPerfOptions(SWTWorkbenchBot bot) {
SWTBotCheckBox chkBox = bot.checkBox("Show Source Disassembly View");
assertNotNull(chkBox);
chkBox.select();
}
use of org.eclipse.swtbot.swt.finder.widgets.SWTBotCheckBox 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);
}
use of org.eclipse.swtbot.swt.finder.widgets.SWTBotCheckBox 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);
}
use of org.eclipse.swtbot.swt.finder.widgets.SWTBotCheckBox in project eclipse-pmd by acanda.
the class EnablePMDTest method enablePMD.
@Test
public void enablePMD() {
SWTBotShell dialog = JavaProjectClient.openPMDPropertyDialog(PROJECT_NAME);
SWTBotCheckBox enablePMDCheckBox = dialog.bot().checkBoxWithId(SWTBotID.ENABLE_PMD.name());
assertFalse("PMD should be disabled by default", enablePMDCheckBox.isChecked());
enablePMDCheckBox.select();
dialog.bot().button("OK").click();
bot().waitUntil(org.eclipse.swtbot.swt.finder.waits.Conditions.shellCloses(dialog));
dialog = JavaProjectClient.openPMDPropertyDialog(PROJECT_NAME);
enablePMDCheckBox = dialog.bot().checkBoxWithId(SWTBotID.ENABLE_PMD.name());
assertTrue("PMD should be enabled", enablePMDCheckBox.isChecked());
dialog.bot().button("OK").click();
bot().waitUntil(org.eclipse.swtbot.swt.finder.waits.Conditions.shellCloses(dialog));
}
use of org.eclipse.swtbot.swt.finder.widgets.SWTBotCheckBox in project linuxtools by eclipse.
the class ReportComparisonViewTest method setPerfOptions.
@Override
protected void setPerfOptions(SWTWorkbenchBot bot) {
SWTBotCheckBox chkBox = bot.checkBox("Show Source Disassembly View");
assertNotNull(chkBox);
chkBox.select();
}
Aggregations