Author: mareshkau
Date: 2011-03-15 06:58:31 -0400 (Tue, 15 Mar 2011)
New Revision: 29784
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.base.test/src/org/jboss/tools/vpe/base/test/VpeTestSetup.java
Log:
https://issues.jboss.org/browse/JBIDE-5820,
https://jira.jboss.org/jira/browse/JBIDE-5821
we have moved to new wtp version, -> removed not relevant code
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.base.test/src/org/jboss/tools/vpe/base/test/VpeTestSetup.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe.base.test/src/org/jboss/tools/vpe/base/test/VpeTestSetup.java 2011-03-15
10:46:16 UTC (rev 29783)
+++
trunk/vpe/plugins/org.jboss.tools.vpe.base.test/src/org/jboss/tools/vpe/base/test/VpeTestSetup.java 2011-03-15
10:58:31 UTC (rev 29784)
@@ -10,10 +10,6 @@
******************************************************************************/
package org.jboss.tools.vpe.base.test;
-import org.eclipse.ui.IViewReference;
-import org.eclipse.ui.PlatformUI;
-//import org.jboss.tools.vpe.ui.test.ProjectsLoader;
-
import junit.extensions.TestSetup;
import junit.framework.TestSuite;
@@ -25,7 +21,7 @@
*
*/
public class VpeTestSetup extends TestSetup {
- private static final String CONTENT_OUTLINE_VIEW_ID =
"org.eclipse.ui.views.ContentOutline";
+
public VpeTestSetup(TestSuite test) {
super(test);
@@ -36,14 +32,6 @@
*/
@Override
protected void setUp() throws Exception {
- //added by Maksim Areshkau, Fix for
https://jira.jboss.org/jira/browse/JBIDE-5820
https://jira.jboss.org/jira/browse/JBIDE-5821
- //remove this code when we will move on wtp 3.2
- IViewReference[] iviewReferences=
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getViewReferences();
- for (IViewReference iViewReference : iviewReferences) {
-
if(VpeTestSetup.CONTENT_OUTLINE_VIEW_ID.equalsIgnoreCase(iViewReference.getId())){
-
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().hideView(iViewReference);
- }
- }
}
/* (non-Javadoc)