summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Allow running qicon_svg test against local qtsvg buildv5.6.25.6.2Dmitry Shachnev2016-07-121-2/+1
| | | | | | | | | | | | | | | When the build is local (i.e. not system-wide installed), libQt5Svg.so.5 needs to be on LD_LIBRARY_PATH, otherwise the plugin will not be able to load it. LD_LIBRARY_PATH is set by target_wrapper.sh, generated by qmake, which will add local lib directory there only if QT contains svg. This is a workaround for the dependency resolution of plugins and modules not being properly integrated. Change-Id: I68c3bc850367af62e7ccaa766fa83453fa0d8621 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* Improve format detection in the image reader pluginv5.6.0-beta1Eirik Aavitsland2015-11-202-0/+13
| | | | | | | | | | | | canRead() would reject a file starting with an xml comment. canRead() by design accepts anything that looks like the start of an xml file, and the comment token "<!--" should be an indicator as good as any of an xml file. Task-number: QTBUG-49496 Change-Id: Id3c17f6b02344fa6a20bc2a839e345e5cebc14c2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
* Remove the old headersclean unit testThiago Macieira2015-03-182-4/+1
| | | | | | | We have configure -headersclean now Change-Id: I8811ae603503c20093f308d71e7a42e38ffac2db Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* Merge dev into 5.5Oswald Buddenhagen2015-02-241-1/+1
|\ | | | | | | Change-Id: I5c60ab8323095915cf62e7309c98acd3fd3f8fcc
| * Fixed license headersJani Heikkinen2015-02-161-1/+1
| | | | | | | | | | Change-Id: I6b13e9931f55338efba1d219ebdfbb6bc90bb27c Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.4' into 5.5Frederik Gladhorn2015-02-208-34232/+90888
|\ \ | |/ |/| | | | | | | | | Conflicts: LICENSE.GPLv2 Change-Id: Id7e321e81c3b3af0c17c9d32d25c0bb905974728
| * Fix test data for tst_GuiAppLauncherSergio Ahumada2015-02-181-2/+10
| | | | | | | | | | | | Change-Id: Ibe7522bc5448c82eb917f660d6e52dd1c82844c4 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com> Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
| * bic: Add/Replace 5.{0.1,2,3,4}.0 bic data for linux-gcc-amd64Sergio Ahumada2015-02-137-34230/+90878
| | | | | | | | | | | | | | | | | | Remove the ia32 data since there are no linux x86 machines in the CI system (which makes the data useless from an automated testing point of view) and most people use x64 these days anyway. Change-Id: I8ecca25b2198285090cf2128d51554dbba15e97d Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* | Update copyright headersJani Heikkinen2015-02-116-58/+50
| | | | | | | | | | | | | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: Ie7d37928ebd680c6f1b20045de11abcd5595c73f Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.4' into devFrederik Gladhorn2014-10-201-0/+9
|\ \ | |/ | | | | Change-Id: I521c0f85547f8a3272d201e2c7d48341bbf9034c
| * Merge remote-tracking branch 'origin/5.3' into 5.4Frederik Gladhorn2014-10-141-0/+9
| |\ | | | | | | | | | Change-Id: Ideff1b627a310a85d728d74ed25b83e7de5352fe
| | * fix crash on malformed SVG5.3Joerg Bornemann2014-10-061-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a gradient that references itself via xlink:href we encountered an infinite recursion, and eventually a stack overflow. Now we print a warning and ignore the invalid link. Task-number: QTBUG-35387 Change-Id: Id72800eaa267d015a471df284245861ed8bc94cd Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* | | QSvgGenerator: make use of the <rect> elementJoerg Bornemann2014-10-072-3/+3
|/ / | | | | | | | | | | | | | | | | | | [ChangeLog][][QSvgGenerator] Make use of the <rect> element for drawing rectangles instead of generating a number of path strokes. Task-number: QTBUG-1359 Change-Id: I54163a13f66089c7ff3d29953ba3e923e3983517 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Andy Shaw <andy.shaw@digia.com>
* | Update license headers and add new license filesv5.4.0-alpha1Antti Kokko2014-08-255-95/+55
|/ | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: I847adeea20fd98e5c9a18b8c44a15de84283f216 Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
* Remove obsolete dependency on QtXmlv5.3.1stable5.3.1Alessandro Portale2014-05-202-2/+2
| | | | | | | | | | | | A while a go, QtSvg was changed to use the QXmlStream* classes from QtCore. Now, only tests/auto/qsvggenerator is left with a QtXml dependency. This patch also reverts commit b719b93770393bbf20251e1dffc70498061e612c Change-Id: I67417a27aa66a2db6d1985cad73e5bab806ad7d2 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Add a unit test for testing Qt in its install location.Stephen Kelly2013-07-102-1/+8
| | | | | Change-Id: I6060d3b279c5a01223f0aa0b77f2be9aefa0e200 Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* test: Add 5.1.0 bic data for linux-gcc-ia32Sergio Ahumada2013-07-081-0/+17347
| | | | | Change-Id: I23ba6b17752e73f9087613e853afb30ae5868f84 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Fix bic autotestv5.1.0-beta1Jan Arve Saether2013-04-291-28/+3
| | | | | | | | | | | Caused by https://codereview.qt-project.org/54820 I actually tried to avoid this with https://codereview.qt-project.org/54837 but my assumption was wrong. Change-Id: If2b9795809aa0a6a7278eaaea25239ffb40db7b8 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
* Merge branch 'dev' into stableSergio Ahumada2013-03-191-201/+0
|\ | | | | | | | | | | This starts Qt 5.1 release cycle Change-Id: Ib22f7e4aad77af52f9d9a57a87b5e6d039c7e18b
| * Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2013-03-142-2/+2
| |\ | | | | | | | | | Change-Id: I72bdbfcf34983d76ce9fa2d4c1e1304324615107
| * | Remove qaccessible2 bic data.Frederik Gladhorn2013-03-131-201/+0
| | | | | | | | | | | | | | | Change-Id: I2666b04d34ba209ed92984bc2b1a9b30a4fa4b3d Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
* | | Make the QtSvg cmake module test independent of QtWidgets.Stephen Kelly2013-03-141-1/+1
| |/ |/| | | | | | | | | Change-Id: I28bd2d1ff6ac095701a88ffffdc9478c6fbb0585 Reviewed-by: Alexander Neundorf <neundorf@kde.org> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* | Use qmake for package dependency resolution in cmake tests.Stephen Kelly2013-02-262-2/+2
|/ | | | | | | This allows us to remove hardcoded depends information. Change-Id: I362c58cd27341932a7e8ad5e0bb96375249a3ea9 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Remove QPointerBase bic check.Stephen Kelly2013-02-131-5/+0
| | | | | | | QPointerBase is not public or exported and it is to be removed Change-Id: Ied86966abb0bb09cca314cdd099e2b93b5f82c05 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Doc: Fix module name formatSze Howe Koh2013-01-262-2/+2
| | | | | | | | Follow the conventions at http://qt-project.org/wiki/Spelling_Module_Names_in_Qt_Documentation Change-Id: Iec74520d922bf87241eca8e12698ed3fbff84367 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* tst_bic: Add linux-gcc-ia32 bic data for QtSvgSergio Ahumada2013-01-151-0/+17114
| | | | | Change-Id: If4b1dc9a7e401b726dd0b2459b730e1c3449d29b Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* make use of qtHaveModule()Oswald Buddenhagen2013-01-111-1/+1
| | | | | Change-Id: Idd8bca1e8e9bb183bc6725b9a9d6a220d609869d Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-106-6/+6
| | | | | | Change-Id: Icf9d15a0f1f38ab60f0dd8fc2bc6ac936dd7dc62 Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Fix crash when running in a QGuiApplicationAlbert Astals Cid2012-12-201-1/+1
| | | | | | | | | | | | A QGuiApplication has no style so crashes on a null pointer or asserts in qtbase Changed test to not depend on widgets so we get a QGuiApplication instead of a QApplication Change-Id: Ib4dcc8f8679d3e6b8c11f7ccd5b2539c9de0803b Reviewed-by: Richard J. Moore <rich@kde.org> Reviewed-by: David Faure (KDE) <faure@kde.org>
* make use of qt_headersclean.prfv5.0.0-rc2Oswald Buddenhagen2012-12-112-66/+2
| | | | | Change-Id: I09f4401d4265a7aa3127a90830f9c2cc190869e3 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* remove symbian vestigesOswald Buddenhagen2012-12-042-6/+4
| | | | | Change-Id: I0cb3dc45fea1fc5af376622a6bc90316f987126b Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* CMake: Remove obsolete test_modules testStephen Kelly2012-11-013-74/+0
| | | | | | | The generated module_includes test is a super-set of this test. Change-Id: Ifc4ab1faca4c7ee6eedca2b6a40accdda4df0a44 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* CMake: Test module includesStephen Kelly2012-10-291-0/+6
| | | | | Change-Id: I49a7e136df65bdfa3c62f72dd0a1cd502706bc48 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* tst_qsvggenerator: fixed failure after change to default QPenRohan McGovern2012-10-252-3/+3
| | | | | | | | | Default SVG output was affected by qtbase commit b213d5bfa3a8ed81077cd8eaf229764ff2f1b346. Update autotest to the new default. Change-Id: Ie44d47b8dda4405142e024ea9241f9a054596a10 Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-248-194/+194
| | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: Ie28eae89f2ad032f174ff840cc6a44d8dd511eed Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Remove the Qt 4 BIC data for QtSvg.Thiago Macieira2012-08-3014-201905/+0
| | | | | | | QtSvg from Qt 5 isn't binary compatible with Qt 4 anyway. Change-Id: I261ecf5e656c34ed6bfdd4a5bb12a7cd2d0c5c58 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* Set the Qt API level to compatibility mode in all tests.Thiago Macieira2012-08-017-1/+7
| | | | | | | | | | Qt 5.0 beta requires changing the default to the 5.0 API, disabling the deprecated code. However, tests should test (and often do) the compatibility API too, so turn it back on. Task-number: QTBUG-25053 Change-Id: I2ed837da653ddbb9e6c18e9a0d9116be7f320f02 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
* Test that the package configs for QtSvg work.Stephen Kelly2012-07-205-0/+90
| | | | | Change-Id: Iaf10eba06ef3d6cac5ec78a839278bbe8b3da10d Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Make qtsvg compile with -no-widgetsTasuku Suzuki2012-07-101-7/+8
| | | | | | | disable building all examples, almost all tests and a plugin Change-Id: I80f923dfe2c3cfa6e27b52db092a9770c3d9fbd4 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* fix location of svg file for shadow buildsOswald Buddenhagen2012-06-231-1/+1
| | | | | | Change-Id: I13809b3b1007d32b3114eae3776dbe7fb2693dc9 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* remove XFAILsOswald Buddenhagen2012-06-231-3/+0
| | | | | | | | tests appear to pass now Task-number: QTBUG-24139 Change-Id: I29b46950f6d628d51650901fd6621d5d0696be1b Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* Add gui-private to qtsvg testsGirish Ramakrishnan2012-06-225-5/+5
| | | | | | | | QWindowSystemInterface will be marked shortly as QPA API. Change-Id: I2615be9439b8f05a36abfdd1e6e9f40735f9a357 Reviewed-by: Robin Burchell <robin+qt@viroteck.net> Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* Add QIcon SVG specific tests to QtSVG module.Toby Tomkins2012-02-099-0/+369
| | | | | | | | | | | | | These tests used to reside in the qtbase module. As they rely on the presence of the QtSVG module to execute they are not run as part of the autotest suite. It makes more sense to place these autotest where they can provide meaningful feedback to commits. Task-number: QTBUG-24139 Task-number: QTBUG-22360 Change-Id: Ib7061598245673ac281e4b10cbe2243977264b6d Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* QtSvg: Fix compile.Friedemann Kleint2012-02-011-0/+1
| | | | | | | | | | - Rename of QIconEngineV2 to QIconEngine. - Fix test to run (add column). Change-Id: Iea25847ef7e239927cf5bf1c0ea60454a8d6a158 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
* Fixed compile of tst_headerscleanRohan McGovern2012-01-311-3/+1
| | | | | | | | | Remove contains(QT_CONFIG,svg) test; configure no longer defines this. If we are building this project, we already know QtSvg is enabled. Change-Id: I2fc66d87ad3a8f2af885c6f392c51d064a73a0e5 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
* Remove "All rights reserved" line from license headers.Jason McDonald2012-01-306-6/+6
| | | | | | | | | | | As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: I5f2eda9477944e22ec5f6dd07dcb53feaa9fc03b Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update obsolete contact address.Jason McDonald2012-01-236-6/+6
| | | | | | | | Replace Nokia contact email address with Qt Project website. Change-Id: Ia89ccb618e630103d60a6e2703e3fbedae0616a6 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update copyright year in license headers.Jason McDonald2012-01-056-6/+6
| | | | | | Change-Id: I2dda86020c6d4b3edf8461733b14a95b9e519afc Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Remove TESTED_CLASS/TESTED_FILES comments from tests.Jason McDonald2011-12-064-13/+0
| | | | | | | | | | These comments were mostly empty. Appropriate naming of tests and appropriate placement of tests within the directory tree provide more reliable indicators of what is being tested. Change-Id: I2f0142a7d1744f9b785c49c50d729723d544ff34 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Remove SkipMode parameter from QSKIP.Jason McDonald2011-11-091-2/+2
| | | | | | | | | | | The SkipMode parameter has been removed from the API in qtbase, so it must be in all calls to QSKIP. Task-number: QTBUG-21851, QTBUG-21652 Change-Id: Iaf72a95164e3464ebc6e974fd5969170def47605 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>