Author: dgolovin
Date: 2011-07-28 12:23:37 -0400 (Thu, 28 Jul 2011)
New Revision: 33308
Modified:
trunk/jst/tests/org.jboss.tools.jst.text.ext.test/src/org/jboss/tools/jst/text/ext/test/CSSStylesheetOpenOnTest.java
Log:
removed not required JobUtils.waitForIdle(2000) and JobUtils.waitForIdle()
Modified:
trunk/jst/tests/org.jboss.tools.jst.text.ext.test/src/org/jboss/tools/jst/text/ext/test/CSSStylesheetOpenOnTest.java
===================================================================
---
trunk/jst/tests/org.jboss.tools.jst.text.ext.test/src/org/jboss/tools/jst/text/ext/test/CSSStylesheetOpenOnTest.java 2011-07-28
16:00:22 UTC (rev 33307)
+++
trunk/jst/tests/org.jboss.tools.jst.text.ext.test/src/org/jboss/tools/jst/text/ext/test/CSSStylesheetOpenOnTest.java 2011-07-28
16:23:37 UTC (rev 33308)
@@ -38,7 +38,6 @@
project = ResourcesPlugin.getWorkspace().getRoot().getProject(
PROJECT_NAME);
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().closeAllEditors(false);
- JobUtils.waitForIdle();
}
protected void tearDown() {
@@ -55,7 +54,6 @@
final String valueToFind = "style.css";
IEditorPart editor = WorkbenchUtils.openEditor(PAGE_NAME);
assertTrue(editor instanceof JSPMultiPageEditor);
- JobUtils.waitForIdle();
JSPMultiPageEditor jspMultyPageEditor = (JSPMultiPageEditor) editor;
ISourceViewer viewer = jspMultyPageEditor.getSourceEditor().getTextViewer();
@@ -79,7 +77,6 @@
assertNotNull(link.toString());
link.open();
- JobUtils.waitForIdle(2000);
IEditorPart resultEditor =
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
if(editorName.equals(resultEditor.getTitle())){
@@ -96,7 +93,6 @@
final String valueToFind = "red";
IEditorPart editor = WorkbenchUtils.openEditor(PAGE_NAME);
assertTrue(editor instanceof JSPMultiPageEditor);
- JobUtils.waitForIdle();
JSPMultiPageEditor jspMultyPageEditor = (JSPMultiPageEditor) editor;
ISourceViewer viewer = jspMultyPageEditor.getSourceEditor().getTextViewer();
@@ -120,7 +116,6 @@
assertNotNull(link.toString());
link.open();
- JobUtils.waitForIdle(2000);
IEditorPart resultEditor =
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
if(editorName.equals(resultEditor.getTitle())){