summaryrefslogtreecommitdiffstats
path: root/tests/auto
Commit message (Collapse)AuthorAgeFilesLines
* 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-11822-889/+889
| | | | 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.
* 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 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
|