summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
* tst_qurl fixed after the great URL replacement spreeJoerg Bornemann2009-08-121-15/+15
| | | | | Reviewed-By: mauricek Reviewed-By: thartman
* fix tst_QWidget::showAndMoveChild for Windows mobileJoerg Bornemann2009-08-121-0/+1
| | | | | | | | This test created a widget at position (0,0) and grabbed the screen. That's a bad idea on Windows mobile because the upper task bar will cover the widget. Reviewed-by: thartman
* fix tst_QWidget::inputFocus_task257832 on WindowsJoerg Bornemann2009-08-121-0/+1
| | | | | | | | The widget must be created before calling QInputContext::setFocusWidget. Otherwise we run into an assertion. Yes, this only occurs in debug configuration but its still annoying... Reviewed-by: thartman
* indentation fixed in tst_QWidget::inputFocus_task257832Joerg Bornemann2009-08-121-10/+10
| | | | Reviewed-by: TrustMe
* Test naming convention fixes.Rohan McGovern2009-08-129-8/+8
| | | | | Make sure the testcase and directory name are the same (excluding `tst_').
* Update URL for Qt FTP site.Jason McDonald2009-08-113-25/+25
| | | | Reviewed-by: Trust Me
* Update URL for Qt web site.Jason McDonald2009-08-1199-169/+169
| | | | Reviewed-by: Trust Me
* Update URL of online documentation.Jason McDonald2009-08-112-10/+10
| | | | Reviewed-by: Trust Me
* Update old email address.Jason McDonald2009-08-1138-39/+39
| | | | Reviewed-by: Trust Me
* Qt's domain name is now qt.nokia.com.Jason McDonald2009-08-111-4/+4
| | | | Reviewed-by: Trust Me
* Update license headers.Jason McDonald2009-08-11896-963/+963
| | | | Reviewed-by: Trust Me
* Fix autotest for qtwidgets::snapshotJens Bache-Wiig2009-08-101-3/+3
| | | | | | Kramer is no longer accessible from the pulse test system Reviewed-by: jesperht
* Autotest: ensure we don't mishandle SSL certificates with NULsThiago Macieira2009-08-072-0/+98
| | | | | | This is a vulnerability in some implementations. Qt isn't affected because... well, we never implemented the decoding of escape sequences :-)
* Use QFile instead of QTemporaryFile in compilerwarning testcaseMarius Storm-Olsen2009-08-061-5/+9
| | | | | | | | | | | | | | QTemporaryFile on Windows doesn't open the file as a sharable, and doens't close the file when you call .close(). So the testcase fails on Windows with a Sharing Violation when the compiler tries to compile the file. By switching to QFile we can at least close the file before letting the compiler chew on it, and remove it at the end when the testcase is done. Open the file with Truncate, in case the testcase fails to remove the file. Reviewed-by: trustme
* Tests: Make uic/uic3 use QLibraryInfo paths as do the linguist tests.Friedemann Kleint2009-08-062-2/+4
|
* Mac: fix autotestRichard Moe Gustavsen2009-08-061-1/+1
| | | | | | | | On mac, we prefer testing with mp3 rather than ogg, Because in the latter case, you must install perian to make it work. And the test machines dont. Reviewed-by: brad
* Tests: Make tools tests (rcc/moc/uic/uic3) run without X11-connection.Friedemann Kleint2009-08-064-4/+4
|
* Make the test pass by setting a path where you have dirs.Alexis Menard2009-08-061-1/+2
| | | | | | | | The test was failing because the goal of the test expect to get only directories displayed. But if you don't have some in the current dir then it fails. home dir should be enough. Reviewed-by:TrustMe
* Cleaned up test naming and platform-specific tests.Rohan McGovern2009-08-0632-201/+194
| | | | | | | | | | | | | | When an autotest fails to compile, there's no way to determine which testcase(s) have been prevented from running. Our results parsing tools have been guessing, under the assumption that a directory called `qdogwalker' always contains a testcase named `tst_qdogwalker'. That wasn't true for all our tests, so let's make it true. Also changed the platform-specific tests so that qmake will simply skip those tests on unsupported platforms, instead of wasting time compiling a useless QTEST_NOOP_MAIN test.
* Fixes hangup when pressing key in QListWidgetOlivier Goffart2009-08-051-1/+22
| | | | | | | | | If there is severals matching items but all of them are disabled, it would have produced an infinite loop. Block the loop once we reach an already matched item. Task-number: 258949 Reviewed-by: Thierry
* Cocoa: Menus show old selected values.Richard Moe Gustavsen2009-08-051-1/+23
| | | | | | | | | | We never told Cocoa that it needed to redraw the window view when a window was shown. This is implicit if the window is shown for the first time, but needs to be done explicit if you hide and show it again. Task-number: 254672 Reviewed-by: bnilsen
* Get more database tests working/passing.Bill King2009-08-052-4/+18
|
* Fix ancestor flags that are not correctly update when reparenting.Alexis Menard2009-08-041-0/+16
| | | | | | | | | updateAncestorFlags was not reseting the flags if you change the parent that have for instance itemsClipChildrenToShape to a new one that doesn't have that flag. Task-number:258956 Reviewed-by:bnilsen
* Autotest: disable the pointer-tracking tests in 4.5Thiago Macieira2009-08-031-0/+2
| | | | | | | The functionality these tests tested was broken in 4.5 and has been disabled. Therefore, these tests simply cannot pass. It's fixed in 4.6.
* Fix more database autotests.Bill King2009-08-032-4/+6
|
* Autotest: add a newline after the user program headers.Thiago Macieira2009-07-301-0/+1
| | | | | | | | If the user forgot to end their headers with a newline, the compilation would fail because the next line is #include <QtCore/QtCore>. Reviewed-by: Jesper Thomschütz
* 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.