aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libother
Commit message (Collapse)AuthorAgeFilesLines
* Added a test for an user defined primitive type from a required module.Marcelo Lira2012-03-082-1/+15
| | | | | Also sorted the tests order alphabetically and fixed inject code for SampleNamespaces' passReferenceToObjectType method.
* Fixed signal register function.renatofilho2012-03-081-1/+1
| | | | | | | Fixes bug #422. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Created test for abstract function with not exported type as agument.renatofilho2012-03-081-0/+2
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Change the license boiler plates of all LGPL files removing the special ↵Hugo Parente Lima2010-09-0910-200/+80
| | | | | | | exception. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fix the type resolver algorithm.Hugo Parente Lima2010-08-303-2/+61
| | | | | | | | | | | | | | | | | 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>
* fixed tests exported symbols.Renato Filho2010-08-185-13/+13
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix problems on MacOSX due to uninitialized variables and mixing of int, ↵Hugo Parente Lima2010-06-152-3/+3
| | | | | | | uint and ulong variables. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* libsample's Point extended with a reverse operator defined in libother.Marcelo Lira2010-03-312-1/+13
| | | | | | | | | | The libother's Number class now defines a multiply reverse operator with libsample's Point class. Tests were added to check if the generated binding correctly calls Number.__rmul__ method with Point as argument. Reviewed by Anderson Lizardo <anderson.lizardo@openbossa.org> Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* Adding OtherObjectType to libotherLauro Neto2010-03-223-0/+98
| | | | Used in external reverse operators defined in other modules.
* added support for pure virtual methods returning void ptrsMatti Airas2010-03-172-0/+7
| | | | | | | the return statements now have correct values for pure virtual methods returning void pointers. also added a dummy test for this (can't really test it properly until the semantics of casting the python return value into a void pointer is properly defined -- if ever).
* Merge branch 'master' into extensibleconversionsMarcelo Lira2010-03-041-1/+1
|\ | | | | | | | | | | | | | | | | Conflicts: cppgenerator.cpp libshiboken/basewrapper.cpp Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Lauro Moura <lauro.neto@openbossa.org>
| * Turn Number::m_value private to not cause problem when compiling with "avoid ↵Hugo Lima2010-03-021-1/+1
| | | | | | | | protected hack" on.
* | Adds tests for a class without implicit conversions being extended in ↵Marcelo Lira2010-03-021-0/+51
|/ | | | | | | | | | | another module. One value type class, called NoImplicitConversion, without implicit conversions of any kind is declared in the first library, libsample. In the other library, libother, ExtendsNoImplicitConversion defines a conversion operator to turn itself into a NoImplicitConversion class. The unit tests tries to pass an ExtendsNoImplicitConversion object where a NoImplicitConversion is expected.
* Added test for use of ObjectCopier of a type declared in other module.Hugo Lima2010-02-261-0/+3
| | | | This should create undefinied symbols on other module if it fails.
* Fix bug#142.Hugo Lima2010-02-241-0/+47
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> and Luciano Wolf <luciano.wolf@openbossa.org>
* Adds test for cast operator for a class in a different module.Marcelo Lira2010-02-183-0/+103
| | | | | | | | The new test adds a Number class to test library libother which defines an cast operator to Str, from libsample. The unit test tries to build an Str object passing an Number parameter. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* libother now uses its own library export macros instead of libsample ones.Marcelo Lira2010-02-182-2/+54
|
* Export converters when needed.Hugo Lima2010-01-261-2/+4
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* writeMinimalConstructorCallArguments knowns about enums.Hugo Lima2010-01-261-0/+1
|
* Write the enum name based on enum module, not the current module being ↵Hugo Lima2010-01-261-2/+10
| | | | generated.
* Adds "libother" as a new test library.Marcelo Lira2009-12-293-0/+133
New test library and corresponding binding were added to check for intermodule problems. The CMake linkage type for the modules had to be changed from MODULE to SHARED. Reviewed by Hugo Parente <hugo.lima@openbossa.org>