1
0
Fork 0
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:
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); 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);