aboutsummaryrefslogtreecommitdiffstats
path: root/tests/samplebinding/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Unit test to target conversion.renatofilho2012-03-081-0/+1
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Shiboken generator code moved to the directory generator.Hugo Parente Lima2012-03-081-1/+1
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix code generation for modified constructors.Luciano Wolf2012-03-081-0/+1
| | | | | Reviewers: Renato Araújo <renato.filho@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Created cmake option 'ENABLE_VERSION_SUFFIX' to use version on generated ↵sb-0.5.0Renato Filho2010-09-101-3/+1
| | | | | | | files to allow multiples version installed simultaneous. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Impleted auto code for classes derived from list container.Renato Filho2010-08-301-0/+1
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Use .pyd to python modules on windows.Renato Filho2010-08-191-0/+3
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Created unit test to operator().Renato Filho2010-08-111-0/+1
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Use correct python library in debug mode.Renato Filho2010-07-191-1/+1
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fixes the build-tests by including the library postfixes in the programRenato Filho2010-06-181-1/+1
| | | | | | | | calls Author: Didier Raboud <didier@raboud.com> Reviewers: Luciano Wolf <luciano.wolf@openbossa.org>, Marcelo Lira <marcelo.lira@openbossa.org>
* Used CMAKE_DEBUG_POSTFIX in plugin name on generatorrunner.Renato Filho2010-06-171-1/+1
| | | | | Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>, Marcelo Lira <marcelo.lira@openbossa.org>
* Added support for protected fields when not using the "protected hack".Marcelo Lira2010-06-031-0/+1
| | | | Tests were also added.
* Adds protected enum test cases.Marcelo Lira2010-06-011-0/+1
|
* Merge remote branch 'luck/fixprivctor'Luciano Wolf2010-04-231-0/+1
|\
| * Support to "only private constructor available" case.Luciano Wolf2010-04-211-0/+1
| |
* | Use qualified class name when callign a method like self->ClassName::method().Hugo Parente Lima2010-04-221-0/+1
| | | | | | | | This fix some problems compiling bindings for classes under C++ namespaces.
* | Add test for classes and inner classes inside namespaces.Hugo Parente Lima2010-04-221-0/+3
|/
* Adds tests for a class without implicit conversions being extended in ↵Marcelo Lira2010-03-021-0/+1
| | | | | | | | | | | 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.
* other binding does not link against sample binding.Hugo Lima2010-02-181-1/+1
|
* Adds tests for reference counting in model/view style relationships.Marcelo Lira2010-02-101-0/+1
|
* Adds support for void pointer conversions.Marcelo Lira2010-01-281-0/+1
| | | | | | | | | A new converter specialization was added to deal with 'void*' conversions. In the case of C++ generating a unknown void pointer a BaseWrapper is used to hold the said pointer. There is a new test for this situation. Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Write cptr macro for inner classes.Hugo Lima2010-01-261-0/+1
|
* Adding new tests related to threads/GIL lockingLauro Neto2010-01-151-0/+1
| | | | | | | | | | | | | | | - Event loop - calling virtual methods from C++ - Event loop with thread - calling virtuals from C++ along with accessing the binding from another python thread - Thread locking - blocker C++ method that is unlocked from another python thread For these tests, a new ObjectType subclass was added, Bucket, which is just a container for the producer/consumer tests and has the lock/unlock method. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Adds "libother" as a new test library.Marcelo Lira2009-12-291-1/+1
| | | | | | | | 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>
* Adds StrList test to check classes that inherit from containers.Marcelo Lira2009-12-071-0/+1
| | | | | | | StrList class inherits from std::list<Str> and expand it with a couple of methods. The added tests perform many different comparisons using other StrList objects, Python sequences of Str objects, and Python sequences of Python strings.
* Expanded protected method tests with cases of reimplemented grand parent and ↵Marcelo Lira2009-12-021-0/+2
| | | | grand grand parent methods.
* Expanded virtual methods tests with a case of reimplementation of a grand ↵Marcelo Lira2009-12-021-0/+1
| | | | parent method.
* Added tests for something like QLayout.Hugo Lima2009-11-301-0/+1
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Add the generator flag "enable-parent-ctor-heuristic".Hugo Lima2009-11-301-1/+1
| | | | | When enabled, this heuristic will check every constructor for an argument named "parent", if the argument is a pointer, then it'll be the parent of this object.
* Renaming -> KinderGarten to BlackBoxLuciano Wolf2009-11-271-1/+1
|
* Added tests for the validity of Python wrappers used as method arguments.Marcelo Lira2009-11-261-0/+1
| | | | Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Merged with multipleinheritance branchMarcelo Lira2009-11-251-3/+12
|\
| * improved multiple inheritance tests with a myriad of new casesMarcelo Lira2009-11-181-3/+12
| |
* | Adding test case for sorting overload dataLauro Neto2009-11-251-0/+3
| |
* | Added an PyObject* specialization to the Conversion template toMarcelo Lira2009-11-241-0/+1
| | | | | | | | | | | | | | avoid problems when converting PyObjects to C++. Tests where also added for this. Reviewed by Lauro Neto <lauro.neto@openbossa.org>
* | Added tests for classes with virtual and non-virtual protected methods,Marcelo Lira2009-11-241-0/+3
| | | | | | | | | | | | for virtual protected destructors, and for non-virtual protected methods modified with signature removal, add-function and code injection. Also improved the tests for non-protected virtual destructors.
* | Added unit test for virtual destructor.Marcelo Lira2009-11-241-0/+1
|/
* Added features to manage basic ownership transference between C++Marcelo Lira2009-11-181-0/+1
| | | | | and Python. Updated the KinderGarten example with two methods that steal and retrieve Python ownership, and added the proper unit tests.
* Added support for the type system "invalidate-after-use" argument modification.Marcelo Lira2009-11-181-0/+1
| | | | | | | | The Python wrapper object produced for an argument received from C++ on a virtual method call is marked as invalid after the call to the Python override. If the Python script keeps the wrapper and try to use it afterwards a RuntimeError exception is raised. Test cases were added using the ObjectType::event method and the new Event class.
* added initial work for more complete code injection testsMarcelo Lira2009-11-131-0/+1
|
* Adding external operator to Collector (stream)Lauro Neto2009-11-101-0/+1
|
* Adding test case for add-function with const char*Lauro Neto2009-11-091-0/+1
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* added a new test called Time with a set of constructor and methodMarcelo Lira2009-11-061-0/+1
| | | | | signatures to test the overload decisor on more situations; also a clarifying comment was added to the Point class
* improved the multiple inheritance test with two new methods that castMarcelo Lira2009-11-041-1/+1
| | | | | | | their instance of MDerived to MBase1 and MBase2; also did some refactors and commented the unit test Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* * added the ObjectType example which adds some cases similar toMarcelo Lira2009-11-031-4/+5
| | | | | | | | | | those on Qt's QObject (object name, parent and children list), although no ownership test was added yet. * added method Abstract::getObjectId(Abstract*) as a case of an argument that should be converted to an abstract type. * added ListUser::multiplyPointList(std::list<Point*>&, double), which tests the conversion from a Python list of Point wrappers to a C++ list whose items will be altered.
* added the Str class to libsample and test cases that check the __str__Marcelo Lira2009-10-301-0/+1
| | | | | | | implementation and a method that receives a C++ class reference through a Python type implictly convertible to said C++ class Reviewed by Hugo Lima <hugo.lima@openbossa.org>
* added test cases for C++ operator<< method (Python's __lshift__);Marcelo Lira2009-10-271-0/+1
| | | | also fixed some grammar on overload_test.py
* added more test cases to check overload decisor behaviorMarcelo Lira2009-10-271-0/+1
|
* added the SimpleFile class to the sample library to check how aMarcelo Lira2009-10-201-0/+1
| | | | | | | | method returning a boolean value that indicates success/failure on a IO operation could be modified to express the any occurring problems as Python exceptions (in this case IOError); the generator was changed to return a 'None' value for Python callers on methods that had it's return value removed
* Create multiple heritance tests.Renato Araujo Oliveira Filho2009-09-101-0/+3
|
* Fix libsamplebinding generator, due to recent changes in boostpythongenerator.Hugo Lima2009-09-081-1/+1
|