mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fix completion tests due to rollback in ASTTypeUtil
This commit is contained in:
parent
1a05e6b75b
commit
dd062c1fdd
3 changed files with 6 additions and 6 deletions
|
@ -23,7 +23,7 @@ public class CompletionTest_MemberReference_Arrow_NoPrefix2 extends CompletionP
|
|||
private final String expectedPrefix = "";
|
||||
private final String[] expectedResults = {
|
||||
"A", "foo(void) : void",
|
||||
"operator ->(void) : B*"
|
||||
"operator ->(void) : B *"
|
||||
};
|
||||
|
||||
public CompletionTest_MemberReference_Arrow_NoPrefix2(String name) {
|
||||
|
|
|
@ -33,7 +33,7 @@ public class CompletionTest_SingleName_Method_Prefix extends CompletionProposa
|
|||
"anotherFunction(void) : void",
|
||||
"aClass",
|
||||
"anotherClass",
|
||||
"anotherClass(const anotherClass&)",
|
||||
"anotherClass(const anotherClass &)",
|
||||
"anotherClass(void)",
|
||||
"aNamespace",
|
||||
"anEnumeration",
|
||||
|
|
|
@ -123,7 +123,7 @@ public class ParameterHintTests extends AbstractContentAssistTest {
|
|||
public void testConstructor() throws Exception {
|
||||
assertParameterHints(new String[] {
|
||||
"aClass(void)",
|
||||
"aClass(const aClass&)"
|
||||
"aClass(const aClass &)"
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -132,7 +132,7 @@ public class ParameterHintTests extends AbstractContentAssistTest {
|
|||
assertParameterHints(new String[] {
|
||||
"bClass(int x)",
|
||||
"bClass(int x,int y)",
|
||||
"bClass(const bClass&)"
|
||||
"bClass(const bClass &)"
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -140,7 +140,7 @@ public class ParameterHintTests extends AbstractContentAssistTest {
|
|||
public void testTemplateConstructor() throws Exception {
|
||||
assertParameterHints(new String[] {
|
||||
"tClass(T t)",
|
||||
"tClass(const tClass&)"
|
||||
"tClass(const tClass &)"
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -148,7 +148,7 @@ public class ParameterHintTests extends AbstractContentAssistTest {
|
|||
public void _testTemplateConstructor2() throws Exception {
|
||||
assertParameterHints(new String[] {
|
||||
"tClass(T t)",
|
||||
"tClass(const tClass&)"
|
||||
"tClass(const tClass &)"
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue