summaryrefslogtreecommitdiffstats
path: root/tests/auto
Commit message (Collapse)AuthorAgeFilesLines
* Fix qdatetime autotest regressionShane Kearns2009-11-031-2/+3
| | | | | | | My previous addition to the test case to validate local time was too strict for all platforms. Reviewed-by: Paul
* Fix qclipboard autotest on s60 3.1Shane Kearns2009-11-031-2/+13
| | | | | | | It launches 2 subprocesses that use QApplication. Added the resource files to deployment so that construction does not fail Reviewed-by: axis
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6-s60axis2009-11-0356-264/+2398
|\
| * Merge commit 'e4bec39a139363d1ee4cf3fb15a3fe4499215e77' into 4.6Thiago Macieira2009-11-029-28/+472
| |\
| | * Merge remote branch 'origin/4.6' into core-4.6Thiago Macieira2009-10-294-19/+129
| | |\
| | * | Autotest: this test is failing, enable debugging to find out why.Thiago Macieira2009-10-291-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It doesn't happen on my machine, so I need to figure out what's different. Reviewed-by: Trust Me
| | * | Merge branch '4.6' into core-4.6Thiago Macieira2009-10-296-4/+239
| | |\ \
| | * | | QLocalServer: block indefinitely when timeout value is -1Peter Hartmann2009-10-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... as described in the documentation. Furthermore: * use qt_safe_select to timeout correctly * return immediately when timeout value is 0 Reviewed-by: Oswald Buddenhagen
| | * | | Fix Qt containers to properly support types with strict alignments.Thiago Macieira2009-10-281-0/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QContiguousCache is a new type, so there are no binary compatibility issues. QHash and QMap didn't have any public qMalloc / qFree, so the entire logic is contained in .cpp code. However, since old code will not inform us of the alignment requirements, we need to add a bit to the structure to indicate whether strict alignment is in use or not. QList doesn't require any changes. For small, movable types, they're all stored in the pointer array itself, so they're aligned. For larger types, we use new(), so types with stricter requirements should define their own operator new(). QLinkedList cannot be fixed. It uses new() on the QLinkedListNode, which contains a T type. Sorry. QVector did have public qMalloc / qFree. I've moved the calls to the inner function and made it keep the old calls if the alignment requirement is below a certain threshold. The idea is that, if it's above, no one was using QVector anyway. Reviewed-by: Bradley T. Hughes
| | * | | Autotest: add unit test for QDBusServiceWatcherThiago Macieira2009-10-282-0/+281
| | | | |
| | * | | Autotest: add a test that tries to follow a service changing owners.Thiago Macieira2009-10-281-0/+56
| | | | | | | | | | | | | | | | | | | | I'm not sure if this used to work before...
| | * | | Autotest: fix improper use of the serviceOwnerChanged signalThiago Macieira2009-10-281-23/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This test was doubly wrong: it first registered a service name, then it connected to signal to watch it. You can't receive a signal if you connect to it after it's emitted... Second, it waited for any serviceOwnerChanged() signal to exit the event loop, not necessarily the one we wanted to receive. This used to work because we'd always connect to the D-Bus signal, but now we don't anymore.
| | * | | Merge remote branch 'origin/4.6' into core-4.6Thiago Macieira2009-10-289-32/+179
| | |\ \ \
| | * | | | QDom autotests: test is not failing anymorePeter Hartmann2009-10-281-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | removing the temporary QFAIL Reviewed-by: Carlos Duclos
| | * | | | Autotest: Add some debugging info as to why the subprocess fails to startThiago Macieira2009-10-271-0/+10
| | | | | |
| | * | | | QAbstractSocket: wait with closing until all bytes have been writtenPeter Hartmann2009-10-271-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | only disconnect from host when all bytes have been written; i.e. not only check whether the write buffer is empty, but also check whether the socket engine has still bytes to write. This is necessary for HTTP and SOCKS5 socket engine, because they both contain an inner TCP socket which also does buffering. For the native socket engine, there is no difference with this patch. Reviewed-by: Markus Goetz Reviewed-by: Thiago Macieira
| | * | | | QDom: make tests fail only on WindowsPeter Hartmann2009-10-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Carlos Duclos
| * | | | | Merge remote branch 'mainline/4.6' into 4.6Oswald Buddenhagen2009-11-0240-113/+1806
| |\ \ \ \ \
| | * | | | | Fixes testing of sqlite against the real(floating pt) datatypeBill King2009-11-021-0/+1
| | | | | | |
| | * | | | | Merge commit '30b0902cf05b0c1dc649e9c2e7ae0415e0c1d042' into 4.6-upstreamBradley T. Hughes2009-10-301-75/+0
| | |\ \ \ \ \
| | | * | | | | Remove the unnecessary (and broken) tst_QMouseEvent::checkMouseMoveEvent() testBradley T. Hughes2009-10-301-75/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to people responsible for the test, it is not necessary. This partially reverts commit b1f9882fa52745c922eb0109daa011908214dcf7.
| | | * | | | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-platform-team into 4.6Bradley T. Hughes2009-10-303-12/+297
| | | |\ \ \ \ \
| | * | \ \ \ \ \ Merge commit '8c4edbd04f350294462fd689748de2dd7cc84d47' into 4.6-upstreamBradley T. Hughes2009-10-303-12/+297
| | |\ \ \ \ \ \ \ | | | | |/ / / / / | | | |/| | | | |
| | | * | | | | | Ensure that button returns 0 for mouse move eventsDean Dettman2009-10-291-0/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a platform regression for the cocoa platform Reviewed-by: Prasanth
| | | * | | | | | Follow refactor; use QApplication:: instead of qApp->Thomas Zander2009-10-281-23/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our tests now call the recently converted registerRecognizer using a proper static method.
| | | * | | | | | Introduce QGesture::GestureCancelPolicy, a way to auto-cancel gesturesThomas Zander2009-10-281-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On accepting one gesture Qt can automatically cancel other gestures that belong to other targets. The policy is normally set to not cancel any other gestures and can be set to cancel all active gestures in the context. For example for all child widgets. Reviewed-By: Denis Dzyubenko
| | | * | | | | | add empty test method, should implement it fully when more important things ↵Thomas Zander2009-10-281-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | are done
| | | * | | | | | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt-platform-team into ↵Bradley T. Hughes2009-10-282-1/+133
| | | |\ \ \ \ \ \ | | | | |_|_|/ / / | | | |/| | | | | | | | | | | | | | 4.6-WM_NULL-driven
| | | | * | | | | Implemented QGestureRecognizer::ConsumeEventHintDenis Dzyubenko2009-10-271-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-By: trustme
| | | | * | | | | Improved gesture autotest reliability on X11.Denis Dzyubenko2009-10-271-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: trustme
| | | | * | | | | Add QWidget::ungrabGestureThomas Zander2009-10-261-0/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Denis Dzyubenko
| | | | * | | | | Unregister the temporary gesture recognizer in the gestures autotest.Denis Dzyubenko2009-10-261-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: trustme
| | | | * | | | | Merge branch '4.6' into 4.6-platformDenis Dzyubenko2009-10-2620-72/+1016
| | | | |\ \ \ \ \ | | | | | | |/ / / | | | | | |/| | |
| | | | * | | | | Remove internal widgets from QApplication::topLevelWidgets()Prasanth Ullattil2009-10-231-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have some internal hidden widgets which should not come up in the QApplication::topLevelWidgets() list. So the known ones are being removed from the QWidgetPrivate::allWidgets set. Task-number: QTBUG-739 Reviewed-by: Denis Dzyubenko Reviewed-by: Bradley T. Hughes
| | * | | | | | | Add QScriptString::toArrayIndex() functionKent Hansen2009-10-301-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid hacking a custom toArrayIndex() in the example; instead provide an ECMA-compliant conversion that's as fast as possible (having to convert the QScriptString to a QString and then convert the result to a number is considerably slower than calling JSC's Identifier::toArrayIndex() function directly). Reviewed-by: Olivier Goffart
| | * | | | | | | Merge commit 'origin/4.6' into 4.6Olivier Goffart2009-10-3016-29/+247
| | |\ \ \ \ \ \ \
| | | * \ \ \ \ \ \ Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into origin-4.6Olivier Goffart2009-10-303-1/+9
| | | |\ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ Merge commit 'widget/4.6' into origin/4.6Olivier Goffart2009-10-3033-100/+1384
| | | |\ \ \ \ \ \ \ \ | | | | |_|_|_|_|/ / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gui/effects/qgraphicseffect.cpp
| | * | | | | | | | | QTreeView: fix drawing branches of model that adds or remove rows dynamicallyOlivier Goffart2009-10-301-0/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The lasts commits in the treeview did put the flags weither item has child or is the last in cache in the viewItem vector. But the cache was not updated while the model is modified. Reviewed-by: Thierry
| | * | | | | | | | | Fixes regression in QComboBox with keypad navigation while mouse is over the ↵Olivier Goffart2009-10-301-0/+52
| | | |/ / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | popup The problem is that is we move the selection with the keyboard in a way that causes the view to scroll, the current selection would jump. This happends since commit 9cb231d773db6deb that fixed the emission of the enter signal when the view is scrolled. We Therefor cannot use the enter signal. Catch manually the mouse move events to update the selection instead. Reviewed-by: Thierry
| | * | | | | | | | In ItemViews, right click on the viewport clear the ext selectionThierry Bastian2009-10-301-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-435 Reviewed-by: Gabriel
| | * | | | | | | | QActionGroup: reset the checkedAction when it is uncheckedThierry Bastian2009-10-301-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-1019 Reviewed-by: Gabriel
| | * | | | | | | | Updated QTextEdit auto-test after changes in commit 04d18b38c.Gabriel de Dietrich2009-10-308-2/+2
| | | | | | | | | |
| | * | | | | | | | QListView: make sure we relayout items when data changes in the modelThierry Bastian2009-10-291-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-633 Reviewed-by: ogoffart
| | * | | | | | | | ItemViews: make the geometries update when header data changesThierry Bastian2009-10-291-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | autotest included Task-number: QT-711 Reviewed-by: ogoffart
| | * | | | | | | | Fix tst_QWidget::compatibilityChildInsertedEvents testBjørn Erik Nilsen2009-10-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This broke after commit: a8e2a457bb7d2fc377c1c65b6a4172974919e055 (Add a new event type, WinIdChange). The first thing that happens in show() is that the top-level is created, and hence we send WinIdChange. We therefore have to add this event to list of expected events. Reviewed-by: TrustMe
| | * | | | | | | | Fix qvariant_cast<QVariant> when a QVariant is really inside a QVariantOlivier Goffart2009-10-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix the QPropertyAnimation test. Reviewed-by: Gabriel Reviewed-by: Thierry
| | * | | | | | | | Stabilize testsOlivier Goffart2009-10-293-2/+5
| | | | | | | | | |
| | * | | | | | | | Merge commit origin/4.6 into team-widgets/4.6Olivier Goffart2009-10-2911-32/+414
| | |\ \ \ \ \ \ \ \
| | * | | | | | | | | Fix warning in qvariant.h header + make sure QVariant in QVariant works as ↵Olivier Goffart2009-10-281-0/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | expected Also add more test Reviewed-by: Thierry