summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Document stack size.Frans Englich2009-08-201-4/+13
| | | | | | Addresses review comment. Reviewed-by: TrustMe
* Fix build, the preprocessor is broken on windows.Frans Englich2009-08-201-9/+9
|
* Document code.Frans Englich2009-08-201-0/+2
| | | | Addresses review comment.
* Cleanup code.Frans Englich2009-08-201-2/+9
|
* Remove dead comment.Frans Englich2009-08-201-31/+0
|
* Document, partly by making the code self-documenting, a crash fix.Frans Englich2009-08-201-13/+22
| | | | Addresses a review comment.
* Fixed incorrect SRCDIR usage in qsslcertificate autotest for Symbian.Janne Anttila2009-08-201-1/+1
| | | | Reviewed-by: TrustMe
* Removuing lines that were commented.Aleksandar Sasha Babic2009-08-202-4/+1
|
* We can use runs = 100 in the test case.Aleksandar Sasha Babic2009-08-201-1/+1
| | | | On Symbian platform it will take longer time.
* Removing commented lines.Aleksandar Sasha Babic2009-08-201-6/+0
|
* No need to use more time in QTimer::singleShot()Aleksandar Sasha Babic2009-08-201-4/+0
| | | | than on other platforms.
* Removing unnecessary comments and enablingAleksandar Sasha Babic2009-08-201-4/+4
| | | | additional test rows that were forgotten.
* Remove dead commment. Addresses review.Frans Englich2009-08-191-1/+0
| | | | Reviewed-by: TrustMe
* Remove commented line.Frans Englich2009-08-191-1/+0
|
* Ifdef compiler workaround.Frans Englich2009-08-191-3/+15
| | | | Addresses review comment.
* Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicMiikka Heikkinen2009-08-19128-424/+537
|\
| * Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtaxis2009-08-19122-418/+531
| |\ | | | | | | | | | | | | Conflicts: tests/auto/auto.pro
| | * Move math3d unit tests up one level to tests/autoRhys Weatherley2009-08-1812-74/+14
| | | | | | | | | | | | | | | | | | | | | | | | Some of the platform test infrastructure assumes that all unit tests are sub-directories under tests/auto, and the tests/auto/math3d sub-directory was confusing that infrastructure. Reviewed-by: trustme
| | * Autotest: cosmetic: change trolltech.com to qt.nokia.comThiago Macieira2009-08-181-27/+27
| | |
| | * Autotest: update the trolltech.com URLs to nokia.com properly.Thiago Macieira2009-08-181-27/+27
| | |
| | * Autotest: Revert 96b6a3c9cd8 in tst_qnetworkcookiejarThiago Macieira2009-08-181-13/+13
| | | | | | | | | | | | | | | The change of URLs in Qt broke the tests that operated on URLs. This wasn't properly done, so revert to the last working values.
| | * Autotest: don't check Qt3Support and QtCLucene for global statics.Thiago Macieira2009-08-181-1/+9
| | | | | | | | | | | | | | | We won't fix any issues in those libraries anyway, so don't waste time checking.
| | * Autotest: accept that the platform's UTF-8 codec can be buggy.Thiago Macieira2009-08-181-1/+10
| | | | | | | | | | | | | | | We shouldn't fail in our autotests because the platform is buggy. But note the problem. We should report the bugs upstream...
| | * Autotest: update uic baselines after license header update.Thiago Macieira2009-08-18100-287/+342
| | | | | | | | | | | | | | | The license header update in e12a03d5 changed the .ui templates, but not the baselines in all cases.
| | * Autotest: unbreak test after overeager trolltech.com -> qt.nokia.com replacementThiago Macieira2009-08-181-2/+2
| | |
| | * Added a behaviour parameter to QXmlStreamReader::readElementTextThorbjørn Lindeijer2009-08-181-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the function a bit more useful, since previously it was only safe to use if you were sure that it would not encounter an unexpected child element, or if you would be alright with canceling the parser on such an occurrence. Now it is also possible to have it ignore any unexpected child elements, or to have it include the text found in any child elements. Task-number: 231938 Reviewed-by: mae
| | * Added two convenience functions to QXmlStreamReaderThorbjørn Lindeijer2009-08-181-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QXmlStreamReader::readNextStartElement reads until the next start element within the current element, or returns false when no such element is encountered before the end element is reached. It simplifies the common case of iterating over the elements in an XML document. QXmlStreamReader::skipCurrentElement reads until the end element of the current element, skipping any child elements. This functionality was requested in two tasks, and a similar function 'readUnknownElement' was present in Qt's stream reader example. Autotest is included, example and documentation have been updated. Task-number: 238793 Reviewed-by: mae
| | * QGraphicsView test fixGabriel de Dietrich2009-08-181-6/+6
| | | | | | | | | | | | Reviewed-by: Olivier
| | * Fix autotest: on windows, timers are not accurate enoughThierry Bastian2009-08-181-2/+4
| | |
| | * Autotest: Be very pedant about the tests. There's at least one compilerThiago Macieira2009-08-181-4/+33
| | | | | | | | | | | | where it breaks, so let's find out where.
| | * Fix autotest: removed useless debug tracesThierry Bastian2009-08-181-1/+0
| | |
| | * tst_QTableView::task259308_scrollVerticalHeaderSwappedSections fails.Gabriel de Dietrich2009-08-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The QTableView scrolled down after the sections swap. Setting the current index to the topmost visual element fixes the issue. Reviewed-by: Thierry
| * | Changed names and URLs to reflect name change.axis2009-08-196-6/+6
| | | | | | | | | | | | RevBy: Trust me
* | | 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
| | |