aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtCore
Commit message (Collapse)AuthorAgeFilesLines
* Created test for QObject.inherits.Renato Filho2012-03-082-0/+17
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Fix bug 869 - "QDateTimeEdit initial time problem"Hugo Parente Lima2012-03-082-6/+11
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Removed the rejection of QAbstractFileEngine.beginEntryList.Marcelo Lira2012-03-082-0/+76
| | | | | | | Added an unit test. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Check if the same python object arrive on destroyed signal.Renato Filho2012-03-081-0/+3
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Created DestroyListener class.Renato Filho2012-03-082-0/+28
| | | | | | | | | | | This class is used to keep the Python object live until the signal destroyed emission. With this is possible to use the QObject on destruction signal. Fixes bug #505. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Created unit test for ClassInfo class.Renato Filho2012-03-082-0/+30
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Create unit test for function QEasingCuver.setCustomType.Renato Filho2012-03-082-0/+27
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Update test for python 2.5Lauro Neto2012-03-081-0/+2
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Reviewer: Hugo Lima <hugo.lima@openbossa.org>
* Implemented convertion from Python types for QDate, QTime, QDateTime.Renato Filho2012-03-082-0/+19
| | | | | | | Fixes bug #680 Reviewer: pcacjr <pcacjr@gmail.com> Hugo Parente <hugo.lima@openbossa.org>
* Fix bug 686 - "Request to make Q[Mutex|Read|Write]Locker context managers"Hugo Parente Lima2012-03-082-0/+86
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Unit test for bug 634, based on code from Marcus Lindblom.Marcelo Lira2012-03-082-0/+28
| | | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Added tests for bug #716 - QPersistentModelIndex isn't convertible to ↵Marcelo Lira2012-03-081-0/+7
| | | | | | | | | | | | | QModelIndex The main test (exactly the same as reported) was added to QtGui tests, but also extended QAbstractItemModel test with a case that is the essence of the problem. http://bugs.pyside.org/show_bug.cgi?id=716 Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Create unit tests for bug #606Paulo Alcantara2012-03-082-0/+35
| | | | | | | Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org> Reviewer: Lauro Moura <lauro.neto@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Created unit test for bug #312.Renato Filho2012-03-082-0/+33
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Create unit test for bug #835Paulo Alcantara2012-03-082-0/+66
| | | | | | | Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org> Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Moved unit test of bug 834 from QtCore to QtGui, as it tests QtGui classes.Hugo Parente Lima2012-03-082-19/+0
|
* Created unit test for bug #820.Renato Filho2012-03-082-0/+70
| | | | | Reviewer: Lauro Moura <lauro.neto@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Created unit test for QSysInfo class.Renato Filho2012-03-082-0/+15
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Create unit test for bug #834Paulo Alcantara2012-03-082-0/+19
| | | | | | | Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org> Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Created unit test for bug #826.Renato Filho2012-03-082-0/+30
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Created unit test for bug 829.Renato Filho2012-03-083-0/+21
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Fix bug 717 - "QByteArray doesn't honor \0 inside strings."Hugo Parente Lima2012-03-082-10/+7
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fix bug 723 - "Missing QAbstractFileEngine.read and ↵Hugo Parente Lima2012-03-082-0/+51
| | | | QAbstractFileEngine.readLine"
* Fix 720 - "QByteArray prints itself wrong, on tp_print and tp_repr"Hugo Parente Lima2012-03-081-0/+6
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fix bug 724 - "Missing QAbstractFileEngine.map method"Hugo Parente Lima2012-03-082-0/+23
|
* Fix bug 721 - "QFile doesn't support map and unmap functions."Hugo Parente Lima2012-03-081-0/+11
|
* Fix bug 699 - "PySide.QtCore.Property doesn't throw a TypeError if the first ↵Hugo Parente Lima2012-03-082-0/+18
| | | | arg isn't a PyType."
* Fix bug 685 - "The second arg. of QObject.findChildren doesn't have a ↵Hugo Parente Lima2012-03-081-1/+10
| | | | | | | default value and doesn't support regexes." Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Add unit test for bug 706 - "dataChanged signal raise an incorrect TypeError"Hugo Parente Lima2012-03-082-0/+28
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug 718 - "PySide/PyQt4 QByteArray incompatibilities: setNum method"Hugo Parente Lima2012-03-081-0/+19
| | | | Fix bug 719 - "PySide/PyQt4 QByteArray incompatibilities: appendByte method"
* Updated translation test to use previous generated qm files.Renato Araujo Oliveira Filho2012-03-083-8/+0
| | | | | | | Upload qm files used on test to git. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Fix 666 - "QByteArray does not support slices"Hugo Parente Lima2012-03-081-0/+9
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fix qresource_test openning the file in binary mode, so it doesn't fail on ↵Hugo Parente Lima2012-03-081-2/+2
| | | | windows.
* Fixed/implemented various QResources methods.Hugo Parente Lima2012-03-084-13/+3529
| | | | | | - data() is now exported and returns a Python read-only buffer object. - (un)registerResourceData now accept buffers as arguments, and respects zeroes in the middle of data. - Improved unit test.
* Fix comparisson of QByteArray with Python strings that have zeroes inside.Hugo Parente Lima2012-03-081-0/+1
|
* 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>