| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
same name"
|
|
|
|
|
|
|
|
|
|
|
| |
CPython calls nb_and with swapped arguments
for reverse operators.
This tests checks if the reverse operator
raises NotImplementedError instead of TypeError
when there isn't a valid reverse operator.
Raising TypeError would cause the operator to fail.
|
|
|
|
| |
parameter"
|
|
|
|
|
|
|
|
|
|
|
| |
The ObjectModel test class was introduced to check if the transference
of ownership of objects returned from Python to C++ through a virtual
method is working properly.
Also updated the other test that uses the ObjectView class.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
| |
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Explaining with an example. Consider a function called "function" with
two signatures accepting a list of Point and a list of PointF,
respectively. Consider also that Point is implicitly convertible to
PointF.
void function(list<Point>&)
void function(list<PointF>&)
A list of Point should be checked before a list of PointF.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
| |
Reviewers: Renato Araújo <renato.filho@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
|
| |
|
|
|
|
| |
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
shiboken generator.
As shiboken generator needs minor changes to support inter-module dependencies, these changes
about symbol visibility does not support inter-module dependencies, however support it is
simple, because we just need to make some symbols visible to other DSO's.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
| |
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
| |
signatures to test the overload decisor on more situations;
also a clarifying comment was added to the Point class
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
also fixed some grammar on overload_test.py
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
a case of a virtual method that is reimplemented in Python and
checked in the unit test
Reference class and unit tests with cases
of virtual methods that receive C++ references
|
| |
|
|
|