aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtCore
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug 656 - "cannot inherit from QCoreApplication"Hugo Parente Lima2012-03-082-0/+10
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Created __repr__ function unit test.Renato Araujo Oliveira Filho2012-03-082-0/+74
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fix bug#633 - "bool of null QDate (possibly other empty QString/null QObj ↵Hugo Parente Lima2012-03-081-0/+5
| | | | types?) returns True for empty instance; probably should be False"
* Fix bug#584 - "python pickle module can't treat QByteArray object of PySide"Hugo Parente Lima2012-03-081-0/+11
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Create a new parent test.Renato Araujo Oliveira Filho2012-03-081-0/+7
| | | | | Check if the parent does not increase the reference if you set the parent twice.
* Fixed function QDataStream.readRawData return value.Renato Araujo Oliveira Filho2012-03-081-4/+4
| | | | | | | | The function readRawData now return None in case of error, otherwise a string with the read data. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* New format for __version_info__.Hugo Parente Lima2012-03-082-0/+21
| | | | | | | The new format follow the same rules used by sys.version_info(). Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Created support to function qAddPostRoutine.Renato Araujo Oliveira Filho2012-03-082-0/+19
| | | | | | | | Created unit test for bug #515 Fixes bug #515 Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Avoid conflict in test case namesLauro Neto2012-03-081-1/+1
| | | | | Reviewer: Hugo Lima <hugo.lima@openbossa.org> Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
* Fix bug#514 - "Static method QByteArray.fromRawData is missing from QtCore"Hugo Parente Lima2012-03-081-0/+7
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* 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>