mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 12:03:16 +02:00
Some failing contentassist tests actually succeed
This commit is contained in:
parent
aaf2089a7e
commit
d96899a098
5 changed files with 8 additions and 24 deletions
|
@ -30,15 +30,12 @@ public class CompletionTest_MemberReference_Arrow_NoPrefix extends CompletionPr
|
|||
"aField : int",
|
||||
"xAClassField : float",
|
||||
"aMethod(void) int",
|
||||
"xAClassMethod(int x) void"
|
||||
/* "aClass" FIXME: Surplus result: aClass is currently returned as a result, but this is not syntactically correct.
|
||||
Completion processing needs to be fixed, putting this here as a reminder. */
|
||||
"xAClassMethod(int x) void",
|
||||
"aClass" // aClass is valid
|
||||
};
|
||||
|
||||
public CompletionTest_MemberReference_Arrow_NoPrefix(String name) {
|
||||
super(name);
|
||||
// see https://bugs.eclipse.org/bugs/show_bug.cgi?id=88787
|
||||
setExpectFailure(88787);
|
||||
}
|
||||
|
||||
public static Test suite() {
|
||||
|
|
|
@ -27,15 +27,12 @@ public class CompletionTest_MemberReference_Arrow_Prefix extends CompletionProp
|
|||
private final String expectedPrefix = "a";
|
||||
private final String[] expectedResults = {
|
||||
"aField : int",
|
||||
"aMethod(void) int"
|
||||
/* "aClass" FIXME: Surplus result: aClass is currently returned as a result, but this is not syntactically correct.
|
||||
Completion processing needs to be fixed, putting this here as a reminder. */
|
||||
"aMethod(void) int",
|
||||
"aClass" // aClass is valid
|
||||
};
|
||||
|
||||
public CompletionTest_MemberReference_Arrow_Prefix(String name) {
|
||||
super(name);
|
||||
// see https://bugs.eclipse.org/bugs/show_bug.cgi?id=88787
|
||||
setExpectFailure(88787);
|
||||
}
|
||||
|
||||
public static Test suite() {
|
||||
|
|
|
@ -26,16 +26,13 @@ public class CompletionTest_MemberReference_Arrow_Prefix2 extends CompletionPro
|
|||
private final String headerFileFullPath ="resources/contentassist/" + headerFileName;
|
||||
private final String expectedPrefix = "a";
|
||||
private final String[] expectedResults = {
|
||||
// FIXME: additional result
|
||||
// "aClass",
|
||||
"aClass", // aClass is valid
|
||||
"aField : int",
|
||||
"aMethod(void) int"
|
||||
};
|
||||
|
||||
public CompletionTest_MemberReference_Arrow_Prefix2(String name) {
|
||||
super(name) ;
|
||||
// see https://bugs.eclipse.org/bugs/show_bug.cgi?id=88787
|
||||
setExpectFailure(88787);
|
||||
}
|
||||
|
||||
public static Test suite() {
|
||||
|
|
|
@ -29,16 +29,12 @@ public class CompletionTest_MemberReference_Dot_NoPrefix extends CompletionProp
|
|||
"aField : int",
|
||||
"xAClassField : float",
|
||||
"aMethod(void) int",
|
||||
"xAClassMethod(int x) void"
|
||||
/* FIXME: Additional result which should not be there. Run with tracing to reproduce:
|
||||
* Result: aClass
|
||||
*/
|
||||
"xAClassMethod(int x) void",
|
||||
"aClass" // aClass is valid
|
||||
};
|
||||
|
||||
public CompletionTest_MemberReference_Dot_NoPrefix(String name) {
|
||||
super(name);
|
||||
// see https://bugs.eclipse.org/bugs/show_bug.cgi?id=88787
|
||||
setExpectFailure(88787);
|
||||
}
|
||||
|
||||
public static Test suite() {
|
||||
|
|
|
@ -28,14 +28,11 @@ public class CompletionTest_MemberReference_Dot_Prefix extends CompletionPropos
|
|||
private final String[] expectedResults = {
|
||||
"aField : int",
|
||||
"aMethod(void) int",
|
||||
/* "aClass" FIXME: Surplus result: aClass is currently returned as a result, but this is not syntactically correct.
|
||||
Completion processing needs to be fixed, putting this here as a reminder. */
|
||||
"aClass" // aClass is valid
|
||||
};
|
||||
|
||||
public CompletionTest_MemberReference_Dot_Prefix(String name) {
|
||||
super(name);
|
||||
// see https://bugs.eclipse.org/bugs/show_bug.cgi?id=88787
|
||||
setExpectFailure(88787);
|
||||
}
|
||||
|
||||
public static Test suite() {
|
||||
|
|
Loading…
Add table
Reference in a new issue