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:
parent
0a8351dce8
commit
571e7a6a7c
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue