aboutsummaryrefslogtreecommitdiffstats
path: root/tests/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Created function to discovery when a class implement a container type.Renato Filho2012-03-091-0/+1
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Make libxml2 and libxslt optional dependencies.Hugo Parente Lima2012-03-091-1/+3
|
* Adds test case to namespace members, namely enums and functions.Marcelo Lira2012-03-091-0/+1
|
* Added test for type resolution order.Marcelo Lira2012-03-091-2/+3
| | | | | | Methods or functions signatures using any type from the library being wrapped must be processed after all the library types or else the function/method will be rejected.
* Added the "default-constructor" attribute to the "primitive-type" tag.Marcelo Lira2012-03-091-0/+1
| | | | | | | | | The default-constructor attribute specifies a way to build an instance of a class declared as primitive type using default arguments. Documentation and a test were also added. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Added tests for template instanciations using enum values, all under a nice ↵Hugo Parente Lima2012-03-091-0/+1
| | | | | | | namespace. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Reviewer: Renato Araújo <renato.araujo@openbossa.org>
* Adding tests for 'void' argument in functionsLauro Neto2012-03-091-0/+1
|
* Merge remote branch 'luck/fixprivctor'Luciano Wolf2012-03-091-0/+1
|\
| * Update class info once a default ctor is added.Luciano Wolf2012-03-091-0/+1
| |
* | Added the "function" tag to ApiExtractor.Hugo Parente Lima2012-03-091-0/+1
|/ | | | | | | | | | | | | | | 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.
* Meta type minimal signature should place reference symbol after pointer symbols.Marcelo Lira2012-03-091-0/+1
| | | | | | | | | | The minimalSignature method was placing '&' before '*'. For example, the signature "foo(Bar*&)" was becoming "foo(Bar&*)". An unit test was added to verify AbstractMetaType::minimalSignature(). Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Anderson Lizardo <anderson.lizardo@openbossa.org>
* Remove Boost::graph dependence from ApiExtractor by using our own codeHugo Lima2010-03-031-0/+1
| | | | for graph topological sort.
* Added method AbstractMetaBuilder::fixReturnTypeOfConversionOperator(func).Marcelo Lira2010-02-261-0/+1
| | | | | | | | | | The new method fixes the return type of conversion operators: they should return the target of the conversion as type and not the type of its owner class. fixReturnTypeOfConversionOperator is used in traverseFunctions. An unit test was added for this case. Note that this behaviour could be fixed in the parser. I dare you!
* Reactivated 'reference-count' tag.Marcelo Lira2010-02-091-7/+8
| | | | | | | | The type system tag '<reference-count action="Add|Remove|..."/>' used on argument modification was uncommented, documentation was written and a unit test was created for it. Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* Fix AbstractMetaFunction::implicitConversions.Hugo Lima2010-02-081-0/+1
| | | | | | | | | - Public ctors added by the user with 1 value-type parameter are always added to the implicity conversion list. - If the ctor visibility of an function was modified from public to private, the function isn't added to the result. Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Code injection from external files are always read using UTF-8.Hugo Lima2010-02-081-0/+1
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Added tests for ownership modification.Hugo Lima2010-02-021-0/+1
|
* Allow a class to multiple inherit from various object-types.Hugo Lima2010-02-011-0/+1
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* When a constructor able to trigger implicity conversions is removedHugo Lima2010-01-201-0/+1
| | | | | | it should not appear in the implicity conversion list. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Added methods to set and check for protected and virtual destructorMarcelo Lira2009-11-241-0/+1
| | | | on AbstractMetaClass objects. Also added tests for this.
* - All reverse operators are now properly tagged as "reverse operator".Hugo Lima2009-11-091-0/+1
| | | | | | | - 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>
* conversion-rule tag now works inside value-type and object-type tags.Marcelo Lira2009-10-261-0/+1
| | | | | To access the conversion rule, use the new method TypeEntry->conversionRule NOTE: this commit is a modification of code produced by Hugo Parente.
* Implemented a signature parser for the AddedFunction class.Hugo Lima2009-10-211-0/+1
|
* Unit test to catch the bug#38.Hugo Lima2009-09-241-0/+1
|
* Added more tests for AbstractMetaClass and AbstractMetaEnumHugo Lima2009-09-101-5/+11
|
* The genesis...Hugo Lima2009-08-171-0/+6