summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* use /usr/bin/env perl as interpreterHarald Fernengel2009-07-211-1/+1
|
* Workaround for transacted, locked and inaccesible filesRitt Konstantin2009-07-201-2/+16
| | | | | | | | | | | wich can not be stat'ed in a natural way. FindFirstFile solves this problem. Task-number: 167099 Task-number: 189202 Merge-request: 880 Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
* Use QVERIFY in benchmarks, insteads of returning silently in case of errorOlivier Goffart2009-07-201-4/+2
|
* Add low level POSIX bench on WindowsRitt Konstantin2009-07-201-6/+31
| | | | | Merge-request: 702 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
* Adding test case for PNG compression icon loadingminiak2009-07-202-0/+33
| | | | | Merge-request: 431 Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
* absolute lupdate path for the new test as wellOswald Buddenhagen2009-07-201-1/+1
|
* Merge commit 'origin/4.5'Oswald Buddenhagen2009-07-204-11/+41
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty/webkit/VERSION src/3rdparty/webkit/WebCore/ChangeLog src/3rdparty/webkit/WebCore/generated/JSDOMWindow.cpp src/3rdparty/webkit/WebCore/page/DOMWindow.idl src/corelib/io/qdiriterator.cpp src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h tests/auto/qxmlquery/tst_qxmlquery.cpp tools/linguist/lconvert/main.cpp
| * Fix assert in message handling.Frans Englich2009-07-201-0/+18
| | | | | | | | | | | | | | Trivial fix. Reported by Michael Brasser. Task-number: 258337 Reviewed-By: Peter Hartmann
| * don't rely on system codec when handling PO filesOswald Buddenhagen2009-07-171-1/+1
| | | | | | | | | | - make -input-codec affect PO files, default to UTF-8 - add -output-codec for PO files, same default
| * Test case for QDirIterator regression introduced in 4.5.0João Abecasis2009-07-171-10/+21
| | | | | | | | | | Task-number: 258230 Reviewed-by: Olivier Goffart
| * tst_qnetworkreply: Removed warningMarkus Goetz2009-07-171-0/+1
| | | | | | | | Reviewed-by: TrustMe
* | WinCE build fixes. Use qgetenv instead of getenv...Joerg Bornemann2009-07-202-5/+5
| | | | | | | | Reviewed-by: thartman
* | make test immune to qt header changesOswald Buddenhagen2009-07-171-2/+2
| | | | | | | | ... by hiding the include from lupdate's view
* | Fix for selection with Shift-Arrow/Shift-Click in QListView's IconModeFrank Reininghaus2009-07-171-0/+67
| | | | | | | | | | | | | | | | | | | | | | This addresses the selection of items using Shift-Arrow or Shift-Click in QListView's IconMode if the items are in a grid layout. In the case that the items do not have the same size (e.g., because their text is wrapped), this commit prevents the unexpected selection of additional items. New unit tests are included. Merge-request: 666 Reviewed-by: Olivier Goffart
* | Merge branch 'screencountchanged'Volker Hilsheimer2009-07-172-0/+190
|\ \ | | | | | | | | | | | | Reviewed-by: denis Reviewed-by: Prasanth
| * | Implement QDesktopWidget::screenCountChanged signal on desktop platforms,Volker Hilsheimer2009-07-172-0/+190
| | | | | | | | | | | | | | | | | | | | | and add manual testcase. Provide replacement "screenCount" for numScreens and document numScreens as obsolete to be more consistent with other APIs.
* | | Add priority property to QActionJens Bache-Wiig2009-07-172-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need this to support the behavior in Gtk+ where, when Qt::ToolButtonTextBesideIcon is used, only text labels for important actions are shown. It will also enable us to prioritize actions in the future when for instance collapsing a toolbar. Task-number: 258290 Reviewed-by: thierry
* | | Lets the size of the completer be configurable in a way similar to QComboBox.Frédéric Mercille2009-07-171-0/+68
| | | | | | | | | | | | | | | Merge-request: 884 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
* | | Fixes: ItemView text editor is not visible with empty text and iconsOlivier Goffart2009-07-171-23/+60
| | | | | | | | | | | | | | | | | | | | | It was not visible wicause its height was 0 Task-number: 257481 Reviewed-by: mbm
* | | tst_qhttpnetworkconnection: FixesMarkus Goetz2009-07-171-7/+8
|/ /
* | Fixed failure of xunit selftest on Windows.Rohan McGovern2009-07-171-9/+2
| |
* | Allow picking up tool button style from the systemJens Bache-Wiig2009-07-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | KDE and GNOME has the concept of a default tool button style that can be set system-wide. Qt currently allways default to IconOnly. I have added an optional Qt::ToolButtonSystemDefault value so you can opt-in to respect the system setting. We did not change the default because a lot of apps will look odd when for instance text is beside icons and the descriptive text is too long. Task-number: 237864 Reviewed-by: ogoffart
* | Added a utf8->utf16 conversion benchmark.Denis Dzyubenko2009-07-163-0/+98
| | | | | | | | We need a find better unicode input document though.
* | Added missing autotest/benchmark projects to the root .pro-fileDenis Dzyubenko2009-07-162-2/+4
| |
* | 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
| | |