aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixed global functions from QT_TR_NOOP and QT_TRANSLATE_NOOP family.Marcelo Lira2012-03-082-0/+49
| | | | | | | | | | | These function just return one of their arguments as result, and the buggy implementation was forgetting to increment the reference count for the returned object. A new unit test was added. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Fixes bug #502.Marcelo Lira2012-03-085-7/+88
| | | | | | | | | | | | | The ownership of the editor returned by the Python override of QAbstractItemDelegate.createEditor(...) is now transferred to C++. A test was added to simulate the situation that triggers the bug, instead of relying on an example with a view, model and editable cells. See: http://bugs.openbossa.org/show_bug.cgi?id=502 Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Fixed type system for TestView from pysidetest directory.Marcelo Lira2012-03-081-1/+1
|
* Fix bug#544 - "QtCore.QRect missing binding for method getCoords"Hugo Parente Lima2012-03-081-1/+11
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Fix QtMultimedia test to not fail when no devices were found.ps-1.0.0-beta2Hugo Parente Lima2012-03-081-1/+5
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Use .pyd extension for pysidetest module on Windows.Hugo Parente Lima2012-03-081-0/+3
|
* Fix QML tests on Windows.Hugo Parente Lima2012-03-083-3/+3
|
* Fix compilation under MS Windows.Hugo Parente Lima2012-03-081-2/+2
|
* Added a call to QObject.metaObject() to check if a segfault is caused.Marcelo Lira2012-03-081-1/+1
| | | | | | | | | | | This completes the tests for bug #507[1]. Also removed an unnecessary commented line. [1] http://bugs.openbossa.org/show_bug.cgi?id=507 Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Fixed QML type registering test.Marcelo Lira2012-03-081-1/+1
| | | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Lauro Moura <lauro.neto@openbossa.org>
* Updated model/view test to follow changes in Shiboken/9459b9da commit.Marcelo Lira2012-03-081-1/+1
| | | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Lauro Moura <lauro.neto@openbossa.org>
* Updated the PySide test related to Python model returning data to C++.Marcelo Lira2012-03-083-13/+29
|
* Created function used in PyObject getAttro.Renato Araujo Oliveira Filho2012-03-082-0/+22
| | | | | | | | Moved the code generated to a function in libpyside. Create unit test for bug #525. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Marcelo Lira <marcelo.lira@openbossa.org>
* Created unittest for bug #505.Renato Araujo Oliveira Filho2012-03-082-0/+23
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fix bug#512 - "QGridLayout::getItemPosition() is not available"Hugo Parente Lima2012-03-082-0/+23
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Added test for Python written models returning new objects without keeping ↵Marcelo Lira2012-03-086-0/+101
| | | | | | | reference to them. Reviewed by Lauro Moura <lauro.neto@openbossa.org> eviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed new style signal connection tests for the proper semantics.Marcelo Lira2012-03-082-2/+7
| | | | | | | | | One example to clarify: for the "destroyed(QObject* = 0)" signal, "obj.destroyed.connect(...)" connects to "destroyed()", and "obj.destroyed[QObject].connect(...)" connects to "destroyed(QObject*)". Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Added unit test for bug#500Hugo Parente Lima2012-03-082-0/+16
| | | | | Reviewer: Lauro Mora <lauro.neto@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Add tests for qmlregisterType function and qml list properties.Hugo Parente Lima2012-03-083-0/+122
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Changed file permissions to 0644.Hugo Parente Lima2012-03-083-0/+0
|
* Fixes QImage constructor signature that used string buffer as image data source.Marcelo Lira2012-03-082-0/+21
| | | | | | | | | | | | The fixes uses the patch provided by Pieter Palmers on the bug #489 description[1]. A very simple test, to check the signature existence, was added. [1] http://bugs.openbossa.org/show_bug.cgi?id=489 Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Added QRegExp.replace(QString, const char*) method.Marcelo Lira2012-03-082-0/+21
| | | | | | | | | | | | | | The only way to search and replace using QRegExp is using the QString::replace method. Since QString was removed, QRegExp now is useful only to search stuff, but not replace. For this purpose the QRegExp.replace method was added. The first argument is the string that will be operated over, the second argument contains the replacement, and the return value is a new modified Python string. Unit tests and documentation for QRegExp.replace were added as well. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Fix compilation on Windows.ps-1.0.0-beta1Hugo Parente Lima2010-11-251-0/+3
| | | | Reviewer: Renato Araújo <renato.filho@openbossa.org>
* Fix bug#496 - "No binary read/write methods in QDataStream"Hugo Parente Lima2010-11-241-0/+12
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Created unit test for bug #480.Renato Araujo Oliveira Filho2010-11-232-0/+26
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fixed unit test related to bug #446.Renato Araujo Oliveira Filho2010-11-222-4/+3
|
* Fix generated property flags on metaobject.Renato Araujo Oliveira Filho2010-11-221-0/+14
| | | | | | | Fixes bug #478 Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Created unit test for bug #446.Renato Araujo Oliveira Filho2010-11-192-1/+50
| | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
* Create unit test for bug #467.Renato Araujo Oliveira Filho2010-11-192-0/+20
|
* Fixed recursive call on duck punching test.Renato Araujo Oliveira Filho2010-11-191-1/+0
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed unit test to avoid exit with thread running.Renato Araujo Oliveira Filho2010-11-191-0/+2
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Created unit test for bug 462.Renato Araujo Oliveira Filho2010-11-192-0/+44
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix setLayout method that was causing segfault when itemAt wasn't implemented.Luciano Wolf2010-11-171-0/+24
| | | | | Reviewer: Hugo Parente <hugo.lima@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fix bug#471 - "QtCore.QObject is missing 'thread' method"Hugo Parente Lima2010-11-161-0/+2
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Removed invalid test.renatofilho2010-11-122-19/+0
|
* Added PySide attributes to specify current version, and Qt version.renatofilho2010-11-122-0/+18
| | | | | | | Fixes bug: #454 Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug#436 - "Using a custom QValidator generates a segfault"Hugo Parente Lima2010-11-112-0/+86
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug#455 - "QByteArray.data() cuts data to first '\x00' char"Hugo Parente Lima2010-11-111-0/+6
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Removed unnecessary find_package statements from pysidetest's CMakeLists.txtMarcelo Lira2010-11-111-4/+0
| | | | | Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Created unit test for qvariant conversion for object type.renatofilho2010-11-103-7/+50
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed QVariant conversions for user type.renatofilho2010-11-091-0/+8
|
* Convert QByteArray values to string during function call.renatofilho2010-11-091-2/+2
|
* Added test for Bug 452.Marcelo Lira2010-11-091-0/+3
| | | | | | | Bug 452 - QListWidgetItem() not casting NoneType to null correctly. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Created unit test for bug #451.renatofilho2010-11-054-38/+92
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug#427 - "QSvgWidget, load from QtCore.QByteArray does not work"Hugo Parente Lima2010-11-054-10/+757
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* unit test for bug #456renatofilho2010-11-033-0/+150
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Neto <lauro.neto@openbossa.org>
* Created unit test for bug #448.renatofilho2010-11-032-0/+21
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Neto <lauro.neto@openbossa.org>
* Created unit test for bug 428.renatofilho2010-10-292-0/+19
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Added test for bug #428.Marcelo Lira2010-10-291-0/+13
| | | | | Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Stop signal/slot connection if is impossible to register that on object.renatofilho2010-10-283-0/+51
| | | | | | | | Created unit test for bug #442, #437. Fixes bug #442. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>