summaryrefslogtreecommitdiffstats
path: root/tests/auto
Commit message (Collapse)AuthorAgeFilesLines
* Added "requires qtscript" to qsystemsemaphore test in S60 and WinCE.Janne Anttila2009-09-251-0/+2
| | | | | | | | | | qsystemsemaphore autotest does not compile for S60 and WinCE without QtScript and QtScript currently does not compile for S60, that's why the following statement was added to pro file: requires(contains(QT_CONFIG,script)) Reviewed-by: TrustMe
* Added "requires qtscript" to qsharedmemory test pro in S60 and WinCE.Janne Anttila2009-09-252-0/+4
| | | | | | | | | | qsharedmemory autotest does not compile for S60 and WinCE without QtScript and QtScript currently does not compiled for S60, that's why the following statement was added: requires(contains(QT_CONFIG,script)) Reviewed-by: TrustMe
* Skipped QProcess::setProcessEnvironment auto test for Symbian.Janne Anttila2009-09-251-3/+4
| | | | | | Symbian OS doesn't support environment variables. Reviewed-by: Miikka Heikkinen
* Clean-up for qprocess autotest since default stack in S60 is now 80K.Janne Anttila2009-09-251-16/+0
| | | | | | | | Specialized test code to set higher stack for this test case is not needed anymore since default stack for Qt thread in S60 now is 80 KB. See commit: 9324fdde Reviewed-by: TrustMe
* tst_qfilesystemwatcher directory changed test relaxedmread2009-09-251-1/+3
| | | | | | | | | The polling watcher was generating two events for directory content deletion on Symbian emulator. 1 for content change, 1 for time change. Seems within the bounds of reason for a poller, so test relaxed to allow it. Reviewed-by: Liang QI
* Fixed the image comparison tests for Windows Mobile 5ninerider2009-09-253-3/+14
| | | | | | | The image comparison reference snapshots were not up to date. Also the comparison ignores the title bar completely. Reviewed-by: banana joe
* QGraphicsAnchorLayout: Enable boundary feasibility testEduardo M. Fleury2009-09-251-4/+2
| | | | | | | | This test would trigger random Q_ASSERT failures but should work fine after the previous commit. Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org> Reviewed-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
* QGraphicsAnchorLayout: Adding hasConflicts() verifications on anchor testsJesus Sanchez-Palencia2009-09-251-0/+29
| | | | | Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> Reviewed-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
* QGraphicsAnchorLayout: Removing memory leaks on anchor testsJesus Sanchez-Palencia2009-09-251-0/+12
| | | | | Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> Reviewed-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
* QGraphicsAnchorLayout: enabled hasConflicts() test on autotestJesus Sanchez-Palencia2009-09-251-5/+1
| | | | | Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> Reviewed-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
* improve "nested evaluation" testKent Hansen2009-09-251-0/+10
| | | | | | | Test that the variable is stored in the correct activation object. Currently it's marked as an expected failure because it doesn't work with the JSC-based back-end. It did however work with the old back-end, so this is a regression.
* Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Janne Anttila2009-09-2516-91/+1178
|\
| * add test case for wrong error message in qtscriptKent Hansen2009-09-251-0/+11
| |
| * Stabilize GraphicsView and QFocusEvent testOlivier Goffart2009-09-252-38/+51
| |
| * Adding test for line endingsAleksandar Sasha Babic2009-09-253-0/+948
| | | | | | | | | | | | | | | | | | Some network tests depend on reading file and comparing it with data fetched from network. On Windows, if not set properly, git will append CRLF when checking out. This makes tests to fail as sizes and binary content are not as expected. Reviewed-by: Janne Anttila
| * Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6ninerider2009-09-251-0/+79
| |\
| | * Add QGraphicsItem::stackBefore(), and fix Z ordering bugs.Andreas Aardal Hanssen2009-09-251-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we changed the sibling stacking order to be defined (4.5) instead of undefined (4.2, 4.3, 4.4), the need to control this stacking order arose. Before we could just say the order was random, but stable, and the only way people could rely on order was to set Z. Now, when the default order is defined as "insertion order", people start relying on this order, and incidentally they want more control. In QML, the need to have insertion order semantics is very evident as the order you define the elements in QML more strongly implies a graphical stacking order than the imperative order they get when added in C++. This change adds QGraphicsItem::stackBefore(const QGraphicsItem *), which works similarily to QWidget::stackUnder(). It moves the item in front of the sibling item passed as an argument. While implementing this function, and writing tests for how this function behaves in combination with Z values, I found that the code we had for updating siblingIndex was broken in the case where you remove an item from the middle of the children list. In this case newly added items would be assigned the same sibling index order as one that's already in the list. So in order to get the tests to pass I had to fix this bug as well.. The approach is to sort the children list by insertion order, so that we can fix up the sibling indexes. Performancewise this has little implications. If there are gaps in the sibling index list, which only occurs if you remove an item from the middle of the children list, will the sibling index list be adjusted / corrected before used (for example, by stackBehind()). Multiple calls to stackBehind will be fast, and the list is flagged for resorting (including Z order). Reviewed-by: jasplin
| * | Amended the Q3 subdirectory listninerider2009-09-251-1/+1
| |/ | | | | | | One item slipped and was now added.
| * Fixes for Windows CE.ninerider2009-09-251-33/+42
| | | | | | | | | | | | | | | | Tests showAndMoveChild and rectOutsideCoordinatesLimit_task144779 were made desktop client area dependent so the screen capturing targets meaningfull rectangles on Windows CE. Reviewed-by: Joerg
| * Enabled the QTEST_NO_RTTI flag for WindowsCEninerider2009-09-252-1/+4
| | | | | | | | | | | | WindowsCE will not do any tests involving dynamic casts. Reviewed-by: Joerg
| * Fixed path for lackey.exe for Windows CEninerider2009-09-251-2/+8
| | | | | | | | | | | | Also added check, whether some processes where actually not started. Reviewed-by: Joerg
| * Compiler fix for Windows CEninerider2009-09-251-0/+2
| | | | | | | | | | | | The <sys/types.h> header is unavailable in Windows CE Reviewed-by: Joerg
| * tst_qrocess compilation fix for Windows CEninerider2009-09-251-2/+2
| | | | | | | | | | | | Mismatching preprocessor statements cleaned up. Reviewed-by: Joerg
| * Added an explicit change for two tests (temporary fix!)ninerider2009-09-251-2/+12
| | | | | | | | | | | | | | | | | | | | The failing (3) values are explicitly excepted here. The source values for the comparison table should remain untruncated doubles and the error bound checking function should be made dynamic. Also the source values should come from a "trusted" source and not from QEasingCurve itself. Reviewed-by: Joerg
| * tst_QComboBox::task248169_popupWithMinimalSize() fixed for WinCEninerider2009-09-251-2/+4
| | | | | | | | | | | | | | Changed the absolute size values for the combobox to desktop dependent sizes. Reviewed-by: Joerg
| * Test projects for Qt3 factored out from the general testsninerider2009-09-251-10/+14
| | | | | | | | | | | | Tests made unavailable for Windows CE testing Reviewed-by: Joerg
* | Fix QGraphicsLinearLayout autotest for Symbian OS.Janne Anttila2009-09-251-0/+2
| | | | | | | | | | | | | | QPlastiqueStyle is not compiled for Symbian OS, but default ones seems to make the job fine since all get passed. Reviewed-by: Janne Koskinen
* | Fixed qgraphicslinearlayout autotest compilation for Symbian (Nokia X86).Janne Anttila2009-09-251-4/+4
|/ | | | | | | Nokia X86 compiler does not resolve QCOMPARE corrctly for derived types, that's why we cast it explicitly. Reviewed-by: Janne Koskinen
* Fixed qfilesystemmodel test linking for SymbianJanne Anttila2009-09-251-0/+1
| | | | Reviewed-by: TrustMe
* Fixed qdialogbuttonbox test compilation for SymbianJanne Anttila2009-09-251-4/+18
| | | | Reviewed-by: Jason Barron
* Fix qfiledialog autoest compilation for SymbianJanne Anttila2009-09-251-1/+7
| | | | Reviewed-by: TrustMe
* Update src/3rdparty/javascriptcore and adapt src/script to the changes.Kent Hansen2009-09-243-1/+5
| | | | Reviewed-by: Simon Hausmann
* Merge branch '4.5' of scm.dev.nokia.troll.no:qt/qt into 4.6Simon Hausmann2009-09-241-1/+1
|\ | | | | | | | | | | | | Conflicts: examples/webkit/formextractor/formextractor.pro mkspecs/features/qt.prf src/gui/painting/qpaintengineex.cpp
| * Revert "Autotest: This test does requires internal builds (with autotests)."Joerg Bornemann2009-09-241-1/+0
| | | | | | | | | | | | | | This reverts commit df47e0d40290f5e40054a9612f75177d9ef8537a. There is no "private_build" in Qt 4.5 Reviewed-By: thiago
| * Autotest: This test does requires internal builds (with autotests).Thiago Macieira2009-09-231-0/+1
| | | | | | | | Reviewed-By: TrustMe
| * fix tst_QMenu::task242454_sizeHint for Windows mobileJoerg Bornemann2009-09-221-1/+1
| | | | | | | | | | | | | | | | QMenu actually doesn't use QFontMetrics::width to calculate its bounding rect but QFontMetrics::boundingRect. That's why this test failed on Windows CE. Reviewed-by: thierry
* | Fix the compilation error for tst_qgraphicsview on S60.Liang QI2009-09-241-8/+24
| | | | | | | | | | | | static_cast from QGraphicsView* to QWidget*. Change QPlastiqueStyle to QWindowsStyle for some platforms like S60. Reviewed-by: Jason Barron
* | Fixed compile of tests.Rohan McGovern2009-09-241-1/+1
| | | | | | | | | | | | Test qaudiodeviceid was replaced with qaudiodeviceinfo. Reviewed-by: Paul
* | Fix QTextDocument::revision()mae2009-09-241-0/+39
| | | | | | | | | | | | | | | | | | The revision was bound to the current depth of the undo stack. This had the negative side effect, that equal revisions could point to different documents, and sometimes changes would not even increase the revision (in the case of undo command merging). Reviewed-by: Roberto Raggi
* | Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Janne Anttila2009-09-2444-258/+550
|\ \
| * | Stabilize Q3Table testOlivier Goffart2009-09-241-0/+13
| | | | | | | | | | | | If there is no focus widget while doing keyClick, the test crashes
| * | Compile testsOlivier Goffart2009-09-242-5/+5
| | |
| * | AudioService API changes; QString->const QString&, remove QAudioDeviceId use ↵Justin McPherson2009-09-245-131/+6
| | | | | | | | | | | | | | | | | | QAudioDeviceInfo. Reviewed-by: Bill King
| * | Remove extraneous debug statementBill King2009-09-241-2/+0
| | |
| * | Stabilize more testsOlivier Goffart2009-09-233-89/+95
| | |
| * | Fix tst_QWidget::activateWindow on X11Olivier Goffart2009-09-231-5/+6
| | | | | | | | | | | | | | | | | | On X11 one needs to wait logner for the reply for the window mabager All the QWidget tests passes on my X11 in about 30seconds now
| * | Stabilize more testOlivier Goffart2009-09-238-10/+12
| | |
| * | Fix Q3TextBrowserOlivier Goffart2009-09-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | It seems that the test machine has some different font configuration which makes the font weight different from the default one. Fixed the problem by resolving the font before comparing. Reviewed-by: Peter Hartmann
| * | Stabilize QGraphicsEffect and QToolTip testOlivier Goffart2009-09-232-12/+11
| | |
| * | Try to stabilize stylesheet testOlivier Goffart2009-09-231-2/+3
| | |