1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-08 16:55:38 +02:00

Fix template completion test related to bug 172436

This commit is contained in:
Anton Leherbauer 2007-05-09 14:25:07 +00:00
parent a469ebf89d
commit 4b8aaf5b23

View file

@ -649,11 +649,11 @@ public class CompletionTests extends AbstractContentAssistTest {
AbstractContentAssistTest.COMPARE_ID_STRINGS);
}
//void gfunc(){TClass<int> t(0); t./*cursor*/
public void _testTemplateClassMethod() throws Exception {
//void gfunc(){TClass<int> t(0); t.a/*cursor*/
public void testTemplateClassMethod() throws Exception {
// see https://bugs.eclipse.org/bugs/show_bug.cgi?id=172436
final String[] expected= {
"add(T)"
"add(int)"
};
assertCompletionResults(fCursorOffset, expected,
AbstractContentAssistTest.COMPARE_ID_STRINGS);
@ -664,7 +664,6 @@ public class CompletionTests extends AbstractContentAssistTest {
// see https://bugs.eclipse.org/bugs/show_bug.cgi?id=172436
final String[] expected= {
"tConvert(void)"
// "tConvert<T>(void)"
};
assertCompletionResults(fCursorOffset, expected,
AbstractContentAssistTest.COMPARE_ID_STRINGS);