summaryrefslogtreecommitdiffstats
path: root/tests/auto
Commit message (Collapse)AuthorAgeFilesLines
* Some of the epxected replies for network tests can now be loaded via file.Aleksandar Sasha Babic2009-05-081-15/+35
|
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-publicAleksandar Sasha Babic2009-05-081-12/+22
|\
| * Re-enabled tst_QUdpSocket::performance with proxy for Symbian OS.Janne Anttila2009-05-081-12/+22
| | | | | | | | | | | | | | | | | | | | | | | | It was thought this test case was hanging earlier with Socks5Proxy, but actually it was not hanging but just taking a lot of time to complete. The reason for slowness was UDP packet fragmentation. Without further studies I decided to decrease the written buffer size for Symbian OS when using Socks5Proxy. This seems to solve the problems. Also added some debug print why performance in Symbian OS is 0.00MB/s without proxy.
* | Any event can make us pass the line:Aleksandar Sasha Babic2009-05-071-6/+20
| | | | | | | | | | QCoreApplication::processEvents(QEventLoop::WaitForMoreEvents) so we have to make sure that we wait for te right one to happen.
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-publicAleksandar Sasha Babic2009-05-063-9/+102
|\ \ | |/
| * Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicJanne Anttila2009-05-061-4/+80
| |\
| | * Merge branches 'virtualKeyboardAPI' and 'imHintsForS60'axis2009-05-061-4/+80
| | |\
| | | * Close the input panel when focusing a non-inputmethods aware widget.axis2009-05-041-0/+35
| | | | | | | | | | | | | | | | | | | | AutoTest: Included RevBy: denis
| | | * Implemented RequestSoftwareInputPanel events in QLineEdit.axis2009-05-041-4/+45
| | | | | | | | | | | | | | | | | | | | AutoTest: Included RevBy: denis
| * | | Inreased tst_qlocalsocket timeouts since it failed sometimes in SymbianJanne Anttila2009-05-061-4/+6
| | | | | | | | | | | | | | | | | | | | Need to study later on why performance is not as good as in other platforms.
| * | | Fix to tst_qsslsocket::disconnectFromHostWhenConnected test case.Janne Anttila2009-05-061-1/+16
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I don't understand how socket->waitForDisconnected can work on other platforms since socket->write will end to: QMetaObject::invokeMethod(this, "_q_flushWriteBuffer", Qt::QueuedConnection); In order that _q_flushWriteBuffer will be called the eventloop need to run. If we just call waitForDisconnected, which blocks the whole thread how that can happen? Changed the test for Symbian OS to use evenloop since I'm not 100% sure. Probably this can change can be applied for other platforms as well without changing the test case` logic?
* | | Changing test data to migrate top "official" test server.Aleksandar Sasha Babic2009-05-061-24/+12
|/ /
* | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtaxis2009-05-0622-5/+892
|\ \
| * | Fixed bug where 0-opacity would cause images to be drawn fully opaque.Samuel Rødal2009-05-051-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | The bug appears in the raster paint engine and only in release mode as the cause of the bug is in the MMX and SSE blend functions which are disabled in debug. To prevent it simply we return early if we detect that we have an opacity of 0. Reviewed-by: Trond
| * | Fix memory leak in QFutureMorten Sørvig2009-05-051-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | The held results were not cleared by QFutureInterface::operator=(QFutureInterface) Add call to resultStore().clear(), similar to the destructor. This needs to be done in the header since we know the template type here. Task-number: 252208 Reviewed-by: brad
| * | QNetworkCookieJar: do not allow cookies for domains like ".com"Peter Hartmann2009-05-041-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | the domain attribute in cookies must always contain one embedded dot, according to RFC 2109 section 4.3.2 Reviewed-by: Thiago Task-number: 251467
| * | Do not crash when passing wrong indexes to ↵Olivier Goffart2009-05-041-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | QSortFilterProxyModel::indexFomSource and *ToSource Show a warning instead Task-number: 252507 Reviewed-by: Marius Bugge Monsen
| * | QNetworkCookieJar: allow cookies with wrong domain attributePeter Hartmann2009-04-301-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the (old) cookie RFC 2109, the domain attribute must always contain a leading dot. Some servers do not have that, but all browsers accept those cookies anyway, so we should do that as well. Reviewed-by: Olivier Reviewed-by: Denis Task-number: 228974
| * | New autotest for Windows Mobile: tst_windowsmobileThomas Hartmann2009-04-3010-0/+446
| | | | | | | | | | | | | | | | | | | | | | | | | | | This autotest tests some Windows Mobile 5.0 specific thing like the native menubar and the integration into the window manager by taking and comparing screenshots. This should prevent nasty regressions we had. This autotest makes only sense on Windows Mobile 5.0 in 480x640 Reviewed-by: maurice
| * | Stabilize tst_QWidget::render_systemClip2 and remove wrong ifdefBjoern Erik Nilsen2009-04-291-3/+3
| | | | | | | | | | | | We only want to dump images *if* RENDER_DEBUG is defined.
| * | Wrong clip in QWidget::render(QPainter *, ...) when using Qt::(Replace|No)Clip.Bjoern Erik Nilsen2009-04-291-0/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was that we didn't take the painter's clip into account when setting the system viewport ("hard clip"). We only used the system clip, but we have to use system clip + painter clip, which is the current engine clip. Unfortunately, we have to calculate it again since there's no cross-platform way of retrieving it. This was only a problem with Qt::(Replace|No)Clip, since we in all other cases combine the old clip with the new one. (Uber cool) auto test included. Task-number: 250482 Reviewed-by: Samuel
| * | Fix regression in QSelectionModel::rowIntersectsSelectionOlivier Goffart2009-04-281-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and QSelectionModel::columnsIntersectsSelection The documentation says "if one is selected" inside the row/column, so we need to look over if we find one which is selected Task-number: 252069 Reviewed-by: Marius Bugge Monsen
| * | Fix a crash with a proxy model applied on the QFileDialog.Alexis Menard2009-04-281-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was located in _q_enterDirectory, this method take a QModelIndex that can be a model index from the treeview/listview (so it comes from the proxy that is applied) and from the side bar where there is always no proxy applied. Previously we were trying to convert from a proxy index to a source index the value that come from the sidebar which is already a source model index. Now, we just check if the model index is coming from the proxy and in that case we convert it otherwise this model index come from the source. Task-number: 252068 Reviewed-by: jasplin Reviewed-by: ogoffart
| * | When minimizing/restoring an item view it could jump to its currentlyThierry Bastian2009-04-281-0/+28
| | | | | | | | | | | | | | | | | | | | | selected item Task-number: 250446 Reviewed-by: ogoffart
| * | Fix stylesheet test when button color != window colorOlivier Goffart2009-04-281-1/+2
| | |
| * | Stabilize auto test added in 8ebe882b077fffedc3ff80fb80d2e181d5e56ab8Bjoern Erik Nilsen2009-04-271-0/+4
| | | | | | | | | | | | | | | QWidget::repaint() is not immediate on the Mac; it has to go through the event loop.
| * | Fixes wrong QPaintEvent::region() in QGLWidget::paintEvent.Bjoern Erik Nilsen2009-04-271-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QGLWidget does not support partial updates unless the context is single buffered and auto-fill background is disabled. The problem was that QPaintEvent::region() returned the requested update region without taking into account the limitation of QGLWidget. If QGLWidget doesn't support partial updates, it means everything has to be updated, and QPaintEvent::region() must return the whole widget rect. Auto test included. Task-number: 241785 Reviewed-by: Trond
| * | QPixmapCache:Remove the old pixmap if you insert one with the same key.Alexis Menard2009-04-271-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you insert a new pixmap in the cache with a key that was already in the cache then we remove the old pixmap and add the new one. This avoid to fill the memory with garbage even if the cache has a protection to avoid running out of memory. This was discovered with QraphicsView and its cache. We don't need to keep old cached pixmaps for an item. Task-number: KDE Reviewed-by: Trond
| * | Sometimes wrong clipping in QWidget::render() when passing a device orBjoern Erik Nilsen2009-04-241-0/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | an untransformed painter When passing a painter to QWidget::render, we use the painter->paintEngine()->systemClip() as the "system viewport", i.e. all painting triggered by render() should be limited to this area. The only way to achieve this is by always ensuring the system clip is clipped to the same area (systemClip &= systemViewport). The problem however, was that we only did this for transformed painters. We must of course always do it when there's a systemViewport set, regardless of whether the painter is transformed or not. Auto test included. Task-number: 248852 Reviewed-by: Trond
* | | Implemented: 247272 Remove qtestnetworkservers.hJanne Anttila2009-05-051-1/+1
| | | | | | | | | | | | | | | Qt 4.5 introduced a new network-settings.h file. Adapt all network autotests to use that file and get rid of qtestnetworkservers.h
* | | Enabled disconnectWhileConnectingNoEventLoop test case for Symbian OS.Janne Anttila2009-05-051-3/+9
| | | | | | | | | | | | Had to increase also test case timeouts to make it pass in Symbian OS.
* | | Merge commit 'private/translucentWindows'Jason Barron2009-04-301-2/+2
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: src/gui/styles/qs60style_symbian.cpp
| * | | Fix compilation of tst_qwidget with some compilers.Jason Barron2009-04-281-2/+2
| | |/ | |/| | | | | | | | | | Some compilers such as the Metroworks compiler do not like it when the two pointers have different types so cast them to be the same.
* | | Fixed tst_QSslSocket::sslErrors test for Symbian HW.Janne Anttila2009-04-291-12/+18
| | |
* | | Increased stack size for threads created in QLocalSocket autotests.Janne Anttila2009-04-291-0/+6
| | | | | | | | | | | | | | | The default stack size (8KB), caused KERN-EXEC 3 panics when executing tests in 5800 HW.
* | | Fixed tst_QTcpSocket RVCT build when TEST_QNETWORK_PROXY is not defined.Janne Anttila2009-04-291-1/+2
|/ / | | | | | | | | | | RVCT compiles also unused inline methods etc, for this reason QNetworkProxy needs to be included even it is not really used for anything.
* | Simple refactoring how the data are fetched and stored.Aleksandar Sasha Babic2009-04-281-25/+29
| |
* | These tst_qtcpsockets require more time to finish in Symbian OSJanne Anttila2009-04-281-1/+9
| | | | | | | | | | | | The modified test cases are: - disconnectWhileConnecting - disconnectWhileLookingUp
* | Fixed unresolved merge conflict in network-settings.hJanne Anttila2009-04-281-3/+0
| |
* | Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicJanne Anttila2009-04-281-13/+127
|\ \
| * | Network server test related data (serever name, IP address ...) can nowAleksandar Sasha Babic2009-04-271-13/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be read from a file at runtime. This should make auto testing more flexibile. Currently this is supported for Symbian platform. The file is named "iap.txt" and should be placed under "C:\data". When creating file use UNIX line ending and UTF 16 LE encoding. Conflicts: tests/auto/network-settings.h
* | | Skipped disconnectWhileConnectingNoEventLoop for now in Symbian OS.Janne Anttila2009-04-281-0/+2
| | | | | | | | | | | | | | | This test case hanhs the execution always and causes problems in nighly buils and automatic executions. Skip it until it is fixed.
* | | Fixed copy/paste error in QtNetworkSettings::expectedReplyFtp.Janne Anttila2009-04-281-3/+1
|/ /
* | Enabled and fixed tst_QSslSocket::waitForMinusOne test for Symbian.Janne Anttila2009-04-271-2/+5
| |
* | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtaxis2009-04-27188-2322/+3721
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configure.exe recompiled with MSVC6. Conflicts: configure.exe examples/network/network.pro src/gui/dialogs/qfiledialog_p.h src/gui/dialogs/qfilesystemmodel_p.h src/gui/kernel/qapplication.cpp tests/auto/_Categories/qmake.txt tests/auto/qfile/test/test.pro tests/auto/qfile/tst_qfile.cpp tests/auto/qlibrary/tst_qlibrary.cpp tests/auto/qline/tst_qline.cpp tests/auto/qstyle/tst_qstyle.cpp tests/auto/qtextstream/tst_qtextstream.cpp tests/auto/qtranslator/qtranslator.pro tests/auto/qwaitcondition/tst_qwaitcondition.cpp translations/qt_ja_JP.ts
| * Return the correct MIB number for TSCII. When the code wasFrans Englich2009-04-241-0/+6
| | | | | | | | | | | | | | | | | | | | | | written, IANA hadn't assigned one. Requested/spotted by Nokia i18n team. Task-number: 251790 Reviewed-by: Brad Reviewed-by: Denis AutoTest: In this submit.
| * Alias for QUtf16Codec is wrong.Frans Englich2009-04-241-0/+6
| | | | | | | | | | | | | | | | Requested/spotted by Nokia i18n team/Darpan. Task-number: 252102 Reviewed-by: Denis AutoTest: In this submit.
| * Fix an issue with SVG gradient rendering.Alexis Menard2009-04-241-9/+35
| | | | | | | | | | | | | | | | | | | | | | | | This patch complete the two others made by Kim : - 6c2dd295b2ca2f9125fe072d035a3784ce748718 - 003223dcfc1fa884b82085db19d4c4056bf6eaa0 It fix the stops if the gradient link to another gradient below. Task-number: KDE Reviewed-by: Kim Reviewed-by: Samuel
| * correctly handle remote disconnectsOswald Buddenhagen2009-04-231-0/+20
| | | | | | | | | | | | | | | | | | about the only error case for a PeekNamedPipe() which does not actually want to read anything is some kind of disconnect. so ignore the error code and just handle the error as a close. Task-number: 247144 Reviewed-by: thiago
| * clean up server socket on startupOswald Buddenhagen2009-04-231-0/+2
| |