Search in sources :

Example 1 with JavaDebugPreferencePage

use of org.jboss.tools.openshift.reddeer.preference.page.JavaDebugPreferencePage in project jbosstools-openshift by jbosstools.

the class DebuggingEAPAppTest method doNotSuspendOnUncaughtExceptions.

private static void doNotSuspendOnUncaughtExceptions() {
    WorkbenchPreferenceDialog workbenchPreferenceDialog = new WorkbenchPreferenceDialog();
    workbenchPreferenceDialog.open();
    JavaDebugPreferencePage javaDebugPreferencePage = new JavaDebugPreferencePage(workbenchPreferenceDialog);
    workbenchPreferenceDialog.select(javaDebugPreferencePage);
    javaDebugPreferencePage.setSuspendOnUncaughtExceptions(false);
    workbenchPreferenceDialog.ok();
}
Also used : JavaDebugPreferencePage(org.jboss.tools.openshift.reddeer.preference.page.JavaDebugPreferencePage) WorkbenchPreferenceDialog(org.eclipse.reddeer.workbench.ui.dialogs.WorkbenchPreferenceDialog)

Aggregations

WorkbenchPreferenceDialog (org.eclipse.reddeer.workbench.ui.dialogs.WorkbenchPreferenceDialog)1 JavaDebugPreferencePage (org.jboss.tools.openshift.reddeer.preference.page.JavaDebugPreferencePage)1