use of org.jboss.tools.cdk.reddeer.preferences.OpenShift3SSLCertificatePreferencePage in project jbosstools-openshift by jbosstools.
the class CDKServerAdapterAbstractTest method printCertificates.
/**
* Prints out Openshift 3 accepted certificates
*/
protected static void printCertificates() {
WorkbenchPreferenceDialog dialog = new WorkbenchPreferenceDialog();
dialog.open();
OpenShift3SSLCertificatePreferencePage preferencePage = new OpenShift3SSLCertificatePreferencePage(dialog);
dialog.select(preferencePage);
preferencePage.printCertificates();
dialog.ok();
}
use of org.jboss.tools.cdk.reddeer.preferences.OpenShift3SSLCertificatePreferencePage in project jbosstools-openshift by jbosstools.
the class CDKServerAdapterAbstractTest method deleteCertificates.
/**
* Deletes all Openshift 3 SSL certificates that were accepted from
* Preferences -> JBossTools -> OpenShift 3 -> SSL Certificates
*/
public static void deleteCertificates() {
WorkbenchPreferenceDialog dialog = new WorkbenchPreferenceDialog();
dialog.open();
OpenShift3SSLCertificatePreferencePage preferencePage = new OpenShift3SSLCertificatePreferencePage(dialog);
dialog.select(preferencePage);
preferencePage.deleteAll();
preferencePage.apply();
dialog.ok();
}
Aggregations