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:
parent
9ef94dcd6c
commit
8cdcd5289f
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ public class AbstractSemanticHighlightingTest extends TestCase {
|
||||||
|
|
||||||
fEditor= (CEditor) EditorTestHelper.openInEditor(ResourceTestHelper.findFile(fTestFilename), true);
|
fEditor= (CEditor) EditorTestHelper.openInEditor(ResourceTestHelper.findFile(fTestFilename), true);
|
||||||
fSourceViewer= EditorTestHelper.getSourceViewer(fEditor);
|
fSourceViewer= EditorTestHelper.getSourceViewer(fEditor);
|
||||||
assertTrue(EditorTestHelper.joinReconciler(fSourceViewer, 0, 10000, 100));
|
assertTrue(EditorTestHelper.joinReconciler(fSourceViewer, 500, 10000, 100));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected String getTestFilename() {
|
protected String getTestFilename() {
|
||||||
|
@ -140,7 +140,7 @@ public class AbstractSemanticHighlightingTest extends TestCase {
|
||||||
fCurrentHighlighting= semanticHighlighting;
|
fCurrentHighlighting= semanticHighlighting;
|
||||||
enableSemanticHighlighting(semanticHighlighting);
|
enableSemanticHighlighting(semanticHighlighting);
|
||||||
EditorTestHelper.forceReconcile(fSourceViewer);
|
EditorTestHelper.forceReconcile(fSourceViewer);
|
||||||
assertTrue(EditorTestHelper.joinReconciler(fSourceViewer, 0, 10000, 100));
|
assertTrue(EditorTestHelper.joinReconciler(fSourceViewer, 500, 10000, 100));
|
||||||
EditorTestHelper.runEventQueue(100);
|
EditorTestHelper.runEventQueue(100);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue