aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Modified the AbstractMetaFunction class to have a separated flag toMarcelo Lira2009-11-242-4/+28
| | | | | | | | | | | indicate that it was added by the user or not, instead of using the AbstractMetaFunction::UserAddedFunction enum value. The old way prevented the function to be an UserAddedFunction and a ConstructorFunction at the same time, since this information was stored as an enum of the AbstractMetaFunction::FunctionType type. A test case was also added. Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* Added methods to set and check for protected and virtual destructorMarcelo Lira2009-11-243-0/+118
| | | | on AbstractMetaClass objects. Also added tests for this.
* Fix apiextractor unit tests.Hugo Lima2009-11-162-9/+9
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* - All reverse operators are now properly tagged as "reverse operator".Hugo Lima2009-11-093-0/+104
| | | | | | | - Reverse operators aren't tagged as static methods anymore. - Reverse operators now have just one parameter, the one that matters. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Added convenience method AbstractMetaFunction::injectedCodeSnips.Hugo Lima2009-10-301-2/+23
| | | | It returns all code snips in a function.
* Fix a crash when the function signature provided by add-function tag does notHugo Lima2009-10-292-0/+9
| | | | | | have parenteses. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* conversion-rule tag now works inside value-type and object-type tags.Marcelo Lira2009-10-263-0/+93
| | | | | To access the conversion rule, use the new method TypeEntry->conversionRule NOTE: this commit is a modification of code produced by Hugo Parente.
* Added functions aren't marked as virtual anymore.Hugo Lima2009-10-221-0/+5
| | | | Reviewed by Renato Araujo <renato.filho@openbossa.org>
* Added support for add-function tag into typesystem.Hugo Lima2009-10-212-15/+82
|
* Implemented a signature parser for the AddedFunction class.Hugo Lima2009-10-213-0/+117
|
* Avoid warning about an unused variable when not compiling as debug.Hugo Lima2009-10-211-0/+1
|
* Unit test to catch the bug#38.Hugo Lima2009-09-244-0/+116
|
* Reset the type database before runing each test.Hugo Lima2009-09-181-1/+1
|
* Add tests for defaultValue and originalDefaultValue methods.Hugo Lima2009-09-182-0/+55
|
* Revert "Fix a bug related to function default values."Hugo Lima2009-09-182-55/+0
| | | | | | This fix bring to much regressions. This reverts commit 752c22056f4ba61961a01819992f9af71a3b0416.
* Added more tests for APIExtractor.Hugo Lima2009-09-152-0/+32
|
* Fix a bug related to function default values.Hugo Lima2009-09-152-0/+55
| | | | | | | | ApiExtractor tries to modify the defaultValue every time, so then return value of originalDefaultValue() if diferent from the return value of defaultValue() when they dont need to be. Unit test included.
* Added more tests for AbstractMetaClass and AbstractMetaEnumHugo Lima2009-09-108-47/+431
|
* The genesis...Hugo Lima2009-08-173-0/+139