mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fixes a testcase failure.
This commit is contained in:
parent
edca08b14f
commit
c6fa4817ff
1 changed files with 5 additions and 2 deletions
|
@ -1528,11 +1528,14 @@ public class IndexBugsTests extends BaseTestCase {
|
|||
// void method();
|
||||
// };
|
||||
// #include "MyClass_inline.h"
|
||||
|
||||
// #include "MyClass.h"
|
||||
public void testAddingMemberBeforeContainer_Bug203170() throws Exception {
|
||||
String[] contents= getContentsForTest(2);
|
||||
String[] contents= getContentsForTest(3);
|
||||
final IIndexManager indexManager = CCorePlugin.getIndexManager();
|
||||
TestSourceReader.createFile(fCProject.getProject(), "MyClass_inline.h", contents[0]);
|
||||
TestSourceReader.createFile(fCProject.getProject(), "source.cpp", contents[1]);
|
||||
TestSourceReader.createFile(fCProject.getProject(), "MyClass.h", contents[1]);
|
||||
TestSourceReader.createFile(fCProject.getProject(), "MyClass.cpp", contents[2]);
|
||||
indexManager.reindex(fCProject);
|
||||
waitForIndexer();
|
||||
fIndex.acquireReadLock();
|
||||
|
|
Loading…
Add table
Reference in a new issue