mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-01 05:15:43 +02:00
Bug 327064: Update testcase.
This commit is contained in:
parent
ae87b6d440
commit
43e33bc736
1 changed files with 4 additions and 4 deletions
|
@ -1230,9 +1230,9 @@ public class CompletionTests extends AbstractContentAssistTest {
|
||||||
//public:
|
//public:
|
||||||
// InitializerListTest() : /*cursor*/
|
// InitializerListTest() : /*cursor*/
|
||||||
//};
|
//};
|
||||||
public void testCunstructorInitializerList_EmptyInput_Bug266586() throws Exception {
|
public void testConstructorInitializerList_EmptyInput_Bug266586() throws Exception {
|
||||||
final String[] expected= {"mOne",
|
final String[] expected= {"mOne", "Base",
|
||||||
"Base(int)", "Base(const ns::Base<Helper> &)",
|
"Base(int)", "Base(const ns::Base<Helper> &)", "Helper",
|
||||||
"Helper(void)", "Helper(const Helper &)",
|
"Helper(void)", "Helper(const Helper &)",
|
||||||
// Namespaces must be offered as well. In order for this code
|
// Namespaces must be offered as well. In order for this code
|
||||||
// to compile with gcc (e.g. 4.1.2), you need to write
|
// to compile with gcc (e.g. 4.1.2), you need to write
|
||||||
|
@ -1309,7 +1309,7 @@ public class CompletionTests extends AbstractContentAssistTest {
|
||||||
// InitializerListTest() : h/*cursor*/
|
// InitializerListTest() : h/*cursor*/
|
||||||
//};
|
//};
|
||||||
public void testConstructorInitializerList_BaseClassInput_Bug266586() throws Exception {
|
public void testConstructorInitializerList_BaseClassInput_Bug266586() throws Exception {
|
||||||
final String[] expected= { "Helper(void)", "Helper(const Helper &)" };
|
final String[] expected= { "Helper", "Helper(void)", "Helper(const Helper &)" };
|
||||||
assertCompletionResults(fCursorOffset, expected, COMPARE_ID_STRINGS);
|
assertCompletionResults(fCursorOffset, expected, COMPARE_ID_STRINGS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue