Search in sources :

Example 21 with OpenShift3Connection

use of org.jboss.tools.openshift.reddeer.view.resources.OpenShift3Connection in project jbosstools-openshift by jbosstools.

the class OpenShiftExplorerView method getOpenShiftConnection.

public OpenShift3Connection getOpenShiftConnection(String username, String server) {
    OpenShift3Connection connection = null;
    connection = getOpenShift3Connection(server, username);
    assertNotNull("Unable to get openshift 3 connection.", connection);
    return connection;
}
Also used : OpenShift3Connection(org.jboss.tools.openshift.reddeer.view.resources.OpenShift3Connection)

Aggregations

OpenShift3Connection (org.jboss.tools.openshift.reddeer.view.resources.OpenShift3Connection)21 OpenShiftExplorerView (org.jboss.tools.openshift.reddeer.view.OpenShiftExplorerView)19 WaitWhile (org.eclipse.reddeer.common.wait.WaitWhile)8 WaitUntil (org.eclipse.reddeer.common.wait.WaitUntil)7 ContextMenuItem (org.eclipse.reddeer.swt.impl.menu.ContextMenuItem)7 DefaultShell (org.eclipse.reddeer.swt.impl.shell.DefaultShell)7 Test (org.junit.Test)7 WaitTimeoutExpiredException (org.eclipse.reddeer.common.exception.WaitTimeoutExpiredException)5 ShellIsAvailable (org.eclipse.reddeer.swt.condition.ShellIsAvailable)5 JobIsRunning (org.eclipse.reddeer.workbench.core.condition.JobIsRunning)5 AbstractTest (org.jboss.tools.openshift.ui.bot.test.application.v3.basic.AbstractTest)5 RedDeerException (org.eclipse.reddeer.common.exception.RedDeerException)3 LabeledText (org.eclipse.reddeer.swt.impl.text.LabeledText)3 After (org.junit.After)3 ProjectExplorer (org.eclipse.reddeer.eclipse.ui.navigator.resources.ProjectExplorer)2 PropertySheet (org.eclipse.reddeer.eclipse.ui.views.properties.PropertySheet)2 ControlIsEnabled (org.eclipse.reddeer.swt.condition.ControlIsEnabled)2 FinishButton (org.eclipse.reddeer.swt.impl.button.FinishButton)2 OkButton (org.eclipse.reddeer.swt.impl.button.OkButton)2 PushButton (org.eclipse.reddeer.swt.impl.button.PushButton)2