mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-09 01:05:38 +02:00
Fix template completion test related to bug 172436
This commit is contained in:
parent
a469ebf89d
commit
4b8aaf5b23
1 changed files with 3 additions and 4 deletions
|
@ -649,11 +649,11 @@ public class CompletionTests extends AbstractContentAssistTest {
|
||||||
AbstractContentAssistTest.COMPARE_ID_STRINGS);
|
AbstractContentAssistTest.COMPARE_ID_STRINGS);
|
||||||
}
|
}
|
||||||
|
|
||||||
//void gfunc(){TClass<int> t(0); t./*cursor*/
|
//void gfunc(){TClass<int> t(0); t.a/*cursor*/
|
||||||
public void _testTemplateClassMethod() throws Exception {
|
public void testTemplateClassMethod() throws Exception {
|
||||||
// see https://bugs.eclipse.org/bugs/show_bug.cgi?id=172436
|
// see https://bugs.eclipse.org/bugs/show_bug.cgi?id=172436
|
||||||
final String[] expected= {
|
final String[] expected= {
|
||||||
"add(T)"
|
"add(int)"
|
||||||
};
|
};
|
||||||
assertCompletionResults(fCursorOffset, expected,
|
assertCompletionResults(fCursorOffset, expected,
|
||||||
AbstractContentAssistTest.COMPARE_ID_STRINGS);
|
AbstractContentAssistTest.COMPARE_ID_STRINGS);
|
||||||
|
@ -664,7 +664,6 @@ public class CompletionTests extends AbstractContentAssistTest {
|
||||||
// see https://bugs.eclipse.org/bugs/show_bug.cgi?id=172436
|
// see https://bugs.eclipse.org/bugs/show_bug.cgi?id=172436
|
||||||
final String[] expected= {
|
final String[] expected= {
|
||||||
"tConvert(void)"
|
"tConvert(void)"
|
||||||
// "tConvert<T>(void)"
|
|
||||||
};
|
};
|
||||||
assertCompletionResults(fCursorOffset, expected,
|
assertCompletionResults(fCursorOffset, expected,
|
||||||
AbstractContentAssistTest.COMPARE_ID_STRINGS);
|
AbstractContentAssistTest.COMPARE_ID_STRINGS);
|
||||||
|
|
Loading…
Add table
Reference in a new issue