mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 06:55:23 +02:00
Failing testcase for bug 294306.
This commit is contained in:
parent
e0573bc36d
commit
4d1f5c0b4d
1 changed files with 13 additions and 1 deletions
|
@ -120,7 +120,6 @@ public class IndexUpdateTests extends IndexTestBase {
|
|||
}
|
||||
IProject project= cpp ? fCppProject.getProject() : fCProject.getProject();
|
||||
fFile= TestSourceReader.createFile(project, "file" + (cpp ? ".cpp" : ".c"), fContents[++fContentUsed].toString());
|
||||
fContentUsed= 0;
|
||||
TestSourceReader.waitUntilFileIsIndexed(fIndex, fFile, INDEXER_WAIT_TIME);
|
||||
assertTrue(CCorePlugin.getIndexManager().joinIndexer(INDEXER_WAIT_TIME, NPM));
|
||||
}
|
||||
|
@ -1170,4 +1169,17 @@ public class IndexUpdateTests extends IndexTestBase {
|
|||
fIndex.releaseReadLock();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// void funcTypeDeletion(int);
|
||||
|
||||
// #include "header.h"
|
||||
// typeof(funcTypeDeletion) storeRef;
|
||||
// char funcTypeDeletion(int); // delete type
|
||||
// typeof(storeRef) useRef; // use reference
|
||||
public void _testTypedeletion_Bug294306() throws Exception {
|
||||
setupHeader(2, true);
|
||||
setupFile(2, true);
|
||||
checkFunction("useRef", new String[]{"char", "void"}, new String[]{});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue