use of org.jboss.tools.openshift.reddeer.preference.page.OpenShifIOPreferencePage in project jbosstools-openshift by jbosstools.
the class GetOpenShiftIOTokenTest method removeAccountFromOpenShiftIOPreferencePage.
private static void removeAccountFromOpenShiftIOPreferencePage() {
WorkbenchPreferenceDialog preferences = new WorkbenchPreferenceDialog();
preferences.open();
OpenShifIOPreferencePage page = new OpenShifIOPreferencePage(preferences);
preferences.select(page);
if (page.existsOpenShiftIOAccount()) {
page.remove();
}
preferences.ok();
}
use of org.jboss.tools.openshift.reddeer.preference.page.OpenShifIOPreferencePage in project jbosstools-openshift by jbosstools.
the class GetOpenShiftIOTokenTest method checkAccountInProperties.
private void checkAccountInProperties() {
WorkbenchPreferenceDialog preferences = new WorkbenchPreferenceDialog();
preferences.open();
OpenShifIOPreferencePage page = new OpenShifIOPreferencePage(preferences);
preferences.select(page);
assertTrue("Account is not configured!", page.existsOpenShiftIOAccount());
preferences.ok();
}
Aggregations