summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Disable benchlibtickcounter test by default.Rohan McGovern2009-07-291-3/+4
| | | | | | | This test depends on some low-level features of the CPU and the OS scheduler which seem impractical to automatically verify independently of the test. So turn it off to stop its intermittent failures in our test farm.
* Fixed failure of tst_qmake::simple_app_shadowbuild.Rohan McGovern2009-07-291-0/+1
| | | | Test needs a placeholder file to make sure its build directory exists.
* Fixed failure of tst_moc.Rohan McGovern2009-07-291-1/+1
| | | | os9-newlines.h's lack of newline at end of file is significant.
* Skip uic3 test when qt3support is disabled.Rohan McGovern2009-07-291-0/+3
|
* Fixed compile of tst_qitemeditorfactory.Rohan McGovern2009-07-281-5/+5
|
* Fixed failure of tst_q3urloperator.Rohan McGovern2009-07-281-5/+7
| | | | Make test use network-settings.h correctly.
* Fixed failure of tst_q3socket.Rohan McGovern2009-07-281-6/+8
| | | | Make the test use network-settings.h correctly.
* Fixed drawImage() so that it doesn't sample outside the source image.Kim Motoyoshi Kalland2009-07-281-19/+327
| | | | | | | | | | | | | | | | In qt_scale_image_16bit() and qt_scale_image_32bit(), when a sample point was located on the border between two pixels in the source image, the sample point was rounded up instead of down. If a sample point was exactly on the bottom or right edge of the source image, the function would therefore sample a pixel outside the image. Because of how the target rectangle is rounded, a sample point will never be exactly on the top or left edge of the source image, so we will not get a similar problem there. I extended the lance test pixmap_scaling.qps. Task-number: 258533 Reviewed-by: Samuel
* Fixed failure of tst_qlocale if run when LC_ALL is set.Rohan McGovern2009-07-271-6/+10
| | | | | | | | | | | | | | | | This test tried to be unaffected by the locale environment variables set by the user by explicitly overwriting them and spawning a new process. However this was only done for LANG and not the other variables which can affect the locale. Do it for all the locale variables. Also, the previous approach (store the current value with qgetenv, then put it back with qputenv later) doesn't really work because that effectively takes variables which weren't set and sets them to an empty string, which is not the same thing. Use QProcess::setEnvironment instead. Reviewed-by: Andy Shaw
* Fix a running external tests: user program headers must come first.Thiago Macieira2009-07-261-2/+2
| | | | | | No wonder QT_SHAREDPOINTER_TRACK_POINTERS was having no effect: there was an #include <QtCore/QtCore> before it. (cherry picked from commit 4c12010fac555bce0a6c8d69a267a56f4c15087f)
* Remove autotest for "Won't fix" bug 258462.Rohan McGovern2009-07-231-31/+0
|
* QSslSocket autotest: adapt to new certificate on test serverPeter Hartmann2009-07-222-23/+16
| | | | | | got a new certificate, which is self-signed now Reviewed-by: Thiago
* Add a (failing) test for QProcess bug 258462.Rohan McGovern2009-07-221-0/+31
|
* Fix assert in message handling.Frans Englich2009-07-201-0/+18
| | | | | | | Trivial fix. Reported by Michael Brasser. Task-number: 258337 Reviewed-By: Peter Hartmann
* don't rely on system codec when handling PO filesOswald Buddenhagen2009-07-171-1/+1
| | | | | - make -input-codec affect PO files, default to UTF-8 - add -output-codec for PO files, same default
* Test case for QDirIterator regression introduced in 4.5.0João Abecasis2009-07-171-10/+21
| | | | | Task-number: 258230 Reviewed-by: Olivier Goffart
* tst_qnetworkreply: Removed warningMarkus Goetz2009-07-171-0/+1
| | | | Reviewed-by: TrustMe
* implement proper vpath handlingOswald Buddenhagen2009-07-137-0/+80
| | | | | | | | | | | | this also removes the bogus special casing of various filename-containing variables inside the pro parser. while this is a feature as such, it restores backwards compatibility without damaging the correct behavior again, so it qualifies for 4.5. based on a2f40fce2a1cf3c19a13fa27eea08192493ab76e from creator Task-number: 254098
* tst_qnetworkreply: qDebug instead of qWarningMarkus Goetz2009-07-131-1/+1
|
* QFlags::testFlag(): handle the zero case appropriately.Frans Englich2009-07-131-0/+24
| | | | | | | | Brought up by Andy. See perforce change 314809, 17b07e3ab6192b31f77fd2f126705b9ab53b3937. Related to task 221708. Reviewed-By: Andy Shaw (cherry picked from commit cc24c46c117248ecb98200416e7f25375e6bb476)
* Fix line endings.Alexis Menard2009-07-131-22/+22
|
* Fixes failure when table has null fields to updateBill King2009-07-131-0/+62
| | | | | | | Fixes an issue where too many parameters are bound when updating QSqlTableModel where the stored record has NULLs in it. Reviewed-by: Justin McPherson
* Fixed a crash with input methodsPierre Rossi2009-07-101-0/+15
| | | | | | | | | The inputContext's focusWidget was not reset when disabling input methods. Thanks to Benjamin P. Task-number: 257832 Reviewed-by: Denis
* rewrite makeplurals.sh in perlOswald Buddenhagen2009-07-103-44/+43
| | | | ... so it works under windows as well.
* make tests independent of PATH contentsOswald Buddenhagen2009-07-103-11/+19
| | | | use absolute paths for the tested executables
* QNAM: httpDownloadPerformance auto testMarkus Goetz2009-07-091-0/+126
| | | | Reviewed-by: Peter Hartmann
* make test behave like othersDerick Hawcroft2009-07-081-1/+1
|
* Make the table actually delete before the autotestBill King2009-07-081-1/+1
|
* Cleanup more SQL autotest failures.Bill King2009-07-083-12/+28
|
* safely drop tables.Derick Hawcroft2009-07-081-1/+3
|
* Auto test for task 233829Derick Hawcroft2009-07-071-1/+29
| | | | | | - postgreSQL specific autotest. Task-number:233829
* Fix more sql autotest failures.Bill King2009-07-061-3/+4
| | | | | | Sql server fails at numeric field calculations. (Confirmed by running against MySql via odbc). Also, quote fields properly. The drivers know how to do it correctly, so let them handle it.
* Fix precision autotest for SqlServerBill King2009-07-061-6/+7
| | | | | Sql Server can't count. Reduce the expected length of string when we're on sql server.
* Fix up two more qsqldatabase autotests.Bill King2009-07-031-1/+8
|
* add license headersOswald Buddenhagen2009-07-025-0/+205
|
* Get more autotests passing/fixed up.Bill King2009-07-022-2/+16
|
* integrate linguist tool autotests into the qt testsuiteOswald Buddenhagen2009-06-30200-0/+6573
| | | | Task-number: 218935
* Compile qmake autotestMarius Storm-Olsen2009-06-301-1/+1
|
* QTemporaryFile: Report the user-provided openModeJoão Abecasis2009-06-291-0/+33
| | | | Reviewed-by: Thiago
* Fix autotest failure in QStyle:drawItemPixmapJens Bache-Wiig2009-06-292-1/+5
| | | | | | | This was basically a problem with shadow builds not being able to access the pixmap. Reviewed-by:eskil
* bug fixDerick Hawcroft2009-06-291-6/+4
| | | | | Task-number: 217003 Reviewed-by: Bill King
* Fix painting errors in QScrollArea on Mac (Carbon)Morten Sørvig2009-06-261-0/+1
| | | | | | | | | | | | | | | This is mainly a stop-gap solution for 4.5.x. It trades painting performance for correct painting. Commit 7988d05da changed the opaque test from q->testAttribute(Qt::WA_OpaquePaintEvent) to qt_widget_private(w)->isOpaque in qt_mac_update_widget_posisiton. This means we'll do optimized moves in more cases. Unfortunately it also causes painting errors in some cases (see the task). Revert the commit for now to put the 4.5 branch in a god shape. Task-number: 252295 Reviewed-by: nrc
* make invokable constructors work with classes in namespaceKent Hansen2009-06-251-0/+22
| | | | | | | | | | Use the fully qualified classname at relevant places in the moc-generated code. Also, QMetaObject::newInstance() needs to strip the namespace part, since the constructor signatures don't contain the fully qualified name. Task-number: 246064 Reviewed-by: Simon Hausmann
* QNetworkReplyImpl: Protect against recursive event loopsMarkus Goetz2009-06-253-0/+136
| | | | | | | | | | This fixes a bug that occured together with a QProgressDialog. The signal emission was like: readyRead readyRead readyRead [...] readyRead finished readyRead Now finished should be properly at the ending of this sequence. Task-number: 256630 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* Change QSharedPointer to track (or not) pointers when the #define isThiago Macieira2009-06-251-1/+2
| | | | | | | | | enabled. This allows mixing of debug and non-debug code (possible on Unix systems) without causing assertion failures. Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
* Backport: Mark tests as XFail until they can be investigated further.Bill King2009-06-241-7/+13
|
* These database connections need this parameter to work properly.Bill King2009-06-241-2/+2
|
* Regression against 4.4 in QRectF::operator|.Bjørn Erik Nilsen2009-06-231-0/+2
| | | | | | | | | | | | | | | | In 4.4 QRectF handled flat rectangles in the same fashion as QRect does, but that changed with Lars' and Jo's optmizations done in the falcon branch. The difference is that the optimized version only checks whether the width or height is 0, whereas in 4.4 both had to be 0 (isNull()) before we bailed out. This regression also introduced a regression in QGraphicsItem::childrenBoundingRect(). Auto-test included. Task-number: 254995 Reviewed-by: Lars
* Add new auto-test QGraphicsItem::childrenBoundingRect2().Bjørn Erik Nilsen2009-06-231-0/+11
| | | | Reviewed-by: Andreas
* Prevented QWizard from crashing upon removing a page after deleting a field ↵jasplin2009-06-221-0/+22
| | | | | | | | | | | | | object. QWizard crashed when removing a page after deleting an object that was already registered as a field for the page. This patch prevents such a crash by doing the necessary cleanup immediately when the object is deleted. QWizard::removePage() will then see a consistent state in this case. Reviewed-by: janarve Task-number: 255350