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

Refactor CPPSelectionTestsCTagsIndexer to check to see if the proper CTags is installed prior to running the test

This commit is contained in:
Bogdan Gheorghe 2005-05-31 19:43:31 +00:00
parent bfee5d5b13
commit f4ae254411

View file

@ -90,6 +90,10 @@ public class CPPSelectionTestsCTagsIndexer extends BaseSelectionTestsIndexer
//indexManager.reset();
//Get the indexer used for the test project
sourceIndexer = (CTagsIndexer) indexManager.getIndexerForProject(project);
if (!sourceIndexer.validCTagsInstalled())
fail("Exuberant CTags not installed"); //$NON-NLS-1$
sourceIndexer.addIndexChangeListener(this);
}