From 4ccfdf9b6fe63bab21d5d18cf0d76721215e2b04 Mon Sep 17 00:00:00 2001 From: Anton Leherbauer Date: Tue, 20 Mar 2007 11:44:19 +0000 Subject: [PATCH] Remove expected failure from 3 completion tests which actually pass --- .../CompletionTest_NewTypeReference_NoPrefix.java | 11 ++++------- .../CompletionTest_NewTypeReference_Prefix.java | 9 +++------ .../CompletionTest_SingleName_Method_Prefix.java | 4 ++-- 3 files changed, 9 insertions(+), 15 deletions(-) diff --git a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTest_NewTypeReference_NoPrefix.java b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTest_NewTypeReference_NoPrefix.java index 604b97d69f6..8fb9fe9cef2 100644 --- a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTest_NewTypeReference_NoPrefix.java +++ b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTest_NewTypeReference_NoPrefix.java @@ -34,17 +34,14 @@ public class CompletionTest_NewTypeReference_NoPrefix extends CompletionProposa "xOtherClass", "XStruct", "aNamespace", - "xNamespace" - /* extra results: - anEnumeration - xEnumeration - */ + "xNamespace", + // enums may not be desired, but valid + "anEnumeration", + "xEnumeration" }; public CompletionTest_NewTypeReference_NoPrefix(String name) { super(name); - // unknown problem - setExpectFailure(77777); } public static Test suite() { diff --git a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTest_NewTypeReference_Prefix.java b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTest_NewTypeReference_Prefix.java index 72842b52984..f4789457b7c 100644 --- a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTest_NewTypeReference_Prefix.java +++ b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTest_NewTypeReference_Prefix.java @@ -31,16 +31,13 @@ public class CompletionTest_NewTypeReference_Prefix extends CompletionProposals "aClass", "anotherClass", "aNamespace", - "AStruct" - // extra proposal: - // anEnumeration - + "AStruct", + // enums may not be desired, but valid + "anEnumeration" }; public CompletionTest_NewTypeReference_Prefix(String name) { super(name); - // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=109724 - setExpectFailure(109724); } public static Test suite() { diff --git a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTest_SingleName_Method_Prefix.java b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTest_SingleName_Method_Prefix.java index e2d847c447b..8f7b82eb149 100644 --- a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTest_SingleName_Method_Prefix.java +++ b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTest_SingleName_Method_Prefix.java @@ -33,6 +33,8 @@ public class CompletionTest_SingleName_Method_Prefix extends CompletionProposa "anotherFunction(void) void", "aClass", "anotherClass", + "anotherClass(const anotherClass &)", + "anotherClass(void)", "aNamespace", "anEnumeration", "aFirstEnum", @@ -44,8 +46,6 @@ public class CompletionTest_SingleName_Method_Prefix extends CompletionProposa public CompletionTest_SingleName_Method_Prefix(String name) { super(name); - // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=109724 - setExpectFailure(109724); } public static Test suite() {