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