[jbosstools-issues] [JBoss JIRA] (JBIDE-14307) create unit-tests for Importing procedures
Andre Dietisheim (JIRA)
jira-events at lists.jboss.org
Wed Apr 24 10:38:53 EDT 2013
[ https://issues.jboss.org/browse/JBIDE-14307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769896#comment-12769896 ]
Andre Dietisheim commented on JBIDE-14307:
------------------------------------------
the whole importing is done in the OpenShiftExpressApplicationWizard:
{code:title=OpenShiftExpressApplicationWizard}
public boolean performFinish() {
if (!model.isUseExistingApplication()) {
IStatus status = createApplication();
if (!handleOpenShiftError("creating the application", status)) {
return false;
}
status = waitForApplication(model.getApplication());
if (!handleOpenShiftError("waiting to become reachable", status)) {
return false;
}
status = addCartridges(
model.getApplication(),
model.getSelectedEmbeddableCartridges());
if (!handleOpenShiftError("add/remove cartridges", status)) {
return false;
}
model.fireConnectionChanged();
}
if(!importProject()) {
return false;
}
if (!createServerAdapter()) {
return false;
}
return publishServerAdapter();
}
{code}
> create unit-tests for Importing procedures
> ------------------------------------------
>
> Key: JBIDE-14307
> URL: https://issues.jboss.org/browse/JBIDE-14307
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Affects Versions: 4.1.0.Alpha1
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Fix For: 4.1.x
>
>
> The import startegies / procedures are pretty complex and we definitely should unit-test them.
> Unfortunately they're still very tied to the UI and thus there's still some work to do to be able to unit-test them.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list