summaryrefslogtreecommitdiffstats
path: root/tests/auto/qmltest
Commit message (Collapse)AuthorAgeFilesLines
* Fix flaky autotestTomi Korpipaa2023-08-033-141/+120
| | | | | | | | | Pick-to: 6.6 Fixes: QTBUG-114852 Change-Id: I5056fc228ea1ca4f040a17e6508ee2700884a788 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Sami Varanka <sami.varanka@qt.io>
* Rename test targetsLuca Di Sera2023-04-241-2/+2
| | | | | | | | | | | | | | | The qtgraphs and qtdatavis3d modules currently expose the same exact test code. When both are available, as it is by default, currently, when passing by `init-repository`, they will define the same test targets, which will prevent the correct setup of a superbuild at configuration time. To avoid the name collision with qtgraphs, rename all test targets by appending a "_datavis" suffix. Change-Id: Ibe4a4393737efad3cbefe39305452ba5a70ad9de Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix invalid value handlingTomi Korpipaa2023-04-185-96/+120
| | | | | | | Pick-to: 6.5 Fixes: QTBUG-112773 Change-Id: I3b00587d27e88dd69b58efe3551abf8759df0020 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Scene3D device pixel ratio can be initialized only to actual ratioTomi Korpipaa2022-09-011-2/+2
| | | | | | | | Fixes: QTBUG-106080 Change-Id: Ie4ac32a9feadc8d8501b85d200b4146299217e89 Reviewed-by: Dilek Akcay Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-231-1/+1
| | | | | | | Task-number: QTBUG-105718 Change-Id: Id14ba04aaa0724ea734339b96437853065874e3a Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Add license headers to cmake filesLucie Gérard2022-08-031-0/+3
| | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: I829aeda2bda017b7d5bf39795b79dbaee143cb60 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* CMake: Don't use PUBLIC_LIBRARIES for tests and test helpersAlexandru Croitor2022-07-281-1/+1
| | | | | Change-Id: Ie8bd35a3aa6a56bfe4b3290b9c507a3ed9e61608 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-1328-784/+56
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I3b3112f5a36673b90fff0010f973d020886cf08d Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Make sure qml test data is packaged as test resourcesAssam Boudjelthia2022-05-191-0/+6
| | | | | | | | | | | | This will make sure the test data is packaged and available on device at runtime. Task-number: QTBUG-88846 Pick-to: 6.2 6.3 Change-Id: I9a62299243a784b5e3857ddd968a2abcdd3d6d54 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Rename the test to match the expected filenameTomi Korpipaa2022-04-261-5/+5
| | | | | | | | ...and pass argv+argc to qExec. Task-number: QTBUG-102735 Change-Id: If2ef09f39d13c29f73b9b199e50b72b0e91ffe75 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Fix a qt-testrunner.py QEMU failureTomi Korpipaa2022-04-251-4/+16
| | | | | | Fixes: QTBUG-102735 Change-Id: I7e4941ffe6bec251957e6d3fe96e69cc797625b3 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Revert "Blacklist: test cases blacklisted in qmltest:"Pasi Petäjäjärvi2022-04-011-70/+0
| | | | | | | | | | This reverts commit 0b493d875d0aa9733dc0838bcd18233437931ee3. Reason for revert: Fixed in aec6b0075863bff181d1d3dfdf1399264de01f67 Task-number: QTBUG-101513 Change-Id: Ibf9e867bb787014d60dee1461b9c167bd158c360 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* CI: Disable tst_qmltest on QNX QEMUPasi Petäjäjärvi2022-03-141-0/+8
| | | | | | | | | | QNX QEMU does not have support for hw acceleration thus missing createPlatformOpenGLContext, which is required for the QML applications to work. Pick-to: 6.2 6.3 Change-Id: Ic24f96e9cdc907ae16c1a50b0f0ddf75085d807e Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Blacklist: test cases blacklisted in qmltest:CI Insignificant Platforms Monitor Bot2022-03-071-0/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - tst_customvolume::compile on qnx - tst_touch::compile on qnx - tst_themecolor::compile on qnx - tst_colorgradient::compile on qnx - tst_proxy::compile on qnx - tst_heightproxy::compile on qnx - tst_customitem::compile on qnx - tst_scatterseries::compile on qnx - tst_surfaceseries::compile on qnx - tst_light::compile on qnx - tst_surface::compile on qnx - tst_value::compile on qnx - tst_customlabel::compile on qnx - tst_camera::compile on qnx - tst_barseries::compile on qnx - tst_category::compile on qnx - tst_basic::compile on qnx - tst_scene::compile on qnx - tst_bars::compile on qnx - tst_logvalue::compile on qnx - tst_theme::compile on qnx - tst_scatter::compile on qnx - tst_input::compile on qnx Pick-to: 6.2 Pick-to: 6.3 Task-number: QTBUG-101513 Change-Id: Ia08731ec898d02ad2196a3d21364850d9ac2dc49 Reviewed-by: CI Insignificant Platforms Monitor Bot <ci_insignificant_platforms_monitor_bot@qt.io>
* Fix API review findingTomi Korpipaa2022-02-101-5/+5
| | | | | | | | | | | Rename wireFrameColor to wireframeColor to be consistent with other usage of wirfeframe in QtDataVisualization. Pick-to: 6.3 Change-Id: I1ae6cd7372e46efa2a5d83856126d45355fcff60 Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Remove unused .qrc filesJoerg Bornemann2022-01-181-6/+0
| | | | | | | | Task-number: QTBUG-94446 Change-Id: I109795238dc1c19cf0b6e242aa186c8046f13404 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Add row colors for Bar3DSeriesSami Varanka2021-10-081-0/+23
| | | | | | | | | | | | | Added rowColors property for Bar3DSeries. The property can be used draw the individual rows in the series in different colors. Autotests and a manualtest for the property were added also. Fixes: QTBUG-96682 Change-Id: I5c4f778189d079206500a9289490792584eab2b9 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Add hasSeries method to Abstract3D graphSami Varanka2021-09-243-2/+22
| | | | | | | | | | | | | Added a hasSeries method to Abstract3Dgraph. The method can be used to check whether a series has already been added to the graph. In addition, modified cpp and qml autotests to test the added method. Fixes: QTBUG-96683 Change-Id: I91f70ca15b6c5fbaa7691cd17bbfc2ef460c3d37 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Add: Margin between series columns in Bars3DSami Varanka2021-08-244-10/+18
| | | | | | | | | | | | | | Added a new property to Bars3D. The property controls the margin between the columns of series. It can be used to show bars belonging to same column, but different series side by side. Also added autotest for qml and cpp. Fixes: QTBUG-69036 Change-Id: I3c353e9097a8be8cafc05f8f5120e4266baa4a5c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Add: surfaceseries wireframecolor revisionSami Varanka2021-08-201-1/+1
| | | | | | | | Added revisioning to surfaceseries wireframecolor. Fixes: QTBUG-95923 Change-Id: I7962418ea02185be907c38d8b7cf879f1ebd88be Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Add: Colorize surfaceseries wireframeSami Varanka2021-08-061-0/+5
| | | | | | | | | | | | | Added color property for surfaceseries wireframe. Modified surfaceseries cpptest and qmltest to test the added property. In addition, the documentation for the property was added. Modified qmlsurface example to use the new property. Fixes: QTBUG-64748 Change-Id: I18f56258cdba2b3270dce7c8313cbf17e499ff39 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* CMake: Disable usage of CMake API compatibility wrappersJoerg Bornemann2021-05-221-2/+2
| | | | | | | | | | Setting the QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS variable in the project ensures we ported away from old API calls. Task-number: QTBUG-86815 Change-Id: I657ce43f65def5a13ca14030215a8adc37690d20 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Remove qmake project filesJoerg Bornemann2021-04-301-35/+0
| | | | | | | Task-number: QTBUG-88742 Change-Id: I155ad8d2d37a37b71851d95028bd0a26e2d034a9 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Disable tst_qmltest on QEMUTomi Korpipaa2021-02-251-0/+4
| | | | | | | | | QEMU does not have support for createPlatformOpenGLContext, which is required for the QML applications to work. Task-number: QTBUG-91381 Change-Id: I1c61146f889a3ffad49157f3c17cff0bcd3a01c9 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Fix failing autotestsTomi Korpipaa2021-02-101-1/+6
| | | | | | | | | | | | | | QSG_RHI_BACKEND needs to be forced to opengl for the QML test like in any other QML application. Model/height proxy tests need a bit more time for the proxy data to stabilize, so extra QCoreApplication::processEvents() calls were added to handle that. Fixes: QTBUG-90710 Pick-to: 6.1 Change-Id: I594040e8d504d680ff1990147835a106cc53d922 Reviewed-by: Antti Määttä <antti.maatta@qt.io> Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
* Add CMake buildTuomo Pelkonen2021-01-271-0/+19
| | | | | | | Task-number: QTBUG-89299 Change-Id: I5becbf39605e566c3d32cb5e210d974df9de27da Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Merge remote-tracking branch 'origin/5.8' into devLiang Qi2016-12-121-9/+27
|\ | | | | | | | | | | | | | | Conflicts: tests/auto/cpptest/q3dscene/tst_scene.cpp tests/auto/qmltest/scene3d/tst_scene.qml Change-Id: I0aef5e7d8fe202e7f4c7565922938d1627ab8124
| * Fixed some autotestsv5.8.0-beta1Tomi Korpipää2016-09-272-15/+74
| | | | | | | | | | | | | | | | | | Some compare types seems to have worked incorrectly and/or differently in previous Qt versions. Made changes to autotests accordingly. Change-Id: Ia2c5da59ebec76718266a8009bbffe060ae32470 Task-number: QTBUG-55910 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* | Allow light position modification by userTomi Korpipää2016-11-181-5/+8
| | | | | | | | | | | | Change-Id: I7efd56754bae16990fd11081493da0a37698f76b Task-number: QTRD-1803 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* | Fixed inability to set subviewportsTomi Korpipää2016-11-142-8/+20
|/ | | | | | Change-Id: I7966292cca04fe990a2fa6a5b4233bf89e77c553 Task-number: QTRD-1807 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Copyright file update to GPLMiikka Heikkinen2016-01-1228-252/+476
| | | | | Change-Id: Ib264fe1f2cd1589e2ba1ef2dc7d8f3951e125708 Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
* Fix issues with COIN buildsMiikka Heikkinen2015-10-224-146/+321
| | | | | | | | | | | | -Fix miscellaneous compile errors -Move manual tests to manual folder and enable export of autotests -Added widgets requirement -Fixed autotests -Fixed renderer and controller synchronization in QML case -Treat fallback Mesa as ES2 similar to setting AA_UseSoftwareOpenGL Change-Id: If6619733725d079e339bef16262e5ea1450ab20f Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
* Update license headersMiikka Heikkinen2015-10-2028-308/+392
| | | | | Change-Id: I0581aefcf9dabc64b05eb8c97b5b92da1fb26299 Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
* Copyright header changesMika Salmela2015-04-1428-84/+84
| | | | | | | Copyright header changes for 5.5. Change-Id: I0361cfe1ebdb28955cb927700f14cf7b72694421 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Change copyright headers.Miikka Heikkinen2014-11-0728-196/+196
| | | | | | Change-Id: I453438fee92f18c983c1bef04c68b24a7ff72cf9 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
* Fixed Valgrind reported issues in cpp testsMiikka Heikkinen2014-11-061-27/+27
| | | | | Change-Id: I284832fc697e0ac6ef1ba1bb857892a10cbcd8fd Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Autotests ES2 fix Tomi Korpipää2014-10-233-18/+45
| | | | | | | | | Some properties have different default values, or cannot be changed at all on ES2. Change-Id: Ieb3951f5692a645eafab492819ce18de19134335 Change-Id: Ieb3951f5692a645eafab492819ce18de19134335 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Added invalid value tests for QML autotestsTomi Korpipää2014-10-179-0/+159
| | | | | | | | | Plus fixed a QML documentation bug, and added a missing inheritance to docs. Task-number: QTRD-3383 Change-Id: I1f7c56c49b829fee2cfd0731bbcc7e248a06a0c0 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Test for QML proxiesTomi Korpipää2014-10-165-6/+671
| | | | | | | | Also added missing default values to some docs. Task-number: QTRD-3368 Change-Id: I98940a80d6edfe60801c6b2606307b3ec3ab8c39 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Added tests for QML axes Tomi Korpipää2014-10-167-7/+260
| | | | | | | Task-number: QTRD-3368 Change-Id: Ie7be01bdbd0f63eccde39af86d1423d0af5df1b3 Change-Id: Ie7be01bdbd0f63eccde39af86d1423d0af5df1b3 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Added tests for QML inputTomi Korpipää2014-10-153-4/+170
| | | | | | | | Also updated missing inheritance to docs Task-number: QTRD-3368 Change-Id: I7b091009d7d89d601215bb4484b8eac7274bcf14 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Added test for QML scene typesTomi Korpipää2014-10-156-10/+223
| | | | | | | | | Also added missing version 1.2 properties to previously done tests. Task-number: QTRD-3368 Change-Id: Ifa5197cecc9bb95ca288a44ebcbd6fbcc0bf1e7d Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Added tests for QML custom items Tomi Korpipää2014-10-1515-1/+680
| | | | | | | | | | Also added skeleton for remaining QML tests and some inheritance updates to documentation. Task-number: QTRD-3368 Change-Id: I28cb52c4738953b7f281ce91a3764f849643d35a Change-Id: I28cb52c4738953b7f281ce91a3764f849643d35a Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* QML tests for themeTomi Korpipää2014-10-154-1/+401
| | | | | | Task-number: QTRD-3368 Change-Id: I1fa3de637dafcd601490155e29fb36008b1eafcf Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* QML series tests addedTomi Korpipää2014-10-144-1/+663
| | | | | | Task-number: QTRD-3368 Change-Id: I80ecdb1a9bcef6ed83d278d975d70f7794ff03c1 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Bars3D, Surface3D and Scatter3D tests Tomi Korpipää2014-10-146-1/+333
| | | | | | | | | | Task-number: QTRD-3368 + Removed erroneous property from docs Change-Id: I675e16b58e7b190b2b33d29029654039a60b5bfc Change-Id: I675e16b58e7b190b2b33d29029654039a60b5bfc Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Added initial CPP autotestsTomi Korpipää2014-10-101-27/+9
| | | | | | | | | Task-number: QTRD-3368 Just a skeleton with a very basic test set for now. Change-Id: I53309374a7d9cbfd06a4cdfbeb302f6649db9c4a Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Basic autotests for Bars3D, Scatter3D and Surface3DTomi Korpipää2014-10-103-18/+501
| | | | | Change-Id: I36b384d2bcb9d2db2464b3eaaaae2c76c3bb740c Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Added initial QML autotests Tomi Korpipää2014-10-105-0/+172
Just a skeleton for now. Change-Id: I27d577062e7e96880d843a87b71791f896bc2522 Change-Id: I27d577062e7e96880d843a87b71791f896bc2522 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>