Author: mareshkau
Date: 2008-01-14 14:53:30 -0500 (Mon, 14 Jan 2008)
New Revision: 5676
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1628
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java 2008-01-14
19:13:59 UTC (rev 5675)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java 2008-01-14
19:53:30 UTC (rev 5676)
@@ -20,6 +20,7 @@
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.part.FileEditorInput;
+import org.jboss.tools.common.model.util.ClassLoaderUtil;
import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor;
import org.jboss.tools.vpe.editor.VpeController;
import org.jboss.tools.vpe.editor.VpeEditorPart;
@@ -46,6 +47,12 @@
// check warning log
private Boolean checkWarning;
+ //FIX for JBIDE-1628
+ static {
+ ClassLoaderUtil.init();
+ //wait for initialization
+ TestUtil.delay(3000);
+ }
/**
*
* @param name
@@ -173,7 +180,7 @@
assertNotNull(editor);
TestUtil.waitForJobs();
- TestUtil.delay(1000);
+ TestUtil.delay(100);
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()
.closeAllEditors(true);