summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Review fixes for qmake (project.cpp cleanup)Miikka Heikkinen2009-08-196-0/+6
| | | | | | | | | | | | | | Removed symbian specific functionality from project.cpp: - generate_test_uid qmake function removed - Uids are now generated automatically for projects that don't have one. - Usage of ICON (in application_icon.prf) now requires explicit UID3 definition. - Autotests that require UID3 in .pro now define it explicitly - Move most symbian specific function implementations away from project.cpp to files under generators/symbian Reviewed-by: Janne Anttila
* make the BigAlloc() test keep allocating if it's not done enough alreadymread2009-08-181-4/+10
|
* disabled exceptions safety tests for Symbian 3.x as they always fail due to ↵mread2009-08-181-1/+2
| | | | missing thowing new
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-publicShane Kearns2009-08-1863-714/+669
|\
| * Merge commit 'qt/master'Jason Barron2009-08-1863-714/+669
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/src/examples.qdoc doc/src/plugins-howto.qdoc doc/src/topics.qdoc examples/phonon/musicplayer/mainwindow.cpp src/3rdparty/freetype/src/base/ftobjs.c src/corelib/global/qglobal.h src/corelib/tools/qalgorithms.h src/corelib/tools/qshareddata.cpp src/corelib/tools/qsharedpointer.cpp src/corelib/tools/tools.pri src/corelib/xml/qxmlstream.h src/gui/painting/painting.pri src/gui/widgets/qdatetimeedit.cpp tests/auto/qdesktopservices/qdesktopservices.pro tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp tests/auto/qtextcodec/test/test.pro
| | * Fixes qmake -tp vcBill King2009-08-181-7/+13
| | | | | | | | | | | | | | | | | | | | | qmake -tp vc (rightfully) borks when it tries to include .pros that it shouldn't be, based upon platform. Reviewed-by: Rohan McGovern
| | * cut down on real codeOswald Buddenhagen2009-08-1714-541/+37
| | | | | | | | | | | | | | | | | | | | | | | | remove all c++ code which is not part of the critical test data. as a result, remove the license headers where the remaining text cannot be reasonably considered copyright-worthy any more. this is a somewhat persistent solution to the ever-changing license headers screwing up the tests.
| | * Add autotest to make sure we receive the QVariantAnimation::valueChangedThierry Bastian2009-08-171-0/+28
| | | | | | | | | | | | Reviewed-by: ogoffart
| | * Add support for the orientation of tiff imagesBenjamin Poulain2009-08-1728-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The orientation tag was ignored for tiff images. The tag is now used to rotate the image before providing it to the user. The orientation of indexed an mono images is done completely manually. The orientation of other type is done in conjunction to the mirroring already performed by libtiff. Task-number: 258526 Reviewed-by: Samuel Rødal
| | * Merge QGV delta from kinetic-declarativeui into master.Andreas Aardal Hanssen2009-08-171-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New flag: QGraphicsItem::ItemNegativeZStacksBehindParent, which makes it easy to toggle stack-behind based on the value of Z alone. Add interface initializations to QGV classes. Add a simple internal focus policy to QGraphicsItem to allow derived items to be focusable without allowing clickfocus. Reviewed-by: Alexis
| | * Transforms do not obey AnchorUnderMouse with viewport margins setGabriel de Dietrich2009-08-171-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setTransformationAnchor(QGraphicsView::AnchorUnderMouse) would not work properly if viewport margins were set. When centering the view in QGraphicsViewPrivate::centerView, the viewport margins were not being taken into account. Mapping from global cursor coordinates in the viewport instead of the view fixes the issue. Task-number: 255529 Reviewed-by: Olivier
| | * Autotest for correct word wrapping on text next to floating objectEskil Abrahamsen Blomfeldt2009-08-141-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We set the document's page size to be large enough to contain an image which is 100 pixels wide and one, but not two, instances of the word 'Foobar'. We then render HTML which contains a string with repeated occurrences of the word 'Foobar' next to a floating, right-aligned image which is 100 pixels wide. The layout should break on word boundaries, since this is the default in QTextDocument, and thus each text line should contain one instance of the word 'Foobar'. Task-number: 240325
| | * Reimplement qSwap and Q_DECLARE_SHARED differently.Thiago Macieira2009-08-142-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | This enables the use of Q_DECLARE_SHARED with d-pointers that are QExplicitlySharedDataPointer<PrivateClass>. Also, this enables swapping atomically QSharedPointers. Reviewed-by: Harald Fernengel
| | * Perform license checks on source files.Frans Englich2009-08-141-19/+65
| | | | | | | | | | | | | | | | | | | | | Previously we only checked headers, but we actually care about source files too. This detects about 50 errors all over Qt. Discussed with Thiago.
| | * Add stringbuilder auto test to auto.prohjk2009-08-141-0/+1
| | | | | | | | | | | | Reviewed-by: trustme
| | * Fix MLS testWarwick Allison2009-08-141-1/+2
| | | | | | | | | | | | "sm"+ellipsis (...) is same length as "small" in some fonts
| | * spelWarwick Allison2009-08-141-2/+2
| | |
| | * Fixed audio auto tests.Kurt Korbatits2009-08-134-129/+229
| | | | | | | | | | | | | | | | | | Handle platforms that don't have backends. Reviewed-by: Bill King
| | * Removed a few bogus includesAlessandro Portale2009-08-133-11/+0
| | |
| | * Compile fix.Alessandro Portale2009-08-131-1/+1
| | | | | | | | | | | | tst_qobject deleteQObjectWhenDeletingEvent needs QtGui.
| | * Fix build, by adjusting according to how test QProcess is.Frans Englich2009-08-131-1/+16
| | |
| | * fixing autotests for Windows CE (deployment - QHelp)Thomas Hartmann2009-08-133-2/+33
| | | | | | | | | | | | | | | Task-number: 214990 Reviewed-by: Joerg
| | * Fix focus proxy deletion bugs/crashes in QGraphicsItem.Andreas Aardal Hanssen2009-08-131-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change would have been much simpler if either QGraphicsItem inherited QObject, or if we had some similar QPointer-like class that supported QGraphicsItem. The issue is this: Each item can delegate another item to be its focus proxy. That item can be a parent or child, or something completely unrelated. Either of the two items can be deleted independently. The former solution was to store backpointers in a map in the scene. Problem is, the items may not be in a scene when this happens, they may be removed from the scene, and the items may be moved between two scenes. The bad part about this fix is that it adds another pointer to QGraphicsItemPrivate. Reviewed-by: Shane Kearns <shane.kearns@sosco.com>
| | * Fix auto test xmlpatternsschemats by adjusting build dependencies.Frans Englich2009-08-131-0/+1
| | |
| | * Fix to autotest of QDockWidgetThierry Bastian2009-08-131-1/+1
| | | | | | | | | | | | | | | Mac needs a bit more time to update the widgets when they are redocked
* | | Fix autotest to accept Symbian OS behaviour as a pass.Shane Kearns2009-08-181-2/+29
|/ / | | | | | | | | | | | | | | | | | | | | Symbian generates a directory change event when a file is overwritten in that directory. Autotest was asserting that no change event is generated in this situation (documentation allows it in the signal description) So the test now allows 0 or 1 dir changed events, to allow existing platforms and symbian to both pass. Reviewed-by: brad
* | Remove the history files for autotest, and move the whitelist files to ↵Liang Qi2009-08-1425-740/+0
| | | | | | | | autotest repo.
* | Fix incorrect logic in QPixmap::fromSymbianCFbsBitmap.Jason Barron2009-08-141-0/+8
| | | | | | | | | | | | In some alternate universes it might make sense to use a pointer before checking if it is valid, but since this isn't one we shoudn't do it. Also extend the autotest a little to make sure we catch this case.
* | Fixed the tst_QFileInfo::isHidden test to actually test for hiddenMiikka Heikkinen2009-08-142-4/+53
| | | | | | | | attribute in Symbian in a meaningful way.
* | Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicJanne Anttila2009-08-141-5/+5
|\ \
| * | Fixed network-settings.h build for symbianMiikka Heikkinen2009-08-141-5/+5
| | |
* | | Fixed QKeySequence autotest for Symbian.Janne Anttila2009-08-141-11/+14
|/ /
* | Fixed qdir autotest for SymbianMiikka Heikkinen2009-08-141-5/+22
| |
* | Had to change ip and hostname as, at the time,Aleksandar Sasha Babic2009-08-141-1/+1
| | | | | | | | this was only accessible from Nokia network.
* | Replies are different for platforms as we targetAleksandar Sasha Babic2009-08-141-8/+4
| | | | | | | | | | | | different server machines. On Symbian we read replies from external file, for others we put data into network-settings.h
* | Fixed SRCDIR usage in QLabel autotest for Symbian.Janne Anttila2009-08-141-1/+1
| | | | | | | | This commit fixed QLabel::task226479_movieResize autotest.
* | Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicJanne Anttila2009-08-141-12/+16
|\ \
| * \ Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicMiikka Heikkinen2009-08-142-6/+3
| |\ \
| * | | Fixed qdiriterator test for SymbianMiikka Heikkinen2009-08-141-12/+16
| | | |
* | | | Fixed qgraphicsscene autotest deployment for Symbian.Janne Anttila2009-08-141-1/+1
| | | | | | | | | | | | | | | | Makes render test case to pass at least on emulator.
* | | | Fixed tst_QGraphicsView::scrollBarRanges autotest for Symbian.Janne Anttila2009-08-141-1/+1
| |/ / |/| | | | | | | | | | | | | | The scrollBarRanges test case is style specific, but we were using s60 style to run the test. Added Q_OS_SYMBIAN ifdef to enable windows style for this particular test case.
* | | Fixed and re-enabled anguagechange autotest for Symbian.Janne Anttila2009-08-142-5/+2
| | | | | | | | | | | | | | | Started to use QApplication::closeAllWindows instead of unexported QThreadData::current() and friends.
* | | Implemented minimalistic modal handling for Symbian OS.Janne Anttila2009-08-141-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | The implementation is likely not complete, but makes autotests using QApplication::activeModalWidget to pass. At least the following test now pass successfully: qcolordialog qmessagebox Might have positive impact to other autotests as well.
* | Compile fix.Alessandro Portale2009-08-131-1/+1
| | | | | | | | tst_qobject deleteQObjectWhenDeletingEvent needs QtGui.
* | fix compile for windows, reviewed by sashaEspen Riskedal2009-08-131-1/+1
| |
* | We feel that test case should be changed,Aleksandar Sasha Babic2009-08-131-20/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | as we cant expect that order of the event hansling will be same on all platforms. For example, on Symbian quit will happen first, on Linux not. It is better to check if we processed 2 events in total. Reviewed by: Axis
* | Fixed qaction autotest failures for Symbian.Janne Anttila2009-08-131-2/+2
| |
* | Fixed broken test case due to URL changes (commit 96b6a3c9)Janne Anttila2009-08-131-2/+2
| |
* | Removing some cases that were left in s60Aleksandar Sasha Babic2009-08-131-113/+6
| | | | | | | | branch after merginig with mainlin/master.
* | Trivial, obsolete lines.Aleksandar Sasha Babic2009-08-131-4/+0
| |