summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* tst_qhostinfo: Compile fixMarkus Goetz2010-03-041-3/+4
|
* tst_qhostinfo: Mixed up descriptions for test case dataMarkus Goetz2010-03-041-2/+2
|
* qhostinfo benchmark: Use local _data instead of _globalMarkus Goetz2010-03-041-14/+9
| | | | Qt's benchmark lib does not support global data tags yet.
* qhostinfo benchmark: Benchmark the with-cache and without-cacheMarkus Goetz2010-03-041-0/+29
| | | | Reviewed-by: joao
* tst_qftp: Do not use 1.2.3.4 as IPMarkus Goetz2010-03-041-1/+1
| | | | | | Believe it or not, that IP is reachable on port 21. Reviewed-by: TrustMe
* Do not crash when loading themed icons staticallyJens Bache-Wiig2010-03-041-0/+6
| | | | | | | | | | | | We do not officially support static loading of icons. In fact they still crash for simple png cases due to missing X11 resources. But since we lazily create themed icons we can certainly avoid the crash in this case. You will not be able to use fallbacks here though, since we cannot know if a fallback should be used or not in this case. Reviewed-by: ogoffart Task-number: QTBUG-8666
* Fixed duplicate entry for windowsmobile in tests/auto/*.proRohan McGovern2010-03-041-1/+0
|
* Do not process uic3 test unless qt3support is enabled.Rohan McGovern2010-03-041-1/+2
|
* Move tests into separate .pro files, based on Qt module.Rohan McGovern2010-03-0319-602/+671
| | | | | | | Having the tests in separate projects allows for some optimization strategies when running the tests (e.g. start running corelib tests while the rest of Qt is still compiling), and allows developers to run only a subset of tests when appropriate.
* Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2010-03-031-0/+68
|\ | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Properly fixes crash when destroying a QGraphicsItem. Updating SQL binding docs to reflect reality.
| * Properly fixes crash when destroying a QGraphicsItem.Yoann Lopes2010-03-031-0/+68
| | | | | | | | | | | | | | | | | | | | | | The focus is now properly cleared when hiding or showing focus scopes or when a child of a focus scope is destroyed. No change of behavior in how focus scope works for QML. Autotest included. Task-number: QT-2649 Reviewed-by: Andreas Aardal Hanssen
* | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-03-035-4/+75
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1: update russian translations and phrasebook Allow platform specific values for the double click radius. Fix strict-aliasing breakage with SunCC: the union trick is a GCC extension. QNAM HTTP: Fix invoking a method when being destructed right now QAbstractSocket: Use new faster DNS function Add DNS caching to QHostInfo Make the icon visible when set on an action in a QSystemTrayIcon on Mac Carbon : Setting palette brush to a pixmap does not work.
| * QAbstractSocket: Use new faster DNS functionMarkus Goetz2010-03-024-3/+21
| | | | | | | | | | | | | | Use qt_qhostinfo_lookup which avoids the event loop when the DNS result is already cached. Reviewed-by: Thiago
| * Add DNS caching to QHostInfoMarkus Goetz2010-03-021-1/+54
| | | | | | | | | | | | By default enabled, but it can be disabled via a compile flag. Reviewed-by: Thiago
* | QString::section: Fix crash with SectionIncludeLeadingSep flagOlivier Goffart2010-03-021-1/+4
| | | | | | | | | | | | | | | | And start is out of bounds. Reviewed-by: Thiago Reviewed-by: Joao Task-number: QTBUG-4306
* | Expand indicator would not be displayed after removal of a collapsed item's ↵Gabriel de Dietrich2010-03-021-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | child While setting the hasChildren property of QTreeViewItem, "collapsed" and "not visible" were being mistaken. Auto-test included. Reviewed-by: Olivier Task-number: QTBUG-7443 (cherry picked from commit 77670c3c0fdc3021356e212e94042a0b5a4f4f8c)
* | Fixed rendering bugs when scrolling graphics items with drop shadows.Samuel Rødal2010-03-021-0/+23
| | | | | | | | | | | | | | | | We can't clip source pixmaps to the device rect, as there's no way of knowing which parts of the source pixmap are needed for the part of the graphics effect that's unclipped. Reviewed-by: Bjørn Erik Nilsen
* | skip tst_QDialog::throwInExec on WinCE, ARM platformJoerg Bornemann2010-03-021-2/+2
|/ | | | | | | | | Rethrowing exceptions across DLL boundaries crashes on Windows CE ARM devices. This is a restriction of the Microsoft tools. See thread "(Re)throwing from a catch block across dll boundaries" in microsoft.public.windowsce.embedded.vc Reviewed-by: ninerider
* Fix crash using openPersistentEditor and setRowHidden on a QTableViewOlivier Goffart2010-03-011-0/+46
| | | | | | | | | | | | Hiding widget might result in focus changes that will modify the list of editors while iterating over it. Same fixe as in commit 386726f7184cc77f0692e2ba24d85ebc53a39569 The test comes from the Task Task-number: QTBUG-8585 Reviewed-by: Thierry
* QObject: fix crash when deleteing the receiver object withing a ↵Olivier Goffart2010-03-011-0/+20
| | | | | | | | | DirectConncetion involving two threads. We did not set the sender(), but we tried to reset it anyway. Task-number: QTBUG-7935 Reviewed-by: Brad
* Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2010-03-019-13/+52
|\ | | | | | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Preparation to enable OpenGLES 2.0 for Windows Mobile. Test modifications for the Windows Mobile platform. QAbstractItemView::setIndexWidget: remove the old widget from the QSet of persistent editors Fixed qgl autotest failures on Maemo. Skip complex FBO tests if combined depth-stencil isn't supported
| * Test modifications for the Windows Mobile platform.ninerider2010-02-277-8/+27
| | | | | | | | | | | | Test were changed to run in reasonable time on Windows Mobile. Also some test were skipped for instance those using OpenGL. OpenGL support for Windows Mobile is a forthcoming feature.
| * Fixed qgl autotest failures on Maemo.Samuel Rødal2010-02-262-4/+9
| | | | | | | | | | | | | | | | | | | | | | Changed glFBOSimpleRendering and glFBOUseInGLWidget auto tests to use NPOT sizes. NPOT FBOs are not twiddled, and thus not exposed to the twiddled glReadPixels() bug in the current drivers. Skipped glWidgetRenderPixmap as renderPixmap() is not supported under EGL currently. Reviewed-by: Tom Cooksey
| * Skip complex FBO tests if combined depth-stencil isn't supportedTom Cooksey2010-02-261-1/+16
| | | | | | | | Reviewed-By: Trond Kjernåsen
* | Fixed autotest tst_QWidget::translucentWidget() on Windows Vista & abovePrasanth Ullattil2010-02-261-1/+9
|/ | | | | | | Grabbing layered windows doesn't work on Vista and above, so instead we need to grab the corresponding area of the desktop widget. Reviewed-by: Samuel
* Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2010-02-261-0/+7
|\ | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Speed up compilation of this test with MSVC.
| * Speed up compilation of this test with MSVC.Rohan McGovern2010-02-261-0/+7
| | | | | | | | | | | | | | | | This test includes a source file which is almost half a megabyte in size. When compiling with -O2, MSVC2008 can take over 20 minutes to link this test! Turn off optimization, just for this test.
* | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-02-256-4/+12249
|\ \ | |/ |/| | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1: New benchmark for QDirIterator Backporting auto-test utility header from master. Fix a signed/unsigned comparison compiler warning Cleaning of the patch to QTBUG-3168 Patch to QTBUG-3168
| * New benchmark for QDirIteratorJoão Abecasis2010-02-254-0/+12152
| | | | | | | | | | | | | | | | Test creates a known directory tree (mimicking the v4.6.0 src/ tree in the repository) for deep traversal and file search based on the file names. Reviewed-by: Olivier Goffart
| * Backporting auto-test utility header from master.João Abecasis2010-02-251-0/+97
| |
| * Cleaning of the patch to QTBUG-3168Benjamin Poulain2010-02-251-1/+0
| | | | | | | | | | | | | | Removing trailing whitespace from qurl.cpp Removing a debug() output from the test. Reviewed-by: Benjamin Poulain <benjamin.poulain@nokia.com>
| * Patch to QTBUG-3168Carolina Gomes2010-02-251-3/+0
| | | | | | | | | | | | | | Patch to QTBUG-3168 and update tst_qurl to enable the test case that was skipped. Reviewed-by: Benjamin Poulain <benjamin.poulain@nokia.com>
* | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2010-02-251-1/+1
|\ \ | |/ |/| | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Pass the right arguments to QApplication in GraphicsView benchmark.
| * Pass the right arguments to QApplication in GraphicsView benchmark.Bjørn Erik Nilsen2010-02-251-1/+1
| | | | | | | | | | Failed to run the test with "-style" because wrong arguments were passed to QApplication constructor.
* | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-02-251-0/+25
|\ \ | |/ |/| | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1: Revert changes made in scroll_sys(). Add benchmarks for accessing meta-object properties via QScriptValue
| * Add benchmarks for accessing meta-object properties via QScriptValueKent Hansen2010-02-251-0/+25
| | | | | | | | Reviewed-by: Benjamin Poulain
* | Set the roleNames of proxy models to the roleNames of the source model.Stephen Kelly2010-02-251-0/+82
| | | | | | | | | | | | | | This simplifies the use of model view with qml and proxies. Merge-request: 2315 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
* | Trying to make the animation autotests more robustThierry Bastian2010-02-252-24/+25
| | | | | | | | | | | | Everywhere we have a qWait(duration) followed by a QCOMPARE, there was the risk that it fails because of the test machine being overloaded. So I changed them to QTRY_COMPARE.
* | Remove `make check' logic from auto.pro.Rohan McGovern2010-02-251-7/+0
| | | | | | | | | | The `check' target is now automatically recursive on all subdirs projects.
* | GV: Update issues if drawItems() is overridden and IndirectPainting is used.Bjørn Erik Nilsen2010-02-241-0/+26
|/ | | | | | | | | | | | | Problem was that the cached view bounding rect was never updated when overriding QGraphicsScene::drawItems or QGraphicsView::drawItems, without calling the base class implementation. The same for 'updateAll' boolean. We also have to make sure there are no unpolished items before we draw. Regression against 4.5. Auto-test included. Task-number: QTBUG-7880 Reviewed-by: yoann
* Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-02-231-0/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1: QLineEdit shows leftovers of edit cursor after clear() doc: Added indication of default modality value for panels. doc: Added QScopedArrayPointer and corrected QScopedPointer snippet. Improve test coverage of QScriptString::toArrayIndex() QColorDialog::open() freezes the app the *second* time it is used on Mac doc: Corrected typo. doc: Removed bad grammar. doc: Added \obsolete. doc: Added \since 4.6 to the properties. doc: Removed some erroneous text.
| * Improve test coverage of QScriptString::toArrayIndex()Kent Hansen2010-02-231-0/+6
| | | | | | | | | | | | | | Test decimals and scientific notation. "0.0" is not a valid array index even though it can be converted to a whole integer, because the number converted back to a string again is "0", which is different from "0.0". (See ECMA 15.4)
* | Regression: QGraphicsScene::render fails to render the entire scene correctly.Bjørn Erik Nilsen2010-02-231-0/+36
|/ | | | | | | | | | | | | | | This only happened with items that had either negative width or height (boundingRect().width()|height()). Problem was that in case of not having an exposed region (drawing items from QGraphicsScene::render), we simply checked whether the bounding rect was empty or not. This is fine, however we have to normalize the rect first. (Note that QRegion::intersects(rect) always normalizes the rect, so that's why this use case broke only when calling QGraphicsScene::render). Auto-test included. Task-number: QTBUG-7775 Reviewed-by: yoann
* Stabilize QWidget benchmarks.Bjørn Erik Nilsen2010-02-221-187/+110
| | | | | This commit also removes the complexToplevelResize test; it is not suitable for automated testing as the output is too unstable.
* Stabilize style sheet benchmarks.Bjørn Erik Nilsen2010-02-221-0/+9
|
* Fixes for the Windows Mobile plattformninerider2010-02-226-3/+22
| | | | These fixes mainly concern compiling issues.
* Don't process uic3 subdir if qt3support is disabled.Rohan McGovern2010-02-221-1/+3
|
* Fixed failure of tst_symbols when Qt is configured with -qtnamespaceRohan McGovern2010-02-221-0/+12
| | | | | Blacklist some symbols which cannot be namespaced when Qt is configured in a namespace.
* tst_qnetworkreply: Check if TCP/HTTP connection got re-usedMarkus Goetz2010-02-191-7/+124
| | | | Reviewed-by: Peter Hartmann
* Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-02-184-13/+83
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1: Moving QDir benchmarks; making way for new test cases Fixing QDir benchmarks... QTreeView: Fix premature pessimization Simplify code, fix a compiler warning... profit! tst_qnetworkreply: Add another testcase QNAM HTTP: Clean code a bit QNAM HTTP: Always set channel.reply to 0 when done Revert "Added note to make QList destructor virtual in version 5" Fix s390(x) atomic ops related crashes Fix undefined sequence point compiler warning