From 43e33bc736aba7c30d13fd9881d4f5e1f80eade6 Mon Sep 17 00:00:00 2001 From: Markus Schorn Date: Thu, 7 Oct 2010 13:39:14 +0000 Subject: [PATCH] Bug 327064: Update testcase. --- .../cdt/ui/tests/text/contentassist2/CompletionTests.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTests.java b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTests.java index d9160e67f0b..2ce0df8318d 100644 --- a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTests.java +++ b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTests.java @@ -1230,9 +1230,9 @@ public class CompletionTests extends AbstractContentAssistTest { //public: // InitializerListTest() : /*cursor*/ //}; - public void testCunstructorInitializerList_EmptyInput_Bug266586() throws Exception { - final String[] expected= {"mOne", - "Base(int)", "Base(const ns::Base &)", + public void testConstructorInitializerList_EmptyInput_Bug266586() throws Exception { + final String[] expected= {"mOne", "Base", + "Base(int)", "Base(const ns::Base &)", "Helper", "Helper(void)", "Helper(const Helper &)", // Namespaces must be offered as well. In order for this code // 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*/ //}; 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); }