Renato Filho
3546a3674f
Implemented convertion from Python types for QDate, QTime, QDateTime.
...
Fixes bug #680
Reviewer: pcacjr <pcacjr@gmail.com>
Hugo Parente <hugo.lima@openbossa.org>
2011-05-18 11:00:03 -03:00
Hugo Parente Lima
75d27311e5
Fix bug 686 - "Request to make Q[Mutex|Read|Write]Locker context managers"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-05-17 18:41:54 -03:00
Marcelo Lira
e1a137d33e
Unit test for bug 634, based on code from Marcus Lindblom.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-05-17 17:50:08 -03:00
Marcelo Lira
5ae1e6460b
Added tests for bug #716 - QPersistentModelIndex isn't convertible to 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>
2011-05-13 17:25:08 -03:00
Paulo Alcantara
5a408b2b9d
Create unit tests for bug #606
...
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-05-13 14:02:41 -03:00
Renato Filho
3669f32af8
Created unit test for bug #312 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-11 10:18:36 -03:00
Paulo Alcantara
8ca58af304
Create unit test for bug #835
...
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-06 15:12:15 -03:00
Hugo Parente Lima
29c263eeb8
Moved unit test of bug 834 from QtCore to QtGui, as it tests QtGui classes.
2011-05-05 14:18:39 -03:00
Renato Filho
f70ff13351
Created unit test for bug #820 .
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-05 11:42:02 -03:00
Renato Filho
84b4f2da0a
Created unit test for QSysInfo class.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-04 15:51:14 -03:00
Paulo Alcantara
f5669ba342
Create unit test for bug #834
...
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-03 14:49:23 -03:00
Renato Filho
e9c7505375
Created unit test for bug #826 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-02 19:11:56 -03:00
Renato Filho
a68d4b04f3
Created unit test for bug 829.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-28 10:34:58 -03:00
Hugo Parente Lima
1374006206
Fix bug 717 - "QByteArray doesn't honor \0 inside strings."
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-14 20:42:49 -03:00
Hugo Parente Lima
1e149f3de4
Fix bug 723 - "Missing QAbstractFileEngine.read and QAbstractFileEngine.readLine"
2011-04-13 11:01:10 -03:00
Hugo Parente Lima
f3961387a9
Fix 720 - "QByteArray prints itself wrong, on tp_print and tp_repr"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-07 16:33:42 -03:00
Hugo Parente Lima
85f65194ef
Fix bug 724 - "Missing QAbstractFileEngine.map method"
2011-04-07 16:33:42 -03:00
Hugo Parente Lima
3b9481c24c
Fix bug 721 - "QFile doesn't support map and unmap functions."
2011-04-07 16:33:42 -03:00
Hugo Parente Lima
3cd2cad128
Fix bug 699 - "PySide.QtCore.Property doesn't throw a TypeError if the first arg isn't a PyType."
2011-03-25 09:48:11 -03:00
Hugo Parente Lima
6f8f728241
Fix bug 685 - "The second arg. of QObject.findChildren doesn't have a default value and doesn't support regexes."
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-03-23 13:36:17 -03:00
Hugo Parente Lima
a571d9bd98
Add unit test for bug 706 - "dataChanged signal raise an incorrect TypeError"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-03-16 11:22:34 -03:00
Hugo Parente Lima
008798b0e3
Fix bug 718 - "PySide/PyQt4 QByteArray incompatibilities: setNum method"
...
Fix bug 719 - "PySide/PyQt4 QByteArray incompatibilities: appendByte method"
2011-03-16 11:22:19 -03:00
Renato Araujo Oliveira Filho
9b3d0b2ef2
Updated translation test to use previous generated qm files.
...
Upload qm files used on test to git.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-02-07 20:06:27 -03:00
Hugo Parente Lima
4e79ce7b25
Fix 666 - "QByteArray does not support slices"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-02-04 19:28:43 -02:00
Hugo Parente Lima
ac767473a2
Fix qresource_test openning the file in binary mode, so it doesn't fail on windows.
2011-02-04 15:12:29 -02:00
Hugo Parente Lima
7b4968abab
Fixed/implemented various QResources methods.
...
- 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.
2011-02-03 18:36:04 -02:00
Hugo Parente Lima
b52148fd85
Fix comparisson of QByteArray with Python strings that have zeroes inside.
2011-02-03 18:36:04 -02:00
Hugo Parente Lima
43a8f4089e
Fix bug 656 - "cannot inherit from QCoreApplication"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-01-31 16:22:28 -02:00
Renato Araujo Oliveira Filho
5112a89ca9
Created __repr__ function unit test.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-27 17:35:05 -03:00
Hugo Parente Lima
286f9c6d09
Fix bug#633 - "bool of null QDate (possibly other empty QString/null QObj types?) returns True for empty instance; probably should be False"
2011-01-24 16:42:45 -02:00
Hugo Parente Lima
530a3d23c5
Fix bug#584 - "python pickle module can't treat QByteArray object of PySide"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-01-14 13:58:10 -02:00
Renato Araujo Oliveira Filho
85947c03d9
Create a new parent test.
...
Check if the parent does not increase the reference if you set the
parent twice.
2011-01-12 19:31:22 -03:00
linjunhalida
32681f7b70
add new QDatetime init function with 6 arguments
...
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-04 19:55:14 -02:00
Renato Araujo Oliveira Filho
3774752f0c
Fixed function QDataStream.readRawData return value.
...
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>
2011-01-04 19:23:57 -03:00
Hugo Parente Lima
269e8450dc
New format for __version_info__.
...
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>
2011-01-04 16:47:57 -02:00
Renato Araujo Oliveira Filho
374e2fcf88
Created support to function qAddPostRoutine.
...
Created unit test for bug #515
Fixes bug #515
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-01-03 19:58:53 -03:00
Lauro Neto
27b53151bf
Avoid conflict in test case names
...
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-03 11:28:02 -03:00
Hugo Parente Lima
a38db0fe03
Fix bug#514 - "Static method QByteArray.fromRawData is missing from QtCore"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2010-12-30 17:03:36 -02:00
Marcelo Lira
bb39c847d3
Fixed global functions from QT_TR_NOOP and QT_TRANSLATE_NOOP family.
...
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>
2010-12-21 12:23:39 -03:00
Hugo Parente Lima
00bfc9ba7b
Fix bug#544 - "QtCore.QRect missing binding for method getCoords"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2010-12-20 15:26:00 -02:00
Renato Araujo Oliveira Filho
fd9c8c8d76
Created unittest for bug #505 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-14 17:44:02 -03:00
Marcelo Lira
ed1c4c72b9
Added QRegExp.replace(QString, const char*) method.
...
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>
2010-12-06 15:33:51 -03:00
Hugo Parente Lima
91030433ce
Fix bug#496 - "No binary read/write methods in QDataStream"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2010-11-24 15:37:48 -02:00
Renato Araujo Oliveira Filho
276f260f65
Fixed unit test related to bug #446 .
2010-11-22 16:35:23 -03:00
Renato Araujo Oliveira Filho
e12197e282
Fix generated property flags on metaobject.
...
Fixes bug #478
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-11-22 10:43:01 -03:00
Renato Araujo Oliveira Filho
0989462639
Fixed recursive call on duck punching test.
...
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
2010-11-19 15:14:52 -03:00
Renato Araujo Oliveira Filho
43e499a4fa
Fixed unit test to avoid exit with thread running.
...
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
2010-11-19 15:14:48 -03:00
Renato Araujo Oliveira Filho
dd8b0fcfe4
Created unit test for bug 462.
...
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
2010-11-19 15:14:15 -03:00
Hugo Parente Lima
bd3efd2a0f
Fix bug#471 - "QtCore.QObject is missing 'thread' method"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2010-11-16 14:58:30 -02:00
renatofilho
d2e204f3df
Removed invalid test.
2010-11-12 19:10:31 -03:00