aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testtemplates.cpp
Commit message (Collapse)AuthorAgeFilesLines
* AbstractMetaClasses now hold the instantiation types for the templates they ↵Marcelo Lira2012-03-091-1/+52
| | | | | | | | | | | implement. AbstractMetaClasses that are typedefs for template class instantiations use to keep the template from where they derive, but didn't keep the values used for the derivation. Now this is fixed, and with an unit test. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Added tests for template containers used as arguments for functions.Marcelo Lira2012-03-091-0/+72
|
* Fixed memory leak.Renato Filho2012-03-091-2/+2
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Added test for a class inheriting from a container template.Marcelo Lira2012-03-091-0/+36
| | | | | The test is simple and only checks if the classes were inherited properly.
* Added test for template inheritance involving forward declaration and namespace.Marcelo Lira2012-03-091-0/+35
| | | | | | | This test case is similar to a previous test with forward declaration except that this time everything is inside a namespace. This slightly different situation could trigger problems in a different place on AbstractMetaBuilder.
* Added test for template inheritance involving a forward declaration.Marcelo Lira2012-03-091-0/+32
| | | | | When things goes awry methods from the template parent class got duplicated in the inheriting class.
* Created test for namespace resolution name.Renato Filho2012-03-091-0/+43
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>, Marcelo Lira <marcelo.lira@openbossa.org>
* Added tests for template instanciations using enum values, all under a nice ↵Hugo Parente Lima2012-03-091-0/+73
namespace. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Reviewer: Renato Araújo <renato.araujo@openbossa.org>