aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug 674 - "QGraphicsScene::clear() is missing"Hugo Parente Lima2012-03-082-0/+24
|
* Fix bug 675 - "QGraphicsLinearLayout segfault"Hugo Parente Lima2012-03-082-0/+16
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Add unit test for bug 684.Hugo Parente Lima2012-03-081-0/+13
|
* Raise error when slot argument is unknown.Lauro Neto2012-03-081-0/+9
| | | | | | | | | | | | | | | | | | | Instead of accepting it silently and generating potential segfault and undefined behavior, raise TypeError when the type of an argument is unknown to PySide type system. An example of such erratic behavior is in declarations like: @Slot def foo(self): Slots without arguments must be explicitly declared this way: @Slot() def foo(self): Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Reviewer: Hugo Lima <hugo.lima@openbossa.org>
* Fix bug 638 - "Documentation for phonon doesn't show class inheritance ↵Hugo Parente Lima2012-03-081-1/+1
| | | | diagrams."
* Created unit test for bug #671.Renato Araujo Oliveira Filho2012-03-082-0/+63
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Added QCursor test. It is related to bug #630.Marcelo Lira2012-03-082-0/+17
| | | | | | | | Bug #630 - Fails to resolve overload for QCursor(QBitmap, QBitmap, int, int) http://bugs.openbossa.org/show_bug.cgi?id=630 Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed function 'QToolBar.addAction' to support callback in theRenato Araujo Oliveira Filho2012-03-082-0/+29
| | | | | | | | | | | arguments. Create unit test for bug #635. Fixes bug #635. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Fix bug 668 - "QFileSystemModel setRootPath stops application from quitting."Hugo Parente Lima2012-03-082-0/+22
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fix bug 667 - "Crash on exit"Hugo Parente Lima2012-03-082-0/+25
|
* Fix QGLBuffer::map code injection and test.Hugo Parente Lima2012-03-081-20/+14
|
* Updated http server used on tests to keep trying until get a free address.Renato Araujo Oliveira Filho2012-03-081-5/+6
|
* Created unit test for bug #662.Renato Araujo Oliveira Filho2012-03-082-0/+29
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* 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>
* Updated http server used on unit test.Renato Araujo Oliveira Filho2012-03-081-0/+2
| | | | | | | Allow the server to reuse the address to avoid errors. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Created unit test for signals.Renato Araujo Oliveira Filho2012-03-084-0/+173
| | | | | | | | Test for types inside of namespace Test for types defined by typedef. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@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 bug 660 - "QMimeData type deleted prematurely when overriding mime-type ↵Hugo Parente Lima2012-03-082-0/+28
| | | | in QStandardItemModel drag and drop"
* Fix bug 643 - "QTabWidget.insertTab not taking ownership"Hugo Parente Lima2012-03-081-1/+9
|
* The global header for PySide is now installed with the libpyside headers.Marcelo Lira2012-03-083-1511/+3
| | | | | | | | | This is good for PySide derived bindings (like the ones for QtMobility), so they don't need to copy the PySide global headers to their source tree and end up with an outdated file. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Removed unnecessary line from test binding CMake file.Marcelo Lira2012-03-081-1/+1
|
* 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 653 - "Crash after calling QWizardPage.wizard()"Hugo Parente Lima2012-03-082-0/+18
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug 652 - "Segfault when using QTextBlock::setUserData due to missing ↵Hugo Parente Lima2012-03-082-0/+31
| | | | ownership transfer"
* Fix bug 651 - "Calling disconnect() with no arguments causes segfault"Hugo Parente Lima2012-03-082-0/+33
|
* 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>
* Updated GeneratorRunner calls on CMake files to use "--generator-set" ↵Marcelo Lira2012-03-081-1/+1
| | | | | | | | instead of "--generatorSet". Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Added test for bug 613.Hugo Parente Lima2012-03-082-0/+25
|
* Fix bug 565 - "QImage missing *data constructors"Hugo Parente Lima2012-03-081-6/+18
| | | | | | | | | | Fix bug 566 - "'PySide.QtGui.QImage' object has no attribute 'scanLine'" The constructors now accepts any PyObject which implements the buffer protocol, as the C++ and PyQt4 version the buffer must be alive during the life time of QImage because QImage *does not* copy the image data. scanLine() and bits() now return buffer objects pointing to the memory inside QImage.
* Created unit test for bug #617.Renato Araujo Oliveira Filho2012-03-082-0/+22
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Created __repr__ function unit test.Renato Araujo Oliveira Filho2012-03-084-0/+165
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Add test for bug#640.Hugo Parente Lima2012-03-082-0/+12
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Implement support to others color spec on deepcopy function.Renato Araujo Oliveira Filho2012-03-081-0/+25
| | | | | | | | | Created unit test QColor reduce function. Fixes bug #612. 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"
* Fixed QLineEdit.getTextMargins return value.Renato Araujo Oliveira Filho2012-03-081-0/+20
| | | | | | | Fixes bug #632 Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Marcelo Lira <marcelo.lira@openbossa.org>
* Added test cases for signal emission.Marcelo Lira2012-03-085-0/+164
| | | | | | | Signals are emitted from C++ and Python. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Fix bug#552 - "Segmentation fault when using QUiLoader and QTabWidget"Hugo Parente Lima2012-03-083-0/+64
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Use the same Python used by Shiboken instead of find a new one.Hugo Parente Lima2012-03-081-2/+1
|
* Fix bug#623 - "QGLWidget.bindTexture(QPixmap, GLenum, GLenum) is missing"Hugo Parente Lima2012-03-082-0/+19
|
* Added test for module reloading.Marcelo Lira2012-03-083-0/+52
| | | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Created unit test for bug #575.Renato Araujo Oliveira Filho2012-03-082-0/+21
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* 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.
* Added test for QPainter.setPen() method.Marcelo Lira2012-03-081-3/+27
| | | | | | | | | | | | Calls it with enum, to call the setPen(Qt.PenStyle) signature, and with an integer, to call the setPen(QColor) signature (QColor is implicitly built from an unsigned int in C++). For more details see Bug #511: http://bugs.openbossa.org/show_bug.cgi?id=511 Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Added condition for a phonon test that fails on Win32 with Qt 4.7.1.Marcelo Lira2012-03-081-1/+5
| | | | | | | | | | | | This is due to a bug on Phonon::createPath that happens with the specific combination of Win32 platform and Qt 4.7.1. The bug is reported as fixed for Qt 4.7.2, but it wasn't released yet. For more details on the bug: http://bugreports.qt.nokia.com/browse/QTBUG-13062 Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Lauro Moura <lauro.neto@openbossa.org>
* Created unit test for bug 589.Renato Araujo Oliveira Filho2012-03-082-0/+20
| | | | | Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fixes connecting signal to decorated slot.Marcelo Lira2012-03-082-2/+42
| | | | | | | | | | | | Decorated methods on classes derived from QObject are not called when connected to Qt signals because they get a name different from the decorated method. To solve this decorated methods are registered as global slots. An unit test was added. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Refactoring to Phonon basic playing test.Marcelo Lira2012-03-083-32/+26
| | | | | | | Also replaced the ogg audio tone file for a wav one. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>