mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +02:00
2005-06-26 Alain Magloire
* model/org/eclipse/cdt/core/model/tests/StructuralTemplateTests.java
This commit is contained in:
parent
7ce35b3215
commit
9bc8ef7164
2 changed files with 7 additions and 4 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
2005-06-26 Alain Magloire
|
||||||
|
* model/org/eclipse/cdt/core/model/tests/StructuralTemplateTests.java
|
||||||
|
|
||||||
2005-06-25 Alain Magloire
|
2005-06-25 Alain Magloire
|
||||||
PR 98788: Templates
|
PR 98788: Templates
|
||||||
* model/org/eclipse/cdt/core/model/tests/CModleElementsTests.java
|
* model/org/eclipse/cdt/core/model/tests/CModleElementsTests.java
|
||||||
|
|
|
@ -100,8 +100,8 @@ public class StructuralTemplateTests extends ITemplateTests {
|
||||||
String[] myExpectedValues = {
|
String[] myExpectedValues = {
|
||||||
"fum",
|
"fum",
|
||||||
"scrum",
|
"scrum",
|
||||||
"first",
|
"nonVector::first",
|
||||||
"fum",
|
"Foo::fum",
|
||||||
"IsGreaterThan",
|
"IsGreaterThan",
|
||||||
};
|
};
|
||||||
assertEquals(myExpectedValues.length, arrayElements.size());
|
assertEquals(myExpectedValues.length, arrayElements.size());
|
||||||
|
@ -216,8 +216,8 @@ public class StructuralTemplateTests extends ITemplateTests {
|
||||||
"fum<Bar>(int) : void",
|
"fum<Bar>(int) : void",
|
||||||
"scrum<int>(void) : void", // TODO: deduce the rules of () versus (void), compare below.
|
"scrum<int>(void) : void", // TODO: deduce the rules of () versus (void), compare below.
|
||||||
// TODO: shouldn't signature indicate const function as well?
|
// TODO: shouldn't signature indicate const function as well?
|
||||||
"first<T>() : const T&", // TODO: where should <T> be?
|
"nonVector::first<T>() : const T&", // TODO: where should <T> be?
|
||||||
"fum<Bar>(int) : void",
|
"Foo::fum<Bar>(int) : void",
|
||||||
"IsGreaterThan<X>(X, X) : bool",
|
"IsGreaterThan<X>(X, X) : bool",
|
||||||
/*"default_alloc_template<threads,inst>::S_start_free<bool, int> : char*",*/
|
/*"default_alloc_template<threads,inst>::S_start_free<bool, int> : char*",*/
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue