[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7564) org.jboss.tools.jsf.ui.test.AddJSFCapabilitiesTest JUnit Test breaks the other tests execution
Viacheslav Kabanovich (JIRA)
jira-events at lists.jboss.org
Fri Nov 12 08:58:36 EST 2010
[ https://jira.jboss.org/browse/JBIDE-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563100#comment-12563100 ]
Viacheslav Kabanovich commented on JBIDE-7564:
----------------------------------------------
I suggest setting Web Development perspective before invoking wizard.performFinish() in testAddJSFCapabilities().
IPerspectiveDescriptor p = PlatformUI.getWorkbench().getPerspectiveRegistry().findPerspectiveWithId("org.jboss.tools.jst.web.ui.WebDevelopmentPerspective");
if(p != null) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().setPerspective(p);
I will commit that. Denis, if you have another solution, please roll my change back.
> org.jboss.tools.jsf.ui.test.AddJSFCapabilitiesTest JUnit Test breaks the other tests execution
> ----------------------------------------------------------------------------------------------
>
> Key: JBIDE-7564
> URL: https://jira.jboss.org/browse/JBIDE-7564
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: JSF, testing
> Affects Versions: 3.2.0.Beta1
> Reporter: Victor Rubezhny
> Assignee: Denis Golovin
> Fix For: 3.2.0.Beta2
>
>
> While executing the AddJSFCapabilitiesTest the "Open Perspective" dialog appears and test waits for the user to answer.
> In tycho-build this results in breaking by time-out for the test. All the tests that are to be started after this test fail in their initialization.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list