aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testenum.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added a better support for resolution of enum value attribution.Marcelo Lira2012-03-091-0/+73
| | | | | | | Plus tests. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Private enums are now accepted in the type system database.Marcelo Lira2012-03-091-0/+43
| | | | | This is done to allow enum value evaluation. Comes together with a nice test.
* Improved resolution of enum value attributions.Marcelo Lira2012-03-091-2/+53
| | | | | | | | In particular when an enum item is set to the value of an item from other enum. The code for this was moved to the method AbstractMetaBuilder::findOutValueFromString. Tests were added as well. s# ../tests/.testenum.h.swp
* Fixed AbstractMetaBuilder to handle enum values receiving boolean values.Marcelo Lira2012-03-091-3/+40
| | | | | | | | | | | | | | | | In other words, this enum { Positive = true, Negative = false }; is now properly recognized. Tests were added as usual. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Added tests for global enums.Marcelo Lira2012-03-091-0/+37
| | | | | They check if the AbstractMetaEnumValues hold the correct value information about the enum item described.
* Updates tests to use nesting of type declarations.Marcelo Lira2012-03-091-8/+11
| | | | | | | Also added a new cases to test the nesting of type tags a bit more. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Added tests for anonymous enums.Marcelo Lira2012-03-091-0/+30
|
* Created unittest to flag "since".Renato Filho2012-03-091-0/+22
|
* Added the "function" tag to ApiExtractor.Hugo Parente Lima2012-03-091-4/+3
| | | | | | | | | | | | | | | This change the behaviour of ApiExtractor regarding to global functions. All global function you want to be exported to python *need* to be especified in the type system with the function tag, otherwise they wont be exported at all. The syntax for this new tag is: <function signature="..." /> This is just the initial work for this tag, it is missign support for: - Function modifications. - Add a function overload with add-function tag.
* Added more tests for AbstractMetaClass and AbstractMetaEnumHugo Lima2009-09-101-0/+81