summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* QLabel and QTextEdit autotest pro files fixedJoerg Bornemann2009-09-232-2/+2
| | | | Reviewed-by: joerg
* tests/auto/qpainter pro file fixedJoerg Bornemann2009-09-231-1/+1
| | | | Reviewed-by: TrustMe
* tests/auto/QSvgGenerator pro file fixedJoerg Bornemann2009-09-231-1/+1
| | | | Reviewed-by: TrustMe
* Skip tst_QWidget::setWindowGeometry on X11Olivier Goffart2009-09-231-0/+10
| | | | | | | Since WindowManager operation are all assync, and we have no way to know if the window manager has finished playing with the window geometry, this test can't be reliable. Reviewed-by: Denis
* Stabilize tst_QWidget::saveRestoreGeometryOlivier Goffart2009-09-231-21/+37
| | | | | We need to wait for more condition before saving, otherwise what we save is not accurate (and the test fails)
* Add test for to see if the layout is stable if it has several solutions.Jan-Arve Sæther2009-09-231-6/+59
| | | | Currently this fails, so we have to use QEXPECT_FAIL.
* Merge branch 's60MainHelperClasses' into 4.6axis2009-09-232-0/+137
|\
| * Added support for using custom application objects on S60.axis2009-09-232-0/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this patch, the application developer can use his own CEikApplication, CEikDocument and CEikAppUi classes with Qt, by deriving from QS60MainApplication, QSMainDocument and QS60MainAppUi, respectively. He can then register a factory function in the QApplication constructor to have his own objects created during the framework initialization. This patch also fixes some Qt code style issues. RevBy: Jason Barron RevBy: mread RevBy: Sami Merila RevBy: Shane Kearns
* | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Marius Bugge Monsen2009-09-237-6/+167
|\ \
| * | Small change in the API of animationsThierry Bastian2009-09-233-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | We're not taking a parameter in updateCurrentTime any more because that parameter was the total currenttime. So it was taking into account the currenttime and the currentloop at once. This was inconsistent Reviewed-by: Leo
| * | actually use the argument of Q_DECLARE_TR_FUNCTIONSOswald Buddenhagen2009-09-232-0/+18
| | | | | | | | | | | | | | | | | | which means that one can set an arbitrary context. as a side effect, this caches the stringified context of Q_OBJECT-derived classes.
| * | QTextCursor selection extension when inserting charactersmae2009-09-231-0/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | The change makes QTextCursor not extend the selection when inserting characters at the end of the selection, provided that the cursor position is at the end. Reviewed-by: Simon Hausmann Reviewed-by: Roberto Raggi
| * | Added QSlider to tst_QStyleSheetStyle::complexWidgetFocus.Gabriel de Dietrich2009-09-231-9/+3
| | | | | | | | | | | | | | | | | | | | | When using style sheets, QSlider::handle couldn't be customized if QSlider::groove wasn't. QComboBox::down-arrow:focus wasn't properly drawn. Reviewed-by: Olivier
| * | When using style sheets, the focus flag was not propagated to the children ofGabriel de Dietrich2009-09-231-0/+55
| | | | | | | | | | | | | | | | | | complex widgets. Reviewed-by: Olivier
* | | Fix QGraphicsLinearLayout::layoutDirection test failure on cocoa.Marius Bugge Monsen2009-09-231-0/+5
|/ / | | | | | | | | | | | | The style influences the layout results. To get consistent results across platforms, we have to specify the style when testing. Reviewed-by: Jan-Arve Sæther
* | Try to stabilize this testPaul Olav Tvete2009-09-231-2/+3
| |
* | Fix new test so it works on QWSPaul Olav Tvete2009-09-231-1/+1
| |
* | Fix tst_QWidget::showMaximized on X11Olivier Goffart2009-09-231-1/+1
| | | | | | | | | | | | On X11 We have to wait we get the size change from the window manager Reviewed-by: Jason Barron
* | tst_QFileSystemWatcher::watchFileAndItsDirectory fixed for Windows CEJoerg Bornemann2009-09-231-0/+3
| | | | | | | | | | | | We skip parts of watchDirectory for the same reason. Reviewed-by: thartman
* | Removed explicit TARGET.EPOCHEAPSIZE statements from script testsMiikka Heikkinen2009-09-234-13/+4
| | | | | | | | | | | | | | | | Large enough max heap for script tests is now defined by default for all tests in qttest_p4.prf, so removed the statements from individual script tests. Reviewed-by: Janne Anttila
* | Fix autotest compilationJoão Abecasis2009-09-232-1/+3
| |
* | more meaningful output in tst_QAudioOutput::pullFileJoerg Bornemann2009-09-231-12/+12
| | | | | | | | Reviewed-by: TrustMe
* | tests/auto/qaudioinput deployment rules fixed for Windows CEJoerg Bornemann2009-09-231-2/+10
| | | | | | | | Reviewed-by: TrustMe
* | tests/auto/qaudiooutput deployment rules fixed for Windows CEJoerg Bornemann2009-09-231-5/+7
| | | | | | | | Reviewed-by: TrustMe
* | Fix compilation errors in qcombobox autotestShane Kearns2009-09-231-2/+9
| | | | | | | | | | | | | | | | Dependency on windows style, without including the header file Needed static casts to compare QWidget* with QComboBox* at least for the Nokia x86 compiler. Reviewed-by: axis
* | Try to stabilize and speedup the qwidget testOlivier Goffart2009-09-221-516/+378
| | | | | | | | | | | | | | The test goes in only almost 30seconds now. But i still have few failures Reviewed-by: Denis
* | don't crash in property access after script class has been set to 0Kent Hansen2009-09-221-1/+11
| | | | | | | | | | | | | | | | When the script class is set to 0, we need to remove the script object's delegate entirely, because the delegate requires a non-0 script class in order to be useful. Reviewed-by: Olivier Goffart
* | Stabilize some testsOlivier Goffart2009-09-223-14/+12
| |
* | Stabilize more testOlivier Goffart2009-09-226-20/+21
| |
* | Fixed crash in QFileSystemWatcher for addPath(nonExistingFile)gunnar2009-09-221-0/+10
| | | | | | | | Reviewed-by: Eskil
* | Fix QFileInfo autotest to run from a shadow buildJoão Abecasis2009-09-222-35/+90
| | | | | | | | | | | | Also, don't depend on the existence of ~/.qt/ Reviewed-by: Olivier Goffart
* | Add a test for the first ::processEvents() on QApplicationBenjamin Poulain2009-09-221-0/+27
| | | | | | | | | | | | | | | | The test of ea0c0dfa64f5c614bfd728f323d9b6731ee4898c is not valid for the change introduced in that commit. QCoreApplication does not use the event loop of Cocoa. This is the same test in QApplication.
* | Fix the test tst_QCoreApplication::sendEventsOnProcessEvents()Benjamin Poulain2009-09-221-3/+1
| | | | | | | | | | The test is failing when Qt is compiled with Qt 3 support. Qt 3 support send events for the insertion of the new child.
* | Fix tst_QFileInfo::isHidden_data() with /bin on Mac OS XBenjamin Poulain2009-09-221-1/+4
| | | | | | | | | | On Mac OS X, the directory /bin is hidden because it does not have the "Visible" attribute in the filesystem.
* | Fix crashes in QApplication autotestShane Kearns2009-09-221-4/+4
| | | | | | | | | | | | | | | | 1) Input methods caused crash due to using CCoeEnv::Fep() without checking for NULL pointer 2) Autotest itself had Q_ASSERT where it should have used Q_VERIFY Reviewed-by: axis
* | Fix focus scope bugs, verified against examples in kinetic-declarativeui.Andreas Aardal Hanssen2009-09-221-7/+7
|/ | | | | | | The C++ autotests have been updated to match the expected behavior of the examples that broke (e.g., listview.qml) in kinetic-declarativeui. Reviewed-by: Alexis
* Fix to the autotests of Animations to spit less warningsThierry Bastian2009-09-223-67/+77
|
* Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Miikka Heikkinen2009-09-221-0/+2
|\
| * Fix memleak in tst_qhttpnetworkconnectionMarkus Goetz2009-09-221-0/+2
| | | | | | | | Reviewed-by: TrustMe
* | Added explicit casts to make QScriptValue autotest compile with NokiaX86Miikka Heikkinen2009-09-221-2/+2
|/ | | | | | | NokiaX86 compiler has problems with implicit casts and templates, so worked around this problem with explicit casts. Reviewed-by: Janne Koskinen
* Workaround a bug in QDirModel in tst_QDirModel::task196768_sortingOlivier Goffart2009-09-221-8/+5
| | | | | | | | | | | | | | The test was reported failing by pulse on many platform, but noone of us was able to reproduce it locally. The problem was that pulse runs the tests in a hidden dirrectory. And this exposed a bug in the QDirModel. We decided anyway that the bug was not worth fixing considered that QDirModel is kind of deprecated in favor of QFileSystemModel. (The bug is the one reported in task 255066) Reviewed-by: mbm Reviewed-by: Thierry
* Fix breaking on fixed column width when text has tabsEskil Abrahamsen Blomfeldt2009-09-221-0/+36
| | | | | | | | | | | | When a text in QTextLayout contained tabs, these would be counted as single glyphs when breaking the text on a fixed number of columns, rather than the number of characters they span. The patch calculates the number of characters represented by a tab by using the average character width of the font engine. Task-number: QTBUG-4468 Reviewed-by: Simon Hausmann
* tst_qnetworkreply: Increased timeout of uploadPerformance()Markus Goetz2009-09-221-1/+1
|
* Make QDialog, and QTreeView test more robustOlivier Goffart2009-09-222-6/+10
|
* Merge commit 'origin/4.5' into 4.6Andreas Aardal Hanssen2009-09-223-2/+41
|\ | | | | | | | | | | Conflicts: src/corelib/kernel/qcoreapplication.cpp tests/auto/windowsmobile/test/tst_windowsmobile.cpp
| * Cached clip path not cleared correctly for ancestor that clips to shapeAndrew Christian2009-09-221-0/+32
| | | | | | | | | | | | | | | | | | Fix QGraphicsItem to clear clip path for items with an ancestor that clips to shape. Added autotest to demonstrate clipping path problem. Merge-request: 810 Reviewed-by: Alexis Reviewed-by: Andreas
| * tst_windowsmobile: local include correctedJoerg Bornemann2009-09-221-1/+1
| | | | | | | | Reviewed-by: TrustMe
| * Added more tests for QTextCodec::codecForHtml()Stian Sandvik Thomassen2009-09-221-1/+8
| |
* | * QPixmap: Add toWinHICON() & fromWinHICON() methodminiak2009-09-2210-3/+112
| | | | | | | | | | | | | | | | | | | | Duplicate QPixmap <-> HICON conversion code removed from qwidget_win.cpp & qsystemtrayicon_win.cpp. Task-number: 218533 Merge-request: 1570 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
* | Don't run host tools autotests when Qt is cross compiled.Rohan McGovern2009-09-221-10/+10
| | | | | | | | Reviewed-by: mstormo