1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-02 22:55:26 +02:00

Make mark occurence test more reliable

This commit is contained in:
Anton Leherbauer 2008-01-24 10:10:55 +00:00
parent 0a8351dce8
commit 571e7a6a7c

View file

@ -244,6 +244,7 @@ public class MarkOccurrenceTest extends TestCase {
SelectionListenerWithASTManager.getDefault().removeListener(fEditor, fSelWASTListener);
fEditor= openCEditor(new Path("/" + PROJECT + "/src/main.cpp"));
EditorTestHelper.joinReconciler((SourceViewer)fEditor.getViewer(), 10, 200, 20);
SelectionListenerWithASTManager.getDefault().addListener(fEditor, fSelWASTListener);
fDocument= fEditor.getDocumentProvider().getDocument(fEditor.getEditorInput());
assertNotNull(fDocument);