-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
CDT Luna will contain a fix that makes all cdt-indexer tests reliable. For cdttesting, this will allow to simplify indexer setup.
the setupIndex method of CDTProjectTest can then be reduced to:
private void setUpIndex() throws CoreException {
// reindexing will happen automatically after call of setIndexerId
CCorePlugin.getIndexManager().setIndexerId(cproject, IPDOMManager.ID_FAST_INDEXER);
for (ICProject curProj : referencedProjects) {
CCorePlugin.getIndexManager().setIndexerId(curProj, IPDOMManager.ID_FAST_INDEXER);
}
assertTrue(CCorePlugin.getIndexManager().joinIndexer(IIndexManager.FOREVER, new NullProgressMonitor()));
}
The checkTestStatus() method can be dropped entirely.
Metadata
Metadata
Assignees
Labels
No labels