1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fix semantic highlighting tests

This commit is contained in:
Anton Leherbauer 2006-12-18 10:51:36 +00:00
parent 9ef94dcd6c
commit 8cdcd5289f

View file

@ -57,7 +57,7 @@ public class AbstractSemanticHighlightingTest extends TestCase {
fEditor= (CEditor) EditorTestHelper.openInEditor(ResourceTestHelper.findFile(fTestFilename), true);
fSourceViewer= EditorTestHelper.getSourceViewer(fEditor);
assertTrue(EditorTestHelper.joinReconciler(fSourceViewer, 0, 10000, 100));
assertTrue(EditorTestHelper.joinReconciler(fSourceViewer, 500, 10000, 100));
}
protected String getTestFilename() {
@ -140,7 +140,7 @@ public class AbstractSemanticHighlightingTest extends TestCase {
fCurrentHighlighting= semanticHighlighting;
enableSemanticHighlighting(semanticHighlighting);
EditorTestHelper.forceReconcile(fSourceViewer);
assertTrue(EditorTestHelper.joinReconciler(fSourceViewer, 0, 10000, 100));
assertTrue(EditorTestHelper.joinReconciler(fSourceViewer, 500, 10000, 100));
EditorTestHelper.runEventQueue(100);
}