aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Modified cmake files to make use of debug information provided by Shiboken.Marcelo Lira2010-10-262-2/+1
| | | | | In summation, PySide is compiled for debug if the libshiboken is compiled for debug.
* Remove releaseWrapper as Signal tp_deallocLauro Neto2010-10-262-0/+17
| | | | | | | | It was being called when the Signal was garbage collected, resulting in a segfault. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Reviewer: Renato Filho <renato.filho@openbossa.org>
* Fix bugs 430, 426, 429, 394, 433.Hugo Parente Lima2010-10-227-0/+79
| | | | | | | | These bugs are about QApplication instance being destroyed before some QObject. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@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>
* Added test for bug #395 - error calling QPainter.drawLines overloads.Marcelo Lira2010-10-191-6/+14
| | | | | Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Merge remote branch 'mainline/1.0'Hugo Parente Lima2010-10-199-5/+1694
|\ | | | | | | | | Conflicts: CMakeLists.txt
| * Signal objects redirect calls for homonymous methods.Marcelo Lira2010-10-112-6/+6
| |
| * Added a PySide derived test library.Marcelo Lira2010-10-119-5/+1694
| | | | | | | | | | | | | | | | | | | | | | The test library is intended to provide specific test cases in a way that problems could be isolated easier than using the ones provided by the Qt library. Cases commons to all Python bindings must go into the Shiboken test libraries, the one added here is intended to test Qt specifics (e.g. signals). A Python unit test was added for the case when a method and a signal have the same name.
* | Included QSignalTransition constructor to support Signal objects.renatofilho2010-10-192-0/+44
| | | | | | | | | | | | | | | | | | Created unit test. Fixes bug #416 Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@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>
* | Removed QtDesigner dependency from QtUiTools module.renatofilho2010-10-152-61/+1
| | | | | | | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* | Created function value to class QTreeWidgetItemIterator using therenatofilho2010-10-152-0/+27
| | | | | | | | | | | | | | | | | | operator *. Fixes bug #400. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* | Fix bug#172 - "editing a QListWidgetItem stored in a variable makes it ↵Hugo Parente Lima2010-10-141-0/+9
| | | | | | | | | | | | | | impossible to delete" Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* | Fixed reference leak on uiloader.renatofilho2010-10-132-1/+59
| | | | | | | | | | | | | | Fixes bug #392 Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* | Implemented support to deep copy on QtGui.renatofilho2010-10-132-1/+95
| | | | | | | | | | | | | | Fixed QMatrix*x* implementation. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Neto <lauro.neto@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>
* | Adding QColor copy testLauro Neto2010-10-131-0/+15
| | | | | | | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Filho <renato.filho@openbossa.org>
* | Replace type() comparison with isinstance.Lauro Neto2010-10-071-1/+1
| | | | | | | | | | | | | | | | type() comparison won't work due to weakproxy. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Reviewer: Hugo Lima <hugo.lima@openbossa.org> Reviewer: 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.
* | Created unittest for widgets defined in Python and used during ↵renatofilho2010-10-073-3/+107
|/ | | | | | | QUiLoader.loader function. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Add unit test for bug#172Hugo Parente Lima2010-10-052-0/+14
|
* Extend QUiLoader test to test ui files with custom widgets.renatofilho2010-10-051-1/+11
|
* Added missing file on QtUitools tests.renatofilho2010-10-011-0/+16
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* 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>
* Removing deprecated and duplicated testLauro Neto2010-10-013-79/+0
| | | | Reviewer: Hugo Lima <hugo.lima@openbossa.org>
* Unit test for bug #392.renatofilho2010-09-302-0/+20
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Unit test for bug 390.renatofilho2010-09-302-0/+16
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Add test to check iterability of QPolygonF.Hugo Parente Lima2010-09-292-0/+23
|
* Fix bug#372 - "DiagramScene (GraphicsView) Example not working"Hugo Parente Lima2010-09-292-0/+24
| | | | The correct title would be "QVariant doesn't correct store a QGraphicsScene object."
* Added support on script to compare symbols in both Qt bindings (PySide/PyQt4)renatofilho2010-09-291-33/+45
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@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 unit test to avoid put a object child of QApplication.renatofilho2010-09-241-1/+1
| | | | | | | This will cause assert on debug mode. Because qApp is dever destroyed. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@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>
* added a tool to compare class hierarchiesMatti Airas2010-09-231-0/+95
|
* Created unit test for bug #376.renatofilho2010-09-222-0/+20
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Created unit test for bug #360.renatofilho2010-09-213-0/+43
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Created unittest for bug 367.renatofilho2010-09-202-0/+23
|
* Created unit test for bug 363.renatofilho2010-09-202-0/+26
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Updated test with new Property name.renatofilho2010-09-202-4/+4
| | | | | 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-162-4/+4
| | | | | | | The anonymous connections will be considered on QObject.receivers function. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Update unit test for bug 312.renatofilho2010-09-161-0/+23
| | | | | | | Now the test verify if is possible connect more then 500 signals, if the signals was disconnected. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Created unittest for bug 328.renatofilho2010-09-152-0/+19
| | | | | 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>