use of org.eclipse.reddeer.eclipse.ui.views.properties.PropertySheet in project linuxtools by eclipse.
the class PropertiesViewTest method testImagePropertiesTab.
@Test
public void testImagePropertiesTab() {
DockerImagesTab imagesTab = openDockerImagesTab();
imagesTab.selectImage(IMAGE_NAME);
// DockerExplorerView de = new DockerExplorerView();
// de.open();
// de.getDockerConnectionByName(getConnection().getName()).getImage(IMAGE_NAME).select();
PropertySheet propertiesView = new PropertySheet();
propertiesView.open();
propertiesView.selectTab("Info");
}
use of org.eclipse.reddeer.eclipse.ui.views.properties.PropertySheet in project jbosstools-openshift by jbosstools.
the class ImportApplicationWizardGitTest method getOriginURL.
private String getOriginURL() {
project.select();
project.openProperties();
project.selectTabbedProperty("Builds");
PropertySheet propertiesView = new PropertySheet();
new DefaultTable().getItem(0).select();
String originURL = propertiesView.getProperty("Misc", "Source Repo").getPropertyValue();
return originURL;
}
use of org.eclipse.reddeer.eclipse.ui.views.properties.PropertySheet in project jbosstools-openshift by jbosstools.
the class ConnectionPropertiesTest method testConnectionProperties.
@Test
public void testConnectionProperties() {
OpenShiftExplorerView explorer = new OpenShiftExplorerView();
explorer.open();
OpenShift3Connection connection = explorer.getOpenShift3Connection(connectionReq.getConnection());
connection.select();
new ContextMenuItem(OpenShiftLabel.ContextMenu.PROPERTIES).select();
PropertySheet propertiesView = new PropertySheet();
propertiesView.activate();
assertEquals("Property host is not valid. Was '" + propertiesView.getProperty(PROPERTY_HOST).getPropertyValue() + "' but was expected '" + DatastoreOS3.SERVER + "'", DatastoreOS3.SERVER, propertiesView.getProperty(PROPERTY_HOST).getPropertyValue());
if (DatastoreOS3.AUTH_METHOD.equals(AuthenticationMethod.BASIC)) {
assertEquals("Property user name is not valid. Was '" + propertiesView.getProperty(PROPERTY_USERNAME).getPropertyValue() + "' but was expected '" + DatastoreOS3.USERNAME + "'", DatastoreOS3.USERNAME, propertiesView.getProperty(PROPERTY_USERNAME).getPropertyValue());
} else {
assertEquals("Property user name is not valid. Was '" + propertiesView.getProperty(PROPERTY_USERNAME).getPropertyValue() + "' but was expected '" + connectionReq.getConnection().getUsername() + "'", connectionReq.getConnection().getUsername(), propertiesView.getProperty(PROPERTY_USERNAME).getPropertyValue());
}
}
Aggregations