summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixes QSqlTableModel: trying to delete the wrong row.Bill King2009-09-141-0/+61
| | | | | | | Uses the primary key from the index in the query, not the resulting location in the modified dataset. Task-number: 222678
* QHttpNetworkConnection autotest: include zlib dirPeter Hartmann2009-09-101-0/+1
| | | | | | test was not building Reviewed-by: Trust Me
* tst_qinfo: Be more verbose in case of failuresMarkus Goetz2009-09-101-0/+6
|
* Fixes autotest for MS SQL ServerBill King2009-09-101-1/+4
| | | | Merging fix back into 4.5 tree
* Fixes determination of end of odbc string on deficient driverBill King2009-09-101-0/+41
| | | | | | | Ported this fix backwards from 4.6 to 4.5 Adds some cleanups (using QVarLengthArray), and reverting to the initial and correct calculation (when the driver doesn't deem fit to return SQL_NO_DATA).
* Autotest: fix the test for NUL in SAN. It was missing "www".Thiago Macieira2009-09-091-1/+1
| | | | Reviewed-by: Marius Bugge Monsen
* tst_qhostinfo: Backported some 4.6 fixes, increased timeoutMarkus Goetz2009-09-091-7/+4
|
* QHttpNetworkConnection autotest: include zlib dirPeter Hartmann2009-09-091-0/+1
| | | | | | test was not building Reviewed-by: Trust Me
* network-settings.h: Check for DNS setup only when neededMarkus Goetz2009-09-081-0/+2
|
* Fix moc test after licence change.Olivier Goffart2009-09-081-1/+1
| | | | os9-newlines.h must not contains any linebreak
* Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Jason McDonald2009-09-081-0/+26
|\
| * Fixed bug in drawImage() when fall-back code path is used.Samuel Rødal2009-09-081-0/+26
| | | | | | | | | | | | | | | | We need to floor instead of round to prevent rectangles that are on the edge from being shifted one pixel down / right. Task-number: 258776 Reviewed-by: Kim
* | Update license headers again.Jason McDonald2009-09-081227-4905/+4906
|/ | | | Reviewed-by: Trust Me
* Tests: Do not execute network tests at all if DNS setup is broken.Markus Goetz2009-09-081-0/+14
| | | | Reviewed-by: Jesper
* Fix a regression with QListView::setRowHidden() when a root index is setAndy Shaw2009-09-041-0/+12
| | | | | | | | | When setRowHidden() was called after a root index was set then it would not actually hide the row, if a root index is not set then it worked fine. Task-number: 260879 Reviewed-by: Jan-Arve
* Fixed autotest failure in qwindowsurface on X11 with Oxygen style.Samuel Rødal2009-09-031-0/+6
| | | | | | | | Oxygen draws a fancy background gradient etc so it's not suitable for this kind of pixel testing. Since we're testing the window surface and not the style just use the simple QWindowsStyle here. Reviewed-by: Gunnar Sletta
* Add missing license headersJason McDonald2009-09-0310-1/+407
| | | | Reviewed-by: Trust Me
* Fixes the gif plugin's rendering for some animated gif files.Pierre Rossi2009-09-0211-2/+24
| | | | | | | | | In the case of optimized animated gifs, we don't want to discard the contents of the previous frame, this is handled if needed in the disposal process. Task-number: 247365 Reviewed-by: Samuel
* Add missing license headers.Jason McDonald2009-09-0272-0/+2952
| | | | Reviewed-by: Trust Me
* Update license headers.Jason McDonald2009-09-02175-4756/+5572
| | | | Reviewed-by: Trust Me
* Add license header to perl scripts.Jason McDonald2009-09-022-1/+82
| | | | Reviewed-by: Trust Me
* Assorted license header fixes.Jason McDonald2009-09-026-0/+246
| | | | Reviewed-by: Trust Me
* QNetworkAccessManager can delete the QAbstractNetworkCache pointer atBenjamin C Meyer2009-09-011-0/+16
| | | | | | | | | | any point. Rather then keep a separate pointer to the cache in the reply use the pointer kept by the manager so the reply never tries to access a cache pointer that has already been deleted. Autotest: included Merge-request: 1124 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* Use the QDesktopServices::CacheLocation to determine the location to store ↵Benjamin C Meyer2009-09-011-2/+2
| | | | | | | the temporary cache rather than QDesktopServices::DataLocation Merge-request: 1124 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* Reset QTemporaryFile's state after failed open() on WindowsJoão Abecasis2009-08-311-0/+82
| | | | | | | | | | | | | | | | | This fixes a regression introduced in 4.5.2 where QTemporaryFile would no longer attempt to generate a random name after a failed open. Under certain situations, this led to a non-random file being left behind in QDir::tempPath when using the fallback implementation of QFile::copy. Avoid calling QFSFileEngine::setFileName() on a template, so as not to process it as file name. By consistently not calling setFileTemplate in the constructor, we also delay allocation of the fileEngine. Changes made to that function also keep it from unnecessarily allocating the fileEngine. Task-number: 260165 Reviewed-by: Thiago Macieira
* QNAM HTTP Code: Some tests where failingMarkus Goetz2009-08-312-4/+10
| | | | | | | ietf.org changed their server to use gzip, therefore our check for the content-length reply header was bogus. Rev-By: Peter Hartmann
* Don't crash when convert Indexed8 without colortable to QPixmapGunnar Sletta2009-08-311-0/+29
| | | | | | | | This implicitly adds "grayscale" support for indexed 8, but only for the conversion. The alternative would be leave the pixels uninitialized which would be less nice... Reviewed-by: Samuel
* Update tech preview license header.Jason McDonald2009-08-31962-12494/+12494
| | | | Reviewed-by: Trust Me
* Autotest: add some D-Bus tests sending complex structs and lists of themThiago Macieira2009-08-312-0/+53
|
* Fix license headers.Jason McDonald2009-08-311-41/+0
| | | | Reviewed-by: Trust Me
* Fix parsing of Subject Alternate Names in Qt.Thiago Macieira2009-08-282-0/+104
| | | | | | | | Simple misuse of QLatin1String. Use QString::fromLatin1 instead and avoid the QByteArray temporary. Reviewed-by: Andreas Aardal Hanssen Tracking: CVE-2009-2700
* Add missing license headers.Jason McDonald2009-08-2813-33/+409
| | | | Reviewed-by: Trust Me
* Fix more duplicated license headers.Jason McDonald2009-08-2845-1804/+41
| | | | Reviewed-by: Trust Me
* Add missing license headers and adjust test data to match.Jason McDonald2009-08-2786-236/+2448
| | | | Reviewed-by: Trust Me
* Fix duplicated license headers.Jason McDonald2009-08-278-328/+0
| | | | Reviewed-by: Trust Me
* Fix some duplicated license headers.Jason McDonald2009-08-2714-574/+0
| | | | Reviewed-by: Trust Me
* Adjusting ftp server address for Nokia network.Jesper Thomschütz2009-08-261-1/+1
|
* Fix subControlRect of the Mac style for the QComboBoxBenjamin Poulain2009-08-251-0/+50
| | | | | | | | The subControlRect of the arrow and the listBoxPopup where assuming the widget rect is at the origin. Reviewed-by: Richard Moe Gustavsen Reviewed-by: Pierre Rossi
* don't test tst_QMenu::mouseActivation on Windows mobileJoerg Bornemann2009-08-181-0/+3
| | | | | | | | We integrate QMenu into the native menu system. Thus it doesn't make sense to click at position (5,5) or so. We have the windowsmobile auto test for this. Reviewed-by: thartman
* fix tst_QMainWindow::menuBar for Windows mobileJoerg Bornemann2009-08-181-0/+8
| | | | Reviewed-by: thartman
* Fix regression in clip path calculation for QGraphicsWidget.Alexis Menard2009-08-181-0/+82
| | | | | | | | | | | | | | | | | | This fixes a regression when computing the clip path for a QGraphicsWidget that clip its children to its shape. The clip path cache use the bounding rect which has a null width and height the very first time on a QGraphicsWidget. This might happen as well for any item that have a null width and height (e.g. QGraphicsRectItem before you set the rect). We should do better in mainline by refactoring this clip path cache and calling it in prepareGeometryChange which should be called when you update the shape and the boundingRect of the item. Do we really need also in 4.6/mainline the clip path as it is now? This should be investigate also. The auto-test cover the problem so we can use it after for refactoring the cached clip path. Task-number: 257232 Reviewed-by: andreas Reviewed-by: bnilsen
* QSslSocket: Clear readBuffer and writeBuffer on close()Markus Goetz2009-08-181-0/+29
| | | | | | Fixes https://bugs.webkit.org/show_bug.cgi?id=28016 Reviewed-by: andreas
* Fix qsqltablemodel autotestDerick Hawcroft2009-08-171-6/+7
| | | | | | test was broken Reviewed-by:Bill King
* skip tst_QScriptEngineDebugger::multithreadedDebugging on Windows CEJoerg Bornemann2009-08-171-0/+3
| | | | | | We run out of memory on the test system in this test. Reviewed-by: mauricek
* new screenshot for windowsmobile autotestJoerg Bornemann2009-08-171-0/+0
| | | | | | | Nowadays every Windows mobile application has a menu (for correct soft key support). That's why we need a new screen shot. Reviewed-by: thartman
* fix warning in windowsmobile autotestJoerg Bornemann2009-08-171-2/+0
|
* run tst_windowsmobile only on WM5Joerg Bornemann2009-08-171-4/+8
| | | | | | The screenshots in the QRC were taken on the WM5 emulator. Reviewed-by: thartman
* make tst_windowsmobile work in shadow buildsJoerg Bornemann2009-08-171-1/+1
| | | | Reviewed-by: thartman
* Fix the painting of QComboBox on Mac when the rect is not at the originBenjamin Poulain2009-08-141-0/+44
| | | | | | | | | | | | The style was assuming that the combo box is painted at (0,0). This is not the case when the painting is done in the delegate of an item view. The offset of the rect is now taken into account to paint the style. HIRect has been replaced by QRect when it make sense. Task-number: 00026815 Reviewed-by: Richard Moe Gustavsen
* don't test dbus stuff where no dbus isJoerg Bornemann2009-08-121-3/+3
| | | | Reviewed-by: Leo