summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Moving a child widget right after show() does not work as expected.Bjørn Erik Nilsen2009-06-221-0/+28
| | | | | | | | | | | | | | The problem was that we did an accelerated move, i.e. scrolled the widget's contents in the backing store and repainted the old area. We cannot do this trick when the widget has been invalidated (show(), resize()). In this case the widget had never been painted, so we basically scrolled the content of its parent and the widget itself appeared as invisible. Auto-test included. Task-number: 255117 Reviewed-by: Paul
* Fixed wrong painting when doing IntersectClip after setClipping(false).Samuel Rødal2009-06-222-0/+15
| | | | | | | | | | The documentation is a bit ambiguous on what the expected behavior here is, but the behavior was consistent across paint engines before 4.5. QPaintEngineEx introduced inconsistencies in the raster and OpenGL paint engines, so this patch reverts the behavior back to what it was in 4.4. Task-number: 256549 Reviewed-by: Trond
* QItemEditorFactory: made sure the ownership is taken on theThierry Bastian2009-06-181-7/+31
| | | | | | | | | | QItemEditorCreator The creators were not deleted i nthe destructor of QItemEditorFactory and they could not be safely used for more than one type. Task-number: 228255 Reviewed-by: jasplin
* Made QInputDialog::getText() return null QString when rejectedStian Sandvik Thomassen2009-06-181-2/+23
| | | | | | | | | | | | This reverts a behavior change introduced with Qt 4.5.0 where QInputDialog::getText() returned the line edit's text when the dialog was rejected. However, the behavior since Qt 4.0 has been to return a null QString when the dialog is rejected. Task-number: 256299 Reviewed-by: Andy Shaw
* Fixed bugs in QPainterPath::united().Samuel Rødal2009-06-171-0/+20
| | | | | | | | | | Change from a relative to an absolute fuzzy compare as was the case pre-4.4. With a relative fuzzy compare points that have an x or y coordinate of 0 will never be merged with points that are very close to 0, for example (1e-15, 0). Task-number: 251909 Reviewed-by: Trond
* Fixed segmentation fault caused by empty clip.Samuel Rødal2009-06-171-0/+19
| | | | | | | | Make sure not to use the broken QRect constructor, and do an early check on whether the clip rect is empty in QRasterizer::rasterizeLine(). Task-number: 254105 Reviewed-by: Trond
* add SqlQuery unit test for task: 234422Derick Hawcroft2009-06-161-1/+40
|
* Update license headers as requested by the marketing department.Jason McDonald2009-06-16891-1916/+1916
| | | | Reviewed-by: Trust Me
* Fixes to get some MS Sql Server tests running again + new db definitions.Bill King2009-06-162-1/+10
|
* Add Qt 4.4.0 linux-gcc-ia32 testdata to bic test and make the bic testRohan McGovern2009-06-1614-33/+129891
| | | | | | | | | code more maintainable. Stop hardcoding the list of versions to test. Note that this test currenty FAILS because QGraphicsProxyWidget vtable size has changed from 4.4 -> 4.5.
* Fix wrong comparator in QSslCertificatePrivate::QByteArray_from_X509Markus Goetz2009-06-151-0/+38
| | | | | | | | | Because less-than instead of less-or-equal-than was used, the last line of a PEM encoding was not built when the raw length was multiple of 64. Task-number: 256066 Reviewed-by: mariusSO
* make qscript unit tests not crash when test files are not foundKent Hansen2009-06-152-16/+18
|
* Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Derick Hawcroft2009-06-155-673/+50
|\
| * BT Revert "Fix the behaviour of sql classes regarding quoted identifiers"Bill King2009-06-155-673/+50
| | | | | | | | | | This reverts commit bb7bddc47dd0748b45d22180d9e3c8e5209010b3 due to forward binary compatibility issues in a point release.
* | unit test for task 229811Derick Hawcroft2009-06-151-7/+55
|/
* Adds unit test for task: 180617Derick Hawcroft2009-06-151-4/+41
| | | | | Tests to see if QSqlQueryModel inserts extra empty gridlines into a view for a specific SQL query statement that should return no data.
* QGraphicsItem::setOpacity(0.0) does not trigger an update of child itemsLeonardo Sobral Cunha2009-06-121-1/+50
| | | | | | | | Forwarding the ignoreOpacity flag to children in QGraphicsItemPrivate::fullUpdateHelper. This is a complementary fix to task 252913, partly fixed in commit 2e3a5ea44... Reviewed-by: bnilsen BT: yes
* Fixed compile of arthur tests when Qt is configured without opengl orRohan McGovern2009-06-105-5/+13
| | | | qt3support.
* Fix the qitemdelgate test.Olivier Goffart2009-06-091-14/+14
| | | | the line edit was deleted when we press enter
* Fixed intermittent failure of tst_selftests.Rohan McGovern2009-06-091-1/+1
| | | | Allow more variance for the benchlibtickcounter selftest.
* Fixed crash in tst_qcombobox when Qt is built in debug mode.Rohan McGovern2009-06-091-1/+1
| | | | | "QTableWidget::setModel() - Changing the model of the QTableWidget is not allowed."
* Fixed tst_qmake failing to compile when QMAKE_CROSS_COMPILED is defined.Rohan McGovern2009-06-091-1/+2
|
* Change order of functions in QInputDialog::getDouble()Markus Goetz2009-06-081-0/+15
| | | | | | | Fixes issue with decimals in the spinbox used for the double Task-number: 255502 Reviewed-by: mbm
* Autotest: Fixed a race condition in the network self test.Thiago Macieira2009-06-051-6/+0
| | | | | | | | | | Some of the tests (including the httpsServer one) requested that the server close the connection (Connection: close). It could happen that, well, the server did close the connection and we noticed it while doing the waitForBytesWritten in the doSocketFlush function. Then we'd create an error in the next step because the socket wasn't connected. Reviewed-by: TrustMe
* Autotest: add some tests for sending (or failing to) invalid D-Bus callsThiago Macieira2009-06-041-0/+25
| | | | Reviewed-by: TrustMe
* BT: Fixes Crash when deleting a QProgressBar which has been styled with ↵Olivier Goffart2009-06-041-2/+18
| | | | | | | | | | | QMotifStyle Same fix as in e9a7e43031d7c1ee712e43be682c4e2c183759c4 but with motif Reported by https://bugs.kde.org/show_bug.cgi?id=193911 Task-number: 255138 Reviewed-by: jbache
* Silence compile warning in the testAndy2009-06-041-2/+2
| | | | Reviewed-by: TrustMe