1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00

2005-06-26 Alain Magloire

* model/org/eclipse/cdt/core/model/tests/StructuralTemplateTests.java
This commit is contained in:
Alain Magloire 2005-07-26 19:50:25 +00:00
parent 7ce35b3215
commit 9bc8ef7164
2 changed files with 7 additions and 4 deletions

View file

@ -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

View file

@ -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*",*/
};