Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Magloire2005-07-26 15:50:25 -0400
committerAlain Magloire2005-07-26 15:50:25 -0400
commit9bc8ef7164ebfdc703e787126412afc240a181c1 (patch)
treec57fbb1c80bae7f7a56e31f7889cb0e3dc916bab
parent7ce35b32151262f7605535cb65686f9920edc239 (diff)
downloadorg.eclipse.cdt-9bc8ef7164ebfdc703e787126412afc240a181c1.tar.gz
org.eclipse.cdt-9bc8ef7164ebfdc703e787126412afc240a181c1.tar.xz
org.eclipse.cdt-9bc8ef7164ebfdc703e787126412afc240a181c1.zip
2005-06-26 Alain Magloire
* model/org/eclipse/cdt/core/model/tests/StructuralTemplateTests.java
-rw-r--r--core/org.eclipse.cdt.core.tests/ChangeLog3
-rw-r--r--core/org.eclipse.cdt.core.tests/model/org/eclipse/cdt/core/model/tests/StructuralTemplateTests.java8
2 files changed, 7 insertions, 4 deletions
diff --git a/core/org.eclipse.cdt.core.tests/ChangeLog b/core/org.eclipse.cdt.core.tests/ChangeLog
index 2aeddec3dc..ca3a435ecf 100644
--- a/core/org.eclipse.cdt.core.tests/ChangeLog
+++ b/core/org.eclipse.cdt.core.tests/ChangeLog
@@ -1,3 +1,6 @@
+2005-06-26 Alain Magloire
+ * model/org/eclipse/cdt/core/model/tests/StructuralTemplateTests.java
+
2005-06-25 Alain Magloire
PR 98788: Templates
* model/org/eclipse/cdt/core/model/tests/CModleElementsTests.java
diff --git a/core/org.eclipse.cdt.core.tests/model/org/eclipse/cdt/core/model/tests/StructuralTemplateTests.java b/core/org.eclipse.cdt.core.tests/model/org/eclipse/cdt/core/model/tests/StructuralTemplateTests.java
index 29f3436374..47b5fc21fd 100644
--- a/core/org.eclipse.cdt.core.tests/model/org/eclipse/cdt/core/model/tests/StructuralTemplateTests.java
+++ b/core/org.eclipse.cdt.core.tests/model/org/eclipse/cdt/core/model/tests/StructuralTemplateTests.java
@@ -100,8 +100,8 @@ public class StructuralTemplateTests extends ITemplateTests {
String[] myExpectedValues = {
"fum",
"scrum",
- "first",
- "fum",
+ "nonVector::first",
+ "Foo::fum",
"IsGreaterThan",
};
assertEquals(myExpectedValues.length, arrayElements.size());
@@ -216,8 +216,8 @@ public class StructuralTemplateTests extends ITemplateTests {
"fum<Bar>(int) : void",
"scrum<int>(void) : void", // TODO: deduce the rules of () versus (void), compare below.
// TODO: shouldn't signature indicate const function as well?
- "first<T>() : const T&", // TODO: where should <T> be?
- "fum<Bar>(int) : void",
+ "nonVector::first<T>() : const T&", // TODO: where should <T> be?
+ "Foo::fum<Bar>(int) : void",
"IsGreaterThan<X>(X, X) : bool",
/*"default_alloc_template<threads,inst>::S_start_free<bool, int> : char*",*/
};

Back to the top