Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leherbauer2008-03-21 10:20:43 +0000
committerAnton Leherbauer2008-03-21 10:20:43 +0000
commitdd062c1fdd51acec8b464887be91d857852c617d (patch)
treea41f4ce326d81c527681171a1b84fc14339f6d28 /core/org.eclipse.cdt.ui.tests
parent1a05e6b75b66fc5c852e93d5217ef196c4ea0f51 (diff)
downloadorg.eclipse.cdt-dd062c1fdd51acec8b464887be91d857852c617d.tar.gz
org.eclipse.cdt-dd062c1fdd51acec8b464887be91d857852c617d.tar.xz
org.eclipse.cdt-dd062c1fdd51acec8b464887be91d857852c617d.zip
Fix completion tests due to rollback in ASTTypeUtil
Diffstat (limited to 'core/org.eclipse.cdt.ui.tests')
-rw-r--r--core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTest_MemberReference_Arrow_NoPrefix2.java2
-rw-r--r--core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTest_SingleName_Method_Prefix.java2
-rw-r--r--core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/ParameterHintTests.java8
3 files changed, 6 insertions, 6 deletions
diff --git a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTest_MemberReference_Arrow_NoPrefix2.java b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTest_MemberReference_Arrow_NoPrefix2.java
index f9b863edd20..3e036ebbf59 100644
--- a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTest_MemberReference_Arrow_NoPrefix2.java
+++ b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTest_MemberReference_Arrow_NoPrefix2.java
@@ -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) {
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 8ecb94ada1c..3686721b0e7 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,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",
diff --git a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/ParameterHintTests.java b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/ParameterHintTests.java
index 171750de046..f28e9614ee3 100644
--- a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/ParameterHintTests.java
+++ b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/ParameterHintTests.java
@@ -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 &)"
});
}

Back to the top