aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Adding test for QAbstractTransition, QAnimationGroup and QStateMachine.Luciano Wolf2010-02-053-0/+108
| | | | Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Backporting Qt4.6 support from PySide (Boost) to Shiboken, plus:Luciano Wolf2010-02-051-0/+35
| | | | | Implemented inject code for QState.addTransition - by Renato Araujo. QState test - by Renato Araujo.
* Fix duck punching unit test.Hugo Lima2010-02-031-2/+2
| | | | Reviewed by Lauro Moura <lauro.neto@openbossa.org>
* Adding extra tests to QVariantLauro Neto2010-02-031-1/+18
|
* Fixing several testsLauro Neto2010-02-0212-37/+246
| | | | | | | | | | Using isinstance instead of comparing classes names Removing unnecessary tuple check, treated by the return value unpacking Adding missing inject code tests Adding qfile.getchar test Fixing QLocale.to* methods fixing __setitem__ in qbytearray
* Tests for QString.to* and QByteArray imp convers.Lauro Neto2010-02-021-2/+64
|
* Adding tests and fixing QString __setitem__ and []Lauro Neto2010-02-021-1/+58
| | | | | | Instead of calling replace, using remove/insert, as there's no way of replacing only 1 char at a given position by another string directly.
* Removes a test which creates an instance of an abstract class.Hugo Lima2010-02-011-4/+0
|
* Add support for buffer protocol on QStrings.Hugo Lima2010-01-271-6/+1
|
* Revert "We do not support character buffer protocol on QStrings."Hugo Lima2010-01-271-0/+25
| | | | This reverts commit 1a7cbb2473327abad936447c47818ee13df2992c.
* We can't ensure that the last enum value of QVariant will be fixed forever,Hugo Lima2010-01-221-5/+0
| | | | e.g. On Qt4.6 there are new values and they changed.
* We do not support character buffer protocol on QStrings.Hugo Lima2010-01-211-25/+0
| | | | | | | | | The only way of supporting it is storing an 8-bit encoded version of QString into the QString instance, this will increase the memory usage of QString in 50%, and we don't want it. So, if you need to pass QStrings for a python functions which doesn't accept unicode, just cast yourself the QString to a python string.
* Updates duck punching test to use 'types' module instead of 'new'.Marcelo Lira2010-01-211-6/+6
| | | | | | The 'new' module was deprecated on behalf of 'types' module. Reviewed by Hugo Parente Lima <hugo.lima@openbossa.org>
* Fix qdatastream unit test and typesystem.Hugo Lima2010-01-201-4/+4
| | | | Reviewed by Lauro Mora <lauto.neto@openbossa.org>
* Adding a buffer test (copied from PySide trunk).Luciano Wolf2010-01-191-0/+13
|
* Updated test for overloads with static and non-static versions of a method.Marcelo Lira2010-01-191-8/+45
|
* QKeySequence is a class from QtGui, so this test has been moved to QtGui ↵Hugo Lima2010-01-181-0/+0
| | | | | | tests directory. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Does not makes sense concat a unicode string with a QByteArray.Hugo Lima2010-01-181-11/+13
| | | | | | Because the user does not know nothing about the internal representation of the unicode string. Reviewed by Lauro Moura <lauro.moura@openbossa.org>
* - Removed QTextStream with QByteArray const reference and added the ctors ↵Hugo Lima2010-01-141-0/+1
| | | | | | | | | with QByteArray and QString pointers. - Added QTextStream::string() - Added QTextStream::codec() Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Adding tests for QByteArray += operatorLauro Neto2010-01-131-0/+73
| | | | Reviewed by Hugo Parente Lima <hugo.lima@openbossa.org>
* Adding metaclass for tests - DocModifierLauro Neto2010-01-131-0/+89
|
* Remove usage of QThread in signal emission testLauro Neto2010-01-041-12/+5
| | | | Reviewed by Anderson Lizardo (anderson.lizardo@openbossa.org)
* Split signal tests into gui and core testsLauro Neto2010-01-047-168/+224
| | | | | Can't use a QApplication and a QCoreApplication in the same process
* Fix qmentaobject test to work with dynamic metaobject.renato2010-01-041-1/+3
|
* Fixes type system templates for methods with bool* as parameter.Marcelo Lira2010-01-041-0/+15
| | | | | | | | | Template functions like "fix_bool*" were converting the bool "ok" value to various types except bool, and "fix_bool*,arg" was using the wrong C++ argument. Tests were also added. Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* Fix test of QObject::senderHugo Lima2009-12-301-1/+1
|
* Signal emission tests with non QtGui testsLauro Neto2009-12-161-2/+67
| | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
* Fixing pysignal_tests with helper classesLauro Neto2009-12-161-8/+18
|
* Fixing "wrong number of arguments" testsLauro Neto2009-12-161-10/+20
|
* Adding decorator requires(ModuleName) for testsLauro Neto2009-12-165-14/+87
|
* Adding no-qtgui tests for lambda and multiple sigLauro Neto2009-12-162-7/+67
| | | | | | | Lambda tests using QProcess Multiple connections using QProcess and split into separate test cases
* Add empty classes when QtGui's not availableLauro Neto2009-12-161-0/+13
| | | | | Also, for tests using the UsesQApplication will raise an NoQtGuiError when QtGui is not available.
* Fixing signals connections back to static methodLauro Neto2009-12-161-1/+1
|
* Fixing multiple signal testsLauro Neto2009-12-161-6/+10
| | | | | Changed to use a emitter argument to run_many, so we can pass qpushbutton.click or a partial call for python signals
* Fix typo in run_test.sh (PYTHONPATH)Lauro Neto2009-12-161-1/+1
|
* args_dont_match.py renamed to args_dont_match_test.pyHugo Lima2009-12-161-0/+0
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Tests synchronized with the boost python PySide.Hugo Lima2009-12-1514-8/+329
|
* Add test to QDataStream.read/write Int8Lauro Neto2009-11-101-1/+26
|
* Adding more tests for QDataStreamLauro Neto2009-11-101-9/+294
| | | | From pyside-boost
* Fixed the test to avoid enums extensions.Hugo Lima2009-09-281-3/+10
|
* Removed some pyc files that SHOULD NEVER be in a VCSHugo Lima2009-09-282-0/+0
|
* Added all original pyside unit tests to the shiboken version.Hugo Lima2009-09-21156-0/+6584