aboutsummaryrefslogtreecommitdiffstats
path: root/tests/samplebinding/typediscovery_test.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix the type resolver algorithm.Hugo Parente Lima2010-08-301-0/+13
| | | | | | | | | | | | | | | | | The new algorithm do the following: - Try to use type_info on the object the get the object real name. - Try to find a type resolver with the name returned by type_info. - If a type resolver was found, get the python type. - Else, ask binding manager to resolve the type walking on all possible subclasses found in the inheritance tree. The binding manager has a graph representing the class inheritance tree. Note: This commit break the libshiboken ABI, but not the API. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.araujo@openbossa.org>
* chmod -x on all tests.Hugo Parente Lima2010-06-161-0/+0
| | | | We can't run they standalone anyway, because they need some env vars to be exported like PYTHONPATH.
* Add test for bug on the current type discovery algorithm.Hugo Lima2010-03-021-0/+5
|
* Add test for an impossible type discovery when the type has virtual functions.Hugo Lima2010-01-281-0/+42