summaryrefslogtreecommitdiffstats
path: root/tests/libsample/objecttype.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix typoHugo Parente Lima2010-12-281-1/+1
|
* Created unit test to unsafe parent (parent created from c++)renatofilho2010-09-241-0/+5
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug#339 - "RuntimeError when accessing mousepress event object"Hugo Parente Lima2010-09-171-1/+3
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Moura <lauro.filho@openbossa.org>
* Change the license boiler plates of all LGPL files removing the special ↵Hugo Parente Lima2010-09-091-20/+8
| | | | | | | exception. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* fixed tests exported symbols.Renato Filho2010-08-181-6/+6
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Create unit test to function with ambiguous signature in Python side.Renato Filho2010-08-161-0/+10
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Created unit tests for named arguments.Renato Filho2010-06-171-0/+6
| | | | | Reviewers: Luciano Wolf <luciano.wolf@openbossa.org>, Marcelo Lira <marcelo.lira@openbossa.org>
* Adding test for #212 - Overloads with enumsLauro Neto2010-04-301-0/+3
|
* Fixed argument policy propagate.Renato Filho2010-04-221-1/+1
| | | | | Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>, Luciano Wolf <luciano.wolf@openbossa.org>
* Adding greedy method to CollectorLauro Neto2010-03-221-0/+2
| | | | | This method will somehow conflict with the external operator in libother OtherObjectType
* Allow hash-function tag to be definied in object-types (Fix bug #186).Hugo Lima2010-03-191-0/+2
|
* 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>
* Updated ObjectType and ObjectTypeLayout to resemble the Qt's QLayout class.Marcelo Lira2009-12-011-1/+11
| | | | Also added more test cases that use ObjectTypeLayout.
* Implement 'child return' examples and support.Luciano Wolf2009-11-301-0/+4
|
* Added tests for something like QLayout.Hugo Lima2009-11-301-1/+7
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Some fixing and refactoring for the ObjectType test class.Marcelo Lira2009-11-301-2/+2
|
* Add removeChild and killChild to ObjectType testLauro Neto2009-11-271-0/+2
|
* Test ownership transfer from Python to C++Luciano Wolf2009-11-271-0/+3
| | | | | | | | | There are 3 tests to be implemented in order to check the correctness. - 1. Correct the assert function inside kindergarten example to raise an exception [done]; - 2. Use "create" method to return a C++ created instance and use it to test ownership [done]; - 3. Use e.g.: "Point" class as a value-type to test "invalidate non-polymorphic". Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Added visibility rules to libsample.Hugo Lima2009-11-231-2/+4
|
* Added support for the type system "invalidate-after-use" argument modification.Marcelo Lira2009-11-181-1/+18
| | | | | | | | 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 the ObjectType example which adds some cases similar toMarcelo Lira2009-11-031-0/+67
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.