Author: dgolovin
Date: 2007-09-21 13:38:07 -0400 (Fri, 21 Sep 2007)
New Revision: 3760
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.mozilla.test/src/org/jboss/tools/vpe/mozilla/tests/DOMCreatingTest.java
Log:
fix JUnit test error
testAddRemovingDOMElements Error XPCOM error -2147467262
org.jboss.tools.vpe.mozilla.internal.swt.xpl.XPCOMError: XPCOM error -2147467262
at org.jboss.tools.vpe.mozilla.browser.MozillaBrowser.error(MozillaBrowser.java:1111)
at
org.jboss.tools.vpe.mozilla.browser.MozillaBrowser.getPresShell(MozillaBrowser.java:2639)
at
org.jboss.tools.vpe.mozilla.browser.MozillaBrowser.getSelectionController(MozillaBrowser.java:2678)
at
org.jboss.tools.vpe.mozilla.browser.MozillaBrowser.onFocusGained(MozillaBrowser.java:1195)
at
org.jboss.tools.vpe.mozilla.browser.MozillaBrowser$1.handleEvent(MozillaBrowser.java:456)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.mozilla.test/src/org/jboss/tools/vpe/mozilla/tests/DOMCreatingTest.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.mozilla.test/src/org/jboss/tools/vpe/mozilla/tests/DOMCreatingTest.java 2007-09-21
17:36:21 UTC (rev 3759)
+++
trunk/vpe/tests/org.jboss.tools.vpe.mozilla.test/src/org/jboss/tools/vpe/mozilla/tests/DOMCreatingTest.java 2007-09-21
17:38:07 UTC (rev 3760)
@@ -108,6 +108,7 @@
@Override
protected void setUp() throws Exception {
super.setUp();
+ delay(3000);
waitForJobs();
MozillaView mozilla
= ((MozillaView) PlatformUI.getWorkbench()