summaryrefslogtreecommitdiffstats
path: root/tests/auto
Commit message (Collapse)AuthorAgeFilesLines
* Added missing autotest/benchmark projects to the root .pro-fileDenis Dzyubenko2009-07-161-1/+2
|
* Update the license header in a few more placesThiago Macieira2009-07-161-1/+1
|
* Use Unix signal handlers to properly close the test log when a test isRohan McGovern2009-07-153-1/+12
| | | | | | | | | | | | | | | terminated by a signal. The new XML testloggers in Qt 4.6 only output a testlog after the test completes. Therefore, if a test crashes, no testlog will be output at all. This is a functional regression from Qt 4.5 and earlier where the testlog would be output up to the point where the crash occurred. This is a Unix-specific fix for this problem. This change is also useful for hanging tests; if the test is killed with SIGTERM it will output the test log up to the current test before it exits.
* QGraphicsItems not painted after QGraphicsScene::clear().Bjoern Erik Nilsen2009-07-151-0/+34
| | | | | | | The problem was that we didn't regenerate the bsp when adding items after calling QGraphicsScene::clear. Reviewed-by: alexis
* fix autotest buildThierry Bastian2009-07-151-1/+0
|
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtPeter Hartmann2009-07-152-16/+29
|\
| * Make Graphics View auto-tests less dependant on WS.Bjørn Erik Nilsen2009-07-152-16/+29
| | | | | | | | | | | | | | Several auto-tests failed on the Mac because the view get two paint events on the first show. This is a bug in QWidget, but shouldn't make graphics view auto-tests fail. Also, there's no difference between update() and repaint() on the Mac.
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtPeter Hartmann2009-07-15100-312/+2288
|\ \ | |/
| * Bad drawing of styled viewports within QAbstractScrollAreaOlivier Goffart2009-07-151-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch includes lots of refactoring, but the real problem was that in QWidgetPrivate::paintBackground we call drawPrimitive(PE_Widget) with a potentialy translated painter, but the opt.rect is not translated. When having a scroll area the calling function used to translated the painter and then pass the offset around to rectify. but drawPrimitive cannot rectify it. The solution is not to translate the painter but use other way to rectify the brush Task-number: 257517 Reviewed-by: bnilsen
| * Fix painting of the background of QAbstractItemView, QTextEdit and coOlivier Goffart2009-07-151-0/+197
| | | | | | | | when only setting a border with the stylesheet
| * Fixes more sql autotestsBill King2009-07-151-10/+12
| |
| * Fixes sql autotests.Bill King2009-07-151-4/+1
| | | | | | | | | | Now that the precisionPolicy stuff is fixed, sql server seems to be behaving correctly (with double values, but still not with string values).
| * Fixed recompile of tests/auto/selftests/exception.Rohan McGovern2009-07-156-9/+9
| | | | | | | | | | | | Turns out making a binary named `exception' is quite a bad idea... when some code does `#include <exception>', guess which file gets picked up :-)
| * Fixed selftest failure.Rohan McGovern2009-07-151-2/+2
| | | | | | | | Update maxwarnings for testlib string change.
| * Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtMarius Bugge Monsen2009-07-142-0/+37
| |\
| | * QNetworkReply: Add isFinished() methodMarkus Goetz2009-07-141-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | The isFinished() method will return true if the reply has successfully finished or has been aborted. Task-number: 257349 Reviewed-by: Thiago Macieira
| | * Make sure QGraphicsScene::update() only requires one event-loopBjørn Erik Nilsen2009-07-141-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | iteration before the views are updated. A full scene update (scene.update()) already supported it because the scene called update() on the views directly. However, partially scene updates (scene.update(rect)) required two event-loop iterations before the views were updated. Auto-test included.
| | * Fixed the qlineedit autotest.Denis Dzyubenko2009-07-141-3/+3
| | | | | | | | | | | | | | | | | | The commit 099a32d changed a behavior of qlineedit not to insert text when a modifier is pressed. This commit fixes the appropriate autotest.
| * | Add auto-tests for QGraphicsItem::filtersChildEvents.Marius Bugge Monsen2009-07-141-0/+123
| | |
| * | Fixed the qlineedit autotest.Denis Dzyubenko2009-07-141-3/+3
| |/ | | | | | | | | | | The commit 099a32d changed a behavior of qlineedit not to insert text when a modifier is pressed. This commit fixes the appropriate autotest.
| * Make test faster + fix whitespaceOlivier Goffart2009-07-131-20/+21
| |
| * Fixes: The keyboard navigation of QComboBox don't work with the completionNoah White-Hamerslough2009-07-131-0/+40
| | | | | | | | | | | | Merge-request: 653 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com> Task-number: 247560
| * More tests for list numberingOlivier Goffart2009-07-132-0/+50
| |
| * Added QTextListFormat::ListUpperRoman and QTextListFormat::ListLowerRoman ↵Nils Jeisecke2009-07-131-0/+36
| | | | | | | | | | | | | | for roman numbering of lists as supported by HTML/ODF Reviewed-by: Olivier Goffart Merge-request: 681
| * Merge commit 'origin/4.5'Oswald Buddenhagen2009-07-137-0/+80
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty/webkit/JavaScriptCore/generated/Grammar.cpp src/3rdparty/webkit/JavaScriptCore/generated/Grammar.h src/3rdparty/webkit/VERSION src/3rdparty/webkit/WebCore/ChangeLog src/3rdparty/webkit/WebCore/generated/CSSGrammar.cpp src/3rdparty/webkit/WebCore/generated/CSSGrammar.h src/3rdparty/webkit/WebCore/generated/Grammar.cpp src/3rdparty/webkit/WebCore/generated/Grammar.h src/3rdparty/webkit/WebCore/generated/XPathGrammar.cpp src/3rdparty/webkit/WebCore/generated/XPathGrammar.h src/3rdparty/webkit/WebKit/qt/ChangeLog tools/linguist/lrelease/main.cpp tools/linguist/lupdate/main.cpp tools/linguist/shared/profileevaluator.cpp
| | * implement proper vpath handlingOswald Buddenhagen2009-07-137-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this also removes the bogus special casing of various filename-containing variables inside the pro parser. while this is a feature as such, it restores backwards compatibility without damaging the correct behavior again, so it qualifies for 4.5. based on a2f40fce2a1cf3c19a13fa27eea08192493ab76e from creator Task-number: 254098
| | * tst_qnetworkreply: qDebug instead of qWarningMarkus Goetz2009-07-131-1/+1
| | |
| | * QFlags::testFlag(): handle the zero case appropriately.Frans Englich2009-07-131-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | Brought up by Andy. See perforce change 314809, 17b07e3ab6192b31f77fd2f126705b9ab53b3937. Related to task 221708. Reviewed-By: Andy Shaw (cherry picked from commit cc24c46c117248ecb98200416e7f25375e6bb476)
| | * Fix line endings.Alexis Menard2009-07-131-22/+22
| | |
| * | tst_qnetworkreply: qDebug instead of qWarningMarkus Goetz2009-07-131-2/+2
| | |
| * | QFlags::testFlag(): handle the zero case appropriately.Frans Englich2009-07-131-0/+24
| | | | | | | | | | | | | | | | | | | | | Brought up by Andy. See perforce change 314809, 17b07e3ab6192b31f77fd2f126705b9ab53b3937. Related to task 221708. Reviewed-By: Andy Shaw
| * | Fixed the lineendings in the tst_qsqltablemodel.cppDenis Dzyubenko2009-07-131-22/+22
| | |
| * | Added QSyntaxHighlighter::rehighlightBlock() auto testJ-P Nurmi2009-07-131-1/+28
| | | | | | | | | | | | | | | Merge-request: 379 Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
| * | Stabilize tst_QGraphicsView::mouseTracking2 (on Windows).Bjoern Erik Nilsen2009-07-131-1/+3
| | | | | | | | | | | | | | | | | | | | | Use QApplication::sendEvent directly instead of calling the static sendMouseMove function, which also calls QTest::mouseMove. This test failed with spy.count() being 2 instead of 1 (which is correct since we both use QTest::mouseMove and QApplication::sendEvent).
| * | Fix broken tst_QGraphicsItem::sorting.Bjoern Erik Nilsen2009-07-131-1/+2
| | | | | | | | | | | | | | | A top-level window on Windows cannot have a smaller width than 120. Increase the width by 20 and expect another row of items to be painted.
| * | Fixes autotest to match the new code (db level precisionPolicy).Bill King2009-07-131-1/+1
| | |
| * | Fixes up the autotest for mysql over ODBC connection.Bill King2009-07-131-2/+2
| | |
| * | Merge commit 'origin/4.5'Bill King2009-07-138-55/+264
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/kbddrivers/usb/main.cpp tests/auto/qnetworkreply/tst_qnetworkreply.cpp tests/auto/qwidget/tst_qwidget.cpp
| | * Fixes failure when table has null fields to updateBill King2009-07-131-0/+62
| | | | | | | | | | | | | | | | | | | | | Fixes an issue where too many parameters are bound when updating QSqlTableModel where the stored record has NULLs in it. Reviewed-by: Justin McPherson
| | * Fixed a crash with input methodsPierre Rossi2009-07-101-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | The inputContext's focusWidget was not reset when disabling input methods. Thanks to Benjamin P. Task-number: 257832 Reviewed-by: Denis
| | * rewrite makeplurals.sh in perlOswald Buddenhagen2009-07-103-44/+43
| | | | | | | | | | | | ... so it works under windows as well.
| | * make tests independent of PATH contentsOswald Buddenhagen2009-07-103-11/+19
| | | | | | | | | | | | use absolute paths for the tested executables
| | * QNAM: httpDownloadPerformance auto testMarkus Goetz2009-07-091-0/+126
| | | | | | | | | | | | Reviewed-by: Peter Hartmann
| * | Merge commit 'qt/master' into graphicssceneindexBjørn Erik Nilsen2009-07-1091-221/+3076
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsitem_p.h tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp tests/auto/qgraphicsview/tst_qgraphicsview.cpp
| | * | adding autotestThierry Bastian2009-07-101-2/+28
| | | | | | | | | | | | | | | | Task-number: 248688
| | * | QTableView: horizontal scrollbar could be inoperent with big columnsThierry Bastian2009-07-101-0/+26
| | | | | | | | | | | | | | | | Task-number: 240266
| | * | QFileDialog: the side urls are now always cleaned when they are localThierry Bastian2009-07-101-0/+21
| | | | | | | | | | | | | | | | Task-number: 257579
| | * | Update test db definitions.Bill King2009-07-101-5/+9
| | | |
| | * | Get more sql autotests passing or expect-failing.Bill King2009-07-102-4/+16
| | | |
| | * | fix the test _and_ the class :)Harald Fernengel2009-07-031-11/+6
| | | |