1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00

Fix for Bug 172312 - No difference between SKIP_ALL and SKIP_INDEXED mode (follow up)

This commit is contained in:
Anton Leherbauer 2007-02-05 16:01:51 +00:00
parent d686621b48
commit 1f365b4237
2 changed files with 3 additions and 16 deletions

View file

@ -18,6 +18,7 @@ import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.eclipse.cdt.core.CCorePlugin;
import org.eclipse.cdt.core.dom.IPDOMManager;
import org.eclipse.cdt.core.model.CModelException;
import org.eclipse.cdt.core.model.CoreModel;
@ -87,6 +88,8 @@ public class CModelElementsTests extends TestCase {
e.printStackTrace();
}
}
// make sure the index is up-to-date
assertTrue(CCorePlugin.getIndexManager().joinIndexer(10000, new NullProgressMonitor()));
}

View file

@ -42,7 +42,6 @@ public abstract class IntegratedCModelTest extends TestCase {
private IFile sourceFile;
private NullProgressMonitor monitor;
private boolean structuralParse = false;
private boolean fUseNewModelBuilder= true;
/**
*
@ -114,19 +113,4 @@ public abstract class IntegratedCModelTest extends TestCase {
this.structuralParse = structuralParse;
}
/**
* @return whether to use the new model builder or not
*/
public boolean useNewModelBuilder() {
return fUseNewModelBuilder;
}
/**
* Set whether to use the new model builder.
* @param useNewModelBuilder
*/
public TestCase setUseNewModelBuilder(boolean useNewModelBuilder) {
fUseNewModelBuilder = useNewModelBuilder;
return this;
}
}