aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtCore
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>
* 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>
* 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>
* 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 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>
* Fixed unit test related to bug #446.Renato Araujo Oliveira Filho2010-11-221-2/+2
|
* 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>
* 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 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
|
* 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>
* Fixed QVariant conversions for user type.renatofilho2010-11-091-0/+8
|
* Fix bug#427 - "QSvgWidget, load from QtCore.QByteArray does not work"Hugo Parente Lima2010-11-051-10/+0
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@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>
* Implemented support to notify argument on Properties.renatofilho2010-10-211-0/+34
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Included missing function on unit test for bug 332.renatofilho2010-10-191-0/+2
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug#408 - "QIODevice.readData() and .readLineData() have output ↵Hugo Parente Lima2010-10-192-0/+29
| | | | | | | parameters in their signatures" Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Implemented support to deep copy on QtCore.renatofilho2010-10-131-3/+26
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Neto <lauro.neto@openbossa.org>
* Adding extra check for QPoint as a dict keyLauro Neto2010-10-131-0/+3
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Filho <renato.filho@openbossa.org>
* Adding deepcopy test for QtCore classes.Lauro Neto2010-10-132-0/+57
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Filho <renato.filho@openbossa.org>
* Add more test for operations with QFlagsLauro Neto2010-10-071-0/+20
|
* Add default name for QObject.findChild(type, name)Lauro Neto2010-10-071-0/+11
| | | | | Plus test. Should return a child of the given type.
* Implement python conversion to QTime, QDate, QDateTimerenatofilho2010-10-012-0/+51
| | | | | | | Fixes bug #371. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Added hash functions for QLine, QPoint, QRect and QSize classes.Marcelo Lira2010-09-271-0/+29
| | | | | | | Tests where also added. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Fixed segmentation fault libpyside's signalUpdateSource function.Marcelo Lira2010-09-242-0/+30
| | | | | | | | | | | | | This function is called when an object is instantiated, and it will go through the class attributes looking for signals and what else is relevant. If the user has set a new attribute in the constructor before the call to its parent QObject-like __init__ method, a segmentation fault would ensue. This commit fixes this condition and also adds an unit test. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Updated test with new Property name.renatofilho2010-09-201-2/+2
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Added test from Lauro's patch on bug #313.Marcelo Lira2010-09-171-2/+31
| | | | http://bugs.openbossa.org/show_bug.cgi?id=313
* Fixed test.renatofilho2010-09-161-2/+2
| | | | | | | The anonymous connections will be considered on QObject.receivers function. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug#347 - "Setting properties in constructors gives incorrect results"Hugo Parente Lima2010-09-152-0/+13
| | | | | | | Added new function to libpyside: "fillQtProperties". Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Don't ignore exceptions caused by property getters and setters.Hugo Parente Lima2010-09-151-0/+7
| | | | The exception is ignored only if the call was a meta call.
* Created unittest for bug #332.renatofilho2010-09-142-0/+17
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Remove OS specific commands from translation test.Hugo Parente Lima2010-09-101-2/+5
| | | | | Reviewer: Lauro Moura <lauro.neto@openbossa.org> Bruno Araújo <burno.araujo@openbossa.org>
* bug_300_test moved to QtGui, because it tests a class from QtGui.Hugo Parente Lima2010-09-032-18/+0
|
* Fix bug#320 - "OR'ing Qt alignments doesn't work; adding them does"Hugo Parente Lima2010-09-031-5/+10
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fix bug#316 - "QAbstractItemModel.createIndex is broken"Hugo Parente Lima2010-09-012-0/+22
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fix bug#309 - "QtCore.QByteArray() or list from QtCore.Qsettings.value() as ↵Hugo Parente Lima2010-08-301-3/+5
| | | | | | | default" Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.araujo@openbossa.org>
* Fixed use of QFile to works on all plataforms.Renato Filho2010-08-231-2/+7
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Disable remove of QAbstractItemModel signals.Renato Filho2010-08-172-0/+18
| | | | | | | Fixes bug #300. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Avoid read the property in the QObject constructor.Renato Filho2010-08-161-6/+14
| | | | | | | Create unit test to verify if the python property is setted during the constructor. Reviewer: Hugo Parente <hugo.lima@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Raise a error when try to modify a read-only property.Renato Filho2010-08-161-0/+15
| | | | | | | Add get function as mandatory in QProperty constructor. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Added tests for QObject properties being set with named arguments on the ↵Marcelo Lira2010-08-131-0/+26
| | | | | | | constructor. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Created unit test to QVariant converstion of QStringList.Renato Filho2010-08-132-0/+25
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Included support to double values on qAbs.Renato Filho2010-08-021-1/+2
| | | | | | | Fixes bug #269. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug273 - QT_VERSION and QT_VERSION_STR constants.Luciano Wolf2010-08-022-0/+19
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fixed cyclic dependency on duck punching test.Renato Filho2010-07-291-0/+12
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Created unit test to test shiboken objects destructor.Renato Filho2010-07-292-0/+20
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Avoid running x11 specific tests on others OS.Renato Filho2010-07-231-1/+4
|